diff --git a/src/libs/HuggingFace/Generated/HuggingFace.IModelsClient.GetModelsByNamespaceByRepoSafetensorsMetadataByPath.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.IModelsClient.GetModelsByNamespaceByRepoSafetensorsMetadataByPath.g.cs new file mode 100644 index 00000000..b36a0810 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.IModelsClient.GetModelsByNamespaceByRepoSafetensorsMetadataByPath.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace HuggingFace +{ + public partial interface IModelsClient + { + /// + /// Get safetensors metadata
+ /// Get the parsed headers of all the shards of a sharded safetensors model in a single request, instead of reading the index and then the header of every shard.
+ /// Only the `main` revision is served: the `ETag` is the commit sha of `main`, and requests with a matching `If-None-Match` get a 304. Returns 400 when the path isn't a `.safetensors.index.json` file and 422 when the files can't be parsed.
+ /// The response is brotli-compressed when the client accepts it, otherwise gzip-compressed or plain JSON. + ///
+ /// + /// + /// + /// Wildcard path parameter + /// + /// 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 GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsync( + string @namespace, + string repo, + string path, + global::HuggingFace.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get safetensors metadata
+ /// Get the parsed headers of all the shards of a sharded safetensors model in a single request, instead of reading the index and then the header of every shard.
+ /// Only the `main` revision is served: the `ETag` is the commit sha of `main`, and requests with a matching `If-None-Match` get a 304. Returns 400 when the path isn't a `.safetensors.index.json` file and 422 when the files can't be parsed.
+ /// The response is brotli-compressed when the client accepts it, otherwise gzip-compressed or plain JSON. + ///
+ /// + /// + /// + /// Wildcard path parameter + /// + /// 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> GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsResponseAsync( + string @namespace, + string repo, + string path, + global::HuggingFace.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageByInferenceSession.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageByInferenceSession.g.cs index 55fd7077..e8fbd6ab 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageByInferenceSession.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageByInferenceSession.g.cs @@ -13,7 +13,7 @@ public partial interface IOrgsClient /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -33,7 +33,7 @@ public partial interface IOrgsClient /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// 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/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageByResourceGroup.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageByResourceGroup.g.cs index acf0f9d8..77cb2624 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageByResourceGroup.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageByResourceGroup.g.cs @@ -13,7 +13,7 @@ public partial interface IOrgsClient /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.042Z + /// Default Value: 2026-10-15T09:38:55.296Z /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -33,7 +33,7 @@ public partial interface IOrgsClient /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.042Z + /// Default Value: 2026-10-15T09:38:55.296Z /// /// 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/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageInference.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageInference.g.cs index 542660c5..05041f25 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageInference.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.IOrgsClient.GetOrganizationsByNameBillingUsageInference.g.cs @@ -13,7 +13,7 @@ public partial interface IOrgsClient /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// /// Number of daily periods per page
@@ -38,7 +38,7 @@ public partial interface IOrgsClient /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// /// Number of daily periods per page
diff --git a/src/libs/HuggingFace/Generated/HuggingFace.IUsersClient.GetSettingsBillingUsageByInferenceSession.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.IUsersClient.GetSettingsBillingUsageByInferenceSession.g.cs index ef17fbab..734464b2 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.IUsersClient.GetSettingsBillingUsageByInferenceSession.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.IUsersClient.GetSettingsBillingUsageByInferenceSession.g.cs @@ -12,7 +12,7 @@ public partial interface IUsersClient /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -30,7 +30,7 @@ public partial interface IUsersClient /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// 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/HuggingFace/Generated/HuggingFace.JsonSerializerContext.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContext.g.cs index 493ceec9..42dd177e 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContext.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContext.g.cs @@ -159,6 +159,7 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::HuggingFace.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::HuggingFace.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter>()); options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter()); diff --git a/src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContextTypes.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContextTypes.g.cs index f3be8570..45884ce1 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContextTypes.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContextTypes.g.cs @@ -65,14751 +65,14767 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.Dictionary? Type8 { get; set; } + public object? Type8 { get; set; } /// /// /// - public object? Type9 { get; set; } + public global::System.Collections.Generic.IList? Type9 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10 { get; set; } + public global::HuggingFace.JobArch? Type10 { get; set; } /// /// /// - public global::HuggingFace.JobArch? Type11 { get; set; } + public global::HuggingFace.JobFlavor? Type11 { get; set; } /// /// /// - public global::HuggingFace.JobFlavor? Type12 { get; set; } + public global::HuggingFace.JobStatus? Type12 { get; set; } /// /// /// - public global::HuggingFace.JobStatus? Type13 { get; set; } + public global::HuggingFace.JobStatusStage? Type13 { get; set; } /// /// /// - public global::HuggingFace.JobStatusStage? Type14 { get; set; } + public global::HuggingFace.AnyOf? Type14 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type15 { get; set; } + public global::HuggingFace.JobStatusCancelReason? Type15 { get; set; } /// /// /// - public global::HuggingFace.JobStatusCancelReason? Type16 { get; set; } + public global::HuggingFace.JobCreatedBy? Type16 { get; set; } /// /// /// - public global::HuggingFace.JobCreatedBy? Type17 { get; set; } + public global::HuggingFace.JobDurations? Type17 { get; set; } /// /// /// - public global::HuggingFace.JobDurations? Type18 { get; set; } + public global::System.Collections.Generic.IList? Type18 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type19 { get; set; } + public global::HuggingFace.JobVolume? Type19 { get; set; } /// /// /// - public global::HuggingFace.JobVolume? Type20 { get; set; } + public bool? Type20 { get; set; } /// /// /// - public bool? Type21 { get; set; } + public global::HuggingFace.JobExpose? Type21 { get; set; } /// /// /// - public global::HuggingFace.JobExpose? Type22 { get; set; } + public global::System.Collections.Generic.IList? Type22 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type23 { get; set; } + public int? Type23 { get; set; } /// /// /// - public int? Type24 { get; set; } + public global::HuggingFace.JobNetwork? Type24 { get; set; } /// /// /// - public global::HuggingFace.JobNetwork? Type25 { get; set; } + public global::HuggingFace.DeleteNotificationsRequest? Type25 { get; set; } /// /// /// - public global::HuggingFace.DeleteNotificationsRequest? Type26 { get; set; } + public global::HuggingFace.CreateNotificationsMarkAsReadRequest? Type26 { get; set; } /// /// /// - public global::HuggingFace.CreateNotificationsMarkAsReadRequest? Type27 { get; set; } + public global::HuggingFace.CreateCredentialsRevokeRequest? Type27 { get; set; } /// /// /// - public global::HuggingFace.CreateCredentialsRevokeRequest? Type28 { get; set; } + public global::HuggingFace.PatchSettingsNotificationsRequest? Type28 { get; set; } /// /// /// - public global::HuggingFace.PatchSettingsNotificationsRequest? Type29 { get; set; } + public global::HuggingFace.PatchSettingsNotificationsRequestNotifications? Type29 { get; set; } /// /// /// - public global::HuggingFace.PatchSettingsNotificationsRequestNotifications? Type30 { get; set; } + public global::HuggingFace.PatchSettingsWatchRequest? Type30 { get; set; } /// /// /// - public global::HuggingFace.PatchSettingsWatchRequest? Type31 { get; set; } + public global::System.Collections.Generic.IList? Type31 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type32 { get; set; } + public global::HuggingFace.PatchSettingsWatchRequestDeleteItem? Type32 { get; set; } /// /// /// - public global::HuggingFace.PatchSettingsWatchRequestDeleteItem? Type33 { get; set; } + public global::HuggingFace.PatchSettingsWatchRequestDeleteItemType? Type33 { get; set; } /// /// /// - public global::HuggingFace.PatchSettingsWatchRequestDeleteItemType? Type34 { get; set; } + public global::System.Collections.Generic.IList? Type34 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type35 { get; set; } + public global::HuggingFace.PatchSettingsWatchRequestAddItem? Type35 { get; set; } /// /// /// - public global::HuggingFace.PatchSettingsWatchRequestAddItem? Type36 { get; set; } + public global::HuggingFace.PatchSettingsWatchRequestAddItemType? Type36 { get; set; } /// /// /// - public global::HuggingFace.PatchSettingsWatchRequestAddItemType? Type37 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequest? Type37 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequest? Type38 { get; set; } + public global::System.Collections.Generic.IList? Type38 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type39 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestWatchedItem? Type39 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestWatchedItem? Type40 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestWatchedItemType? Type40 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestWatchedItemType? Type41 { get; set; } + public global::HuggingFace.OneOf? Type41 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type42 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1? Type42 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1? Type43 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Flavor? Type43 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Flavor? Type44 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Arch? Type44 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Arch? Type45 { get; set; } + public global::System.Collections.Generic.IList? Type45 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type46 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Volume? Type46 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Volume? Type47 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1VolumeType? Type47 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1VolumeType? Type48 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Expose? Type48 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Expose? Type49 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Ssh? Type49 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Ssh? Type50 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Network? Type50 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Network? Type51 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2? Type51 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2? Type52 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Flavor? Type52 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Flavor? Type53 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Arch? Type53 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Arch? Type54 { get; set; } + public global::System.Collections.Generic.IList? Type54 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type55 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Volume? Type55 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Volume? Type56 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2VolumeType? Type56 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2VolumeType? Type57 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Expose? Type57 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Expose? Type58 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Ssh? Type58 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Ssh? Type59 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Network? Type59 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Network? Type60 { get; set; } + public global::System.Collections.Generic.IList? Type60 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type61 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestDomain? Type61 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestDomain? Type62 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequest2? Type62 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequest2? Type63 { get; set; } + public global::System.Collections.Generic.IList? Type63 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type64 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestWatchedItem2? Type64 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestWatchedItem2? Type65 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestWatchedItemType2? Type65 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestWatchedItemType2? Type66 { get; set; } + public global::HuggingFace.OneOf? Type66 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type67 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant12? Type67 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant12? Type68 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Flavor2? Type68 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Flavor2? Type69 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Arch2? Type69 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Arch2? Type70 { get; set; } + public global::System.Collections.Generic.IList? Type70 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type71 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Volume2? Type71 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Volume2? Type72 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1VolumeType2? Type72 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1VolumeType2? Type73 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Expose2? Type73 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Expose2? Type74 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Ssh2? Type74 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Ssh2? Type75 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Network2? Type75 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant1Network2? Type76 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant22? Type76 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant22? Type77 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Flavor2? Type77 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Flavor2? Type78 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Arch2? Type78 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Arch2? Type79 { get; set; } + public global::System.Collections.Generic.IList? Type79 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type80 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Volume2? Type80 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Volume2? Type81 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2VolumeType2? Type81 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2VolumeType2? Type82 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Expose2? Type82 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Expose2? Type83 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Ssh2? Type83 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Ssh2? Type84 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Network2? Type84 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestJobVariant2Network2? Type85 { get; set; } + public global::System.Collections.Generic.IList? Type85 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type86 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksRequestDomain2? Type86 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksRequestDomain2? Type87 { get; set; } + public global::HuggingFace.CreateSettingsPapersClaimRequest? Type87 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsPapersClaimRequest? Type88 { get; set; } + public global::System.Collections.Generic.Dictionary? Type88 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type89 { get; set; } + public global::HuggingFace.CreateSettingsInferenceProvidersRequest2? Type89 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsInferenceProvidersRequest2? Type90 { get; set; } + public global::HuggingFace.CreateSettingsInferenceProvidersApiKeyRequest? Type90 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsInferenceProvidersApiKeyRequest? Type91 { get; set; } + public global::HuggingFace.CreateSettingsInferenceProvidersApiKeyRequestProvider? Type91 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsInferenceProvidersApiKeyRequestProvider? Type92 { get; set; } + public global::HuggingFace.PutSettingsInferenceProvidersDefaultBillingEntityRequest? Type92 { get; set; } /// /// /// - public global::HuggingFace.PutSettingsInferenceProvidersDefaultBillingEntityRequest? Type93 { get; set; } + public global::HuggingFace.PutSettingsInferenceProvidersUsageLimitsRequest? Type93 { get; set; } /// /// /// - public global::HuggingFace.PutSettingsInferenceProvidersUsageLimitsRequest? Type94 { get; set; } + public global::HuggingFace.AnyOf? Type94 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type95 { get; set; } + public global::HuggingFace.PutOrganizationsSettingsSsoCredentialsRequestVariant1? Type95 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsSettingsSsoCredentialsRequestVariant1? Type96 { get; set; } + public global::HuggingFace.PutOrganizationsSettingsSsoCredentialsRequestVariant2? Type96 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsSettingsSsoCredentialsRequestVariant2? Type97 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsRequest? Type97 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsRequest? Type98 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsRequestSpendLimits? Type98 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsRequestSpendLimits? Type99 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequest? Type99 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequest? Type100 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequestAutoJoinVariant1? Type100 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequestAutoJoinVariant1? Type101 { get; set; } + public global::HuggingFace.AnyOf? Type101 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type102 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequestAutoJoinVariant1Role? Type102 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequestAutoJoinVariant1Role? Type103 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequestAutoJoinVariant1Scope? Type103 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequestAutoJoinVariant1Scope? Type104 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequestAutoJoinVariant2? Type104 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsRequestAutoJoinVariant2? Type105 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequest? Type105 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequest? Type106 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequestUserVariant1? Type106 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequestUserVariant1? Type107 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequestUserVariant1Role? Type107 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequestUserVariant1Role? Type108 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequestUserVariant2? Type108 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequestUserVariant2? Type109 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequestUserVariant2Role? Type109 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersRequestUserVariant2Role? Type110 { get; set; } + public global::HuggingFace.AnyOf? Type110 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type111 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersRequestVariant1? Type111 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersRequestVariant1? Type112 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersRequestVariant1Role? Type112 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersRequestVariant1Role? Type113 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersRequestVariant2? Type113 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersRequestVariant2? Type114 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsRequest? Type114 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsRequest? Type115 { get; set; } + public global::System.Collections.Generic.IList? Type115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type116 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsRequestUser? Type116 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsRequestUser? Type117 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsRequestUserRole? Type117 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsRequestUserRole? Type118 { get; set; } + public global::System.Collections.Generic.IList? Type118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type119 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsRequestAutoJoinVariant1? Type119 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsRequestAutoJoinVariant1? Type120 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsRequestAutoJoinVariant1Role? Type120 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsRequestAutoJoinVariant1Role? Type121 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsRequestAutoJoinVariant1Scope? Type121 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsRequestAutoJoinVariant1Scope? Type122 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsRequestAutoJoinVariant2? Type122 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsRequestAutoJoinVariant2? Type123 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequest? Type123 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequest? Type124 { get; set; } + public global::System.Collections.Generic.IList? Type124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type125 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequestBlockedContent? Type125 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequestBlockedContent? Type126 { get; set; } + public global::HuggingFace.AnyOf? Type126 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type127 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequestBlockedContentResource? Type127 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequestBlockedContentResource? Type128 { get; set; } + public global::System.Collections.Generic.IList? Type128 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type129 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequestAllowedContent? Type129 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequestAllowedContent? Type130 { get; set; } + public global::HuggingFace.AnyOf? Type130 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type131 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequestAllowedContentResource? Type131 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityRequestAllowedContentResource? Type132 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsRequest? Type132 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsRequest? Type133 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRequest? Type133 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRequest? Type134 { get; set; } + public global::System.Collections.Generic.IList? Type134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type135 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRequestPermission? Type135 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRequestPermission? Type136 { get; set; } + public global::System.Collections.Generic.IList? Type136 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type137 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRequestRepoPermission? Type137 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRequestRepoPermission? Type138 { get; set; } + public global::HuggingFace.PatchOrganizationsServiceAccountsTokensRequest? Type138 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsServiceAccountsTokensRequest? Type139 { get; set; } + public global::System.Collections.Generic.IList? Type139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type140 { get; set; } + public global::HuggingFace.PatchOrganizationsServiceAccountsTokensRequestPermission? Type140 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsServiceAccountsTokensRequestPermission? Type141 { get; set; } + public global::System.Collections.Generic.IList? Type141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type142 { get; set; } + public global::HuggingFace.PatchOrganizationsServiceAccountsTokensRequestRepoPermission? Type142 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsServiceAccountsTokensRequestRepoPermission? Type143 { get; set; } + public global::HuggingFace.PutOrganizationsMembersRoleRequest? Type143 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsMembersRoleRequest? Type144 { get; set; } + public global::HuggingFace.PutOrganizationsMembersRoleRequestRole? Type144 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsMembersRoleRequestRole? Type145 { get; set; } + public global::System.Collections.Generic.IList? Type145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type146 { get; set; } + public global::HuggingFace.PutOrganizationsMembersRoleRequestResourceGroup? Type146 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsMembersRoleRequestResourceGroup? Type147 { get; set; } + public global::HuggingFace.PutOrganizationsMembersRoleRequestResourceGroupRole? Type147 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsMembersRoleRequestResourceGroupRole? Type148 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersRequest? Type148 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersRequest? Type149 { get; set; } + public global::System.Collections.Generic.IList? Type149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type150 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersRequestEmail? Type150 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersRequestEmail? Type151 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersRequestName? Type151 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersRequestName? Type152 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersRequest? Type152 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersRequest? Type153 { get; set; } + public global::System.Collections.Generic.IList? Type153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type154 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersRequestOperation? Type154 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersRequestOperation? Type155 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersRequestOperationPath? Type155 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersRequestOperationPath? Type156 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersRequest? Type156 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersRequest? Type157 { get; set; } + public global::System.Collections.Generic.IList? Type157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type158 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersRequestEmail? Type158 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersRequestEmail? Type159 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersRequestName? Type159 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersRequestName? Type160 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2GroupsRequest? Type160 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2GroupsRequest? Type161 { get; set; } + public global::System.Collections.Generic.IList? Type161 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type162 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2GroupsRequestMember? Type162 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2GroupsRequestMember? Type163 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2GroupsRequest? Type163 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2GroupsRequest? Type164 { get; set; } + public global::System.Collections.Generic.IList? Type164 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type165 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2GroupsRequestMember? Type165 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2GroupsRequestMember? Type166 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsRequest? Type166 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsRequest? Type167 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsRequestOperationVariant1? Type167 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsRequestOperationVariant1? Type168 { get; set; } + public global::System.Collections.Generic.IList? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsRequestOperationVariant1ValueItem? Type169 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsRequestOperationVariant1ValueItem? Type170 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsRequestOperationVariant2? Type170 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsRequestOperationVariant2? Type171 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersRequest? Type171 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersRequest? Type172 { get; set; } + public global::System.Collections.Generic.IList? Type172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type173 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersRequestEmail? Type173 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersRequestEmail? Type174 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersRequest? Type174 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersRequest? Type175 { get; set; } + public global::System.Collections.Generic.IList? Type175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type176 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersRequestOperation? Type176 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersRequestOperation? Type177 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersRequestOperationPath? Type177 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersRequestOperationPath? Type178 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersRequest? Type178 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersRequest? Type179 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsRequest? Type179 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsRequest? Type180 { get; set; } + public global::System.Collections.Generic.IList? Type180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type181 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsRequestMember? Type181 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsRequestMember? Type182 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsRequest? Type182 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsRequest? Type183 { get; set; } + public global::System.Collections.Generic.IList? Type183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type184 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsRequestMember? Type184 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsRequestMember? Type185 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsRequest? Type185 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsRequest? Type186 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsRequestOperationVariant1? Type186 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsRequestOperationVariant1? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type188 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsRequestOperationVariant1ValueItem? Type188 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsRequestOperationVariant1ValueItem? Type189 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsRequestOperationVariant2? Type189 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsRequestOperationVariant2? Type190 { get; set; } + public global::HuggingFace.CreateOauthRegisterRequest? Type190 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthRegisterRequest? Type191 { get; set; } + public global::HuggingFace.CreateOauthRegisterRequestTokenEndpointAuthMethod? Type191 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthRegisterRequestTokenEndpointAuthMethod? Type192 { get; set; } + public global::HuggingFace.CreateOauthDeviceRequest? Type192 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthDeviceRequest? Type193 { get; set; } + public global::HuggingFace.CreateBlogCommentRequest? Type193 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentRequest? Type194 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyRequest? Type194 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyRequest? Type195 { get; set; } + public global::HuggingFace.CreateBlogCommentReactionRequest? Type195 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReactionRequest? Type196 { get; set; } + public global::HuggingFace.CreateBlogCommentReactionRequestReaction? Type196 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReactionRequestReaction? Type197 { get; set; } + public global::HuggingFace.CreateBlogCommentReactionRequestAction? Type197 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReactionRequestAction? Type198 { get; set; } + public global::HuggingFace.CreateBlogCommentHideRequest? Type198 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentHideRequest? Type199 { get; set; } + public global::HuggingFace.CreateBlogCommentHideRequestReason? Type199 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentHideRequestReason? Type200 { get; set; } + public global::HuggingFace.CreateBlogCommentEditRequest? Type200 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentEditRequest? Type201 { get; set; } + public global::HuggingFace.CreateBlogCommentRequest2? Type201 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentRequest2? Type202 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyRequest2? Type202 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyRequest2? Type203 { get; set; } + public global::HuggingFace.CreateBlogCommentReactionRequest2? Type203 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReactionRequest2? Type204 { get; set; } + public global::HuggingFace.CreateBlogCommentReactionRequestReaction2? Type204 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReactionRequestReaction2? Type205 { get; set; } + public global::HuggingFace.CreateBlogCommentReactionRequestAction2? Type205 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReactionRequestAction2? Type206 { get; set; } + public global::HuggingFace.CreateBlogCommentHideRequest2? Type206 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentHideRequest2? Type207 { get; set; } + public global::HuggingFace.CreateBlogCommentHideRequestReason2? Type207 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentHideRequestReason2? Type208 { get; set; } + public global::HuggingFace.CreateBlogCommentEditRequest2? Type208 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentEditRequest2? Type209 { get; set; } + public global::HuggingFace.CreateBlogResourceGroupRequest? Type209 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogResourceGroupRequest? Type210 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesBatchRequest? Type210 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesBatchRequest? Type211 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesBatchRequestDeletions? Type211 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesBatchRequestDeletions? Type212 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesBatchRequest? Type212 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesBatchRequest? Type213 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesBatchRequestDeletions? Type213 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesBatchRequestDeletions? Type214 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesBatchRequest? Type214 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesBatchRequest? Type215 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesBatchRequestDeletions? Type215 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesBatchRequestDeletions? Type216 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesDuplicateRequest? Type216 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesDuplicateRequest? Type217 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesDuplicateRequestTarget? Type217 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesDuplicateRequestTarget? Type218 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesDuplicateRequestTargetType? Type218 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesDuplicateRequestTargetType? Type219 { get; set; } + public global::System.Collections.Generic.IList? Type219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type220 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesDuplicateRequestFile? Type220 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesDuplicateRequestFile? Type221 { get; set; } + public global::HuggingFace.CreateKernelsLfsFilesDuplicateRequest? Type221 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsLfsFilesDuplicateRequest? Type222 { get; set; } + public global::HuggingFace.CreateKernelsLfsFilesDuplicateRequestTarget? Type222 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsLfsFilesDuplicateRequestTarget? Type223 { get; set; } + public global::HuggingFace.CreateKernelsLfsFilesDuplicateRequestTargetType? Type223 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsLfsFilesDuplicateRequestTargetType? Type224 { get; set; } + public global::System.Collections.Generic.IList? Type224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type225 { get; set; } + public global::HuggingFace.CreateKernelsLfsFilesDuplicateRequestFile? Type225 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsLfsFilesDuplicateRequestFile? Type226 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesDuplicateRequest? Type226 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesDuplicateRequest? Type227 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesDuplicateRequestTarget? Type227 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesDuplicateRequestTarget? Type228 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesDuplicateRequestTargetType? Type228 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesDuplicateRequestTargetType? Type229 { get; set; } + public global::System.Collections.Generic.IList? Type229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type230 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesDuplicateRequestFile? Type230 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesDuplicateRequestFile? Type231 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesDuplicateRequest? Type231 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesDuplicateRequest? Type232 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesDuplicateRequestTarget? Type232 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesDuplicateRequestTarget? Type233 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesDuplicateRequestTargetType? Type233 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesDuplicateRequestTargetType? Type234 { get; set; } + public global::System.Collections.Generic.IList? Type234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type235 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesDuplicateRequestFile? Type235 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesDuplicateRequestFile? Type236 { get; set; } + public global::HuggingFace.CreateBucketsLfsFilesDuplicateRequest? Type236 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsLfsFilesDuplicateRequest? Type237 { get; set; } + public global::HuggingFace.CreateBucketsLfsFilesDuplicateRequestTarget? Type237 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsLfsFilesDuplicateRequestTarget? Type238 { get; set; } + public global::HuggingFace.CreateBucketsLfsFilesDuplicateRequestTargetType? Type238 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsLfsFilesDuplicateRequestTargetType? Type239 { get; set; } + public global::System.Collections.Generic.IList? Type239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type240 { get; set; } + public global::HuggingFace.CreateBucketsLfsFilesDuplicateRequestFile? Type240 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsLfsFilesDuplicateRequestFile? Type241 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoRequest? Type241 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoRequest? Type242 { get; set; } + public global::HuggingFace.AnyOf, string>? Type242 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, string>? Type243 { get; set; } + public global::HuggingFace.AnyOf? Type243 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type244 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoRequest? Type244 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoRequest? Type245 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoRequest? Type245 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoRequest? Type246 { get; set; } + public global::HuggingFace.CreateModelsPreuploadRequest? Type246 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPreuploadRequest? Type247 { get; set; } + public global::System.Collections.Generic.IList? Type247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type248 { get; set; } + public global::HuggingFace.CreateModelsPreuploadRequestFile? Type248 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPreuploadRequestFile? Type249 { get; set; } + public global::HuggingFace.CreateSpacesPreuploadRequest? Type249 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPreuploadRequest? Type250 { get; set; } + public global::System.Collections.Generic.IList? Type250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type251 { get; set; } + public global::HuggingFace.CreateSpacesPreuploadRequestFile? Type251 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPreuploadRequestFile? Type252 { get; set; } + public global::HuggingFace.CreateDatasetsPreuploadRequest? Type252 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPreuploadRequest? Type253 { get; set; } + public global::System.Collections.Generic.IList? Type253 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type254 { get; set; } + public global::HuggingFace.CreateDatasetsPreuploadRequestFile? Type254 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPreuploadRequestFile? Type255 { get; set; } + public global::HuggingFace.CreateModelsTagRequest? Type255 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsTagRequest? Type256 { get; set; } + public global::HuggingFace.CreateSpacesTagRequest? Type256 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesTagRequest? Type257 { get; set; } + public global::HuggingFace.CreateDatasetsTagRequest? Type257 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsTagRequest? Type258 { get; set; } + public global::HuggingFace.CreateModelsBranchRequest? Type258 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsBranchRequest? Type259 { get; set; } + public global::HuggingFace.CreateSpacesBranchRequest? Type259 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesBranchRequest? Type260 { get; set; } + public global::HuggingFace.CreateDatasetsBranchRequest? Type260 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsBranchRequest? Type261 { get; set; } + public global::HuggingFace.CreateModelsResourceGroupRequest? Type261 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsResourceGroupRequest? Type262 { get; set; } + public global::HuggingFace.CreateSpacesResourceGroupRequest? Type262 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesResourceGroupRequest? Type263 { get; set; } + public global::HuggingFace.CreateDatasetsResourceGroupRequest? Type263 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsResourceGroupRequest? Type264 { get; set; } + public global::HuggingFace.CreateBucketsResourceGroupRequest? Type264 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsResourceGroupRequest? Type265 { get; set; } + public global::HuggingFace.CreateModelsSuperSquashRequest? Type265 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsSuperSquashRequest? Type266 { get; set; } + public global::HuggingFace.CreateDatasetsSuperSquashRequest? Type266 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsSuperSquashRequest? Type267 { get; set; } + public global::HuggingFace.CreateSpacesSuperSquashRequest? Type267 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesSuperSquashRequest? Type268 { get; set; } + public global::HuggingFace.PutModelsSettingsRequest? Type268 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsRequest? Type269 { get; set; } + public global::HuggingFace.PutModelsSettingsRequestVisibility? Type269 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsRequestVisibility? Type270 { get; set; } + public global::HuggingFace.PutModelsSettingsRequestDiscussionsSorting? Type270 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsRequestDiscussionsSorting? Type271 { get; set; } + public global::HuggingFace.AnyOf? Type271 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type272 { get; set; } + public global::HuggingFace.PutModelsSettingsRequestGated? Type272 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsRequestGated? Type273 { get; set; } + public global::HuggingFace.PutModelsSettingsRequestGatedNotificationsMode? Type273 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsRequestGatedNotificationsMode? Type274 { get; set; } + public global::HuggingFace.PutSpacesSettingsRequest? Type274 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsRequest? Type275 { get; set; } + public global::HuggingFace.PutSpacesSettingsRequestVisibility? Type275 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsRequestVisibility? Type276 { get; set; } + public global::HuggingFace.PutSpacesSettingsRequestDiscussionsSorting? Type276 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsRequestDiscussionsSorting? Type277 { get; set; } + public global::HuggingFace.AnyOf? Type277 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type278 { get; set; } + public global::HuggingFace.PutSpacesSettingsRequestGated? Type278 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsRequestGated? Type279 { get; set; } + public global::HuggingFace.PutSpacesSettingsRequestGatedNotificationsMode? Type279 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsRequestGatedNotificationsMode? Type280 { get; set; } + public global::HuggingFace.PutDatasetsSettingsRequest? Type280 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsRequest? Type281 { get; set; } + public global::HuggingFace.PutDatasetsSettingsRequestVisibility? Type281 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsRequestVisibility? Type282 { get; set; } + public global::HuggingFace.PutDatasetsSettingsRequestDiscussionsSorting? Type282 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsRequestDiscussionsSorting? Type283 { get; set; } + public global::HuggingFace.AnyOf? Type283 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type284 { get; set; } + public global::HuggingFace.PutDatasetsSettingsRequestGated? Type284 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsRequestGated? Type285 { get; set; } + public global::HuggingFace.PutDatasetsSettingsRequestGatedNotificationsMode? Type285 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsRequestGatedNotificationsMode? Type286 { get; set; } + public global::HuggingFace.CreateDiscussionsRequest? Type286 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsRequest? Type287 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentRequest? Type287 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentRequest? Type288 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusRequest? Type288 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusRequest? Type289 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusRequestStatus? Type289 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusRequestStatus? Type290 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleRequest? Type290 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleRequest? Type291 { get; set; } + public global::HuggingFace.CreateDiscussionsPinRequest? Type291 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsPinRequest? Type292 { get; set; } + public global::HuggingFace.CreateDiscussionsMergeRequest? Type292 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsMergeRequest? Type293 { get; set; } + public global::HuggingFace.CreateDiscussionsIgnoreRequest? Type293 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsIgnoreRequest? Type294 { get; set; } + public global::HuggingFace.CreateDiscussionsIgnoreRequestAction? Type294 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsIgnoreRequestAction? Type295 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentEditRequest? Type295 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentEditRequest? Type296 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentHideRequest? Type296 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentHideRequest? Type297 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentHideRequestReason? Type297 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentHideRequestReason? Type298 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentReactionRequest? Type298 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentReactionRequest? Type299 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentReactionRequestReaction? Type299 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentReactionRequestReaction? Type300 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentReactionRequestAction? Type300 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentReactionRequestAction? Type301 { get; set; } + public global::HuggingFace.CreateKernelsAccessRequestApproveRequest? Type301 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsAccessRequestApproveRequest? Type302 { get; set; } + public global::HuggingFace.CreateQuicksearchRequest? Type302 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRequest? Type303 { get; set; } + public global::HuggingFace.AnyOf? Type303 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type304 { get; set; } + public global::HuggingFace.CreateQuicksearchRequestLang? Type304 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRequestLang? Type305 { get; set; } + public global::HuggingFace.AnyOf? Type305 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type306 { get; set; } + public global::HuggingFace.CreateQuicksearchRequestLibrary? Type306 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRequestLibrary? Type307 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type307 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type308 { get; set; } + public global::System.Collections.Generic.IList? Type308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type309 { get; set; } + public global::HuggingFace.CreateQuicksearchRequestTypeVariant1Item? Type309 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRequestTypeVariant1Item? Type310 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type310 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type311 { get; set; } + public global::System.Collections.Generic.IList? Type311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type312 { get; set; } + public global::HuggingFace.CreateQuicksearchRequestOrgsFilterVariant1Item? Type312 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRequestOrgsFilterVariant1Item? Type313 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type313 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type314 { get; set; } + public global::System.Collections.Generic.IList? Type314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type315 { get; set; } + public global::HuggingFace.CreateQuicksearchRequestReposFilterVariant1Item? Type315 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRequestReposFilterVariant1Item? Type316 { get; set; } + public global::HuggingFace.AnyOf, global::HuggingFace.AnyOf>?>? Type316 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::HuggingFace.AnyOf>?>? Type317 { get; set; } + public global::System.Collections.Generic.IList? Type317 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type318 { get; set; } + public global::HuggingFace.CreateQuicksearchRequestPipelinesVariant1Item? Type318 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRequestPipelinesVariant1Item? Type319 { get; set; } + public global::HuggingFace.AnyOf>? Type319 { get; set; } /// /// /// - public global::HuggingFace.AnyOf>? Type320 { get; set; } + public global::HuggingFace.AnyOf? Type320 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type321 { get; set; } + public global::HuggingFace.CreateQuicksearchRequestRepoType? Type321 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRequestRepoType? Type322 { get; set; } + public global::HuggingFace.CreateSpacesSecretsRequest? Type322 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesSecretsRequest? Type323 { get; set; } + public global::HuggingFace.DeleteSpacesSecretsRequest? Type323 { get; set; } /// /// /// - public global::HuggingFace.DeleteSpacesSecretsRequest? Type324 { get; set; } + public global::HuggingFace.CreateSpacesVariablesRequest? Type324 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesVariablesRequest? Type325 { get; set; } + public global::HuggingFace.DeleteSpacesVariablesRequest? Type325 { get; set; } /// /// /// - public global::HuggingFace.DeleteSpacesVariablesRequest? Type326 { get; set; } + public global::HuggingFace.CreateDuplicateRequest? Type326 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateRequest? Type327 { get; set; } + public global::HuggingFace.CreateDuplicateRequestVisibility? Type327 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateRequestVisibility? Type328 { get; set; } + public global::HuggingFace.CreateDuplicateRequestHardware? Type328 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateRequestHardware? Type329 { get; set; } + public global::HuggingFace.AnyOf? Type329 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type330 { get; set; } + public global::System.Collections.Generic.IList? Type330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type331 { get; set; } + public global::HuggingFace.CreateDuplicateRequestSecret? Type331 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateRequestSecret? Type332 { get; set; } + public global::System.Collections.Generic.IList? Type332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type333 { get; set; } + public global::HuggingFace.CreateDuplicateRequestVariable? Type333 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateRequestVariable? Type334 { get; set; } + public global::System.Collections.Generic.IList? Type334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type335 { get; set; } + public global::HuggingFace.CreateDuplicateRequestVolume? Type335 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateRequestVolume? Type336 { get; set; } + public global::HuggingFace.CreateDuplicateRequestVolumeType? Type336 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateRequestVolumeType? Type337 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant1? Type337 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant1? Type338 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant1Region? Type338 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant1Region? Type339 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant1License? Type339 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant1License? Type340 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant1Visibility? Type340 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant1Visibility? Type341 { get; set; } + public global::System.Collections.Generic.IList? Type341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type342 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant1File? Type342 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant1File? Type343 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant1FileEncoding? Type343 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant1FileEncoding? Type344 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant2? Type344 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant2? Type345 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant2Region? Type345 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant2Region? Type346 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant2License? Type346 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant2License? Type347 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant2Visibility? Type347 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant2Visibility? Type348 { get; set; } + public global::System.Collections.Generic.IList? Type348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type349 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant2File? Type349 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant2File? Type350 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant2FileEncoding? Type350 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant2FileEncoding? Type351 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant3? Type351 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant3? Type352 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant3Region? Type352 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant3Region? Type353 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant3License? Type353 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant3License? Type354 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant3Visibility? Type354 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant3Visibility? Type355 { get; set; } + public global::System.Collections.Generic.IList? Type355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type356 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant3File? Type356 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant3File? Type357 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant3FileEncoding? Type357 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant3FileEncoding? Type358 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4? Type358 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4? Type359 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4Region? Type359 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4Region? Type360 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4License? Type360 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4License? Type361 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4Visibility? Type361 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4Visibility? Type362 { get; set; } + public global::System.Collections.Generic.IList? Type362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type363 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4File? Type363 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4File? Type364 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4FileEncoding? Type364 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4FileEncoding? Type365 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4Hardware? Type365 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4Hardware? Type366 { get; set; } + public global::System.Collections.Generic.IList? Type366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type367 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4Secret? Type367 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4Secret? Type368 { get; set; } + public global::System.Collections.Generic.IList? Type368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type369 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4Variable? Type369 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4Variable? Type370 { get; set; } + public global::System.Collections.Generic.IList? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type371 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4Volume? Type371 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4Volume? Type372 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4VolumeType? Type372 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4VolumeType? Type373 { get; set; } + public global::HuggingFace.CreateReposCreateRequestVariant4Sdk? Type373 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateRequestVariant4Sdk? Type374 { get; set; } + public global::HuggingFace.CreateReposMoveRequest? Type374 { get; set; } /// /// /// - public global::HuggingFace.CreateReposMoveRequest? Type375 { get; set; } + public global::HuggingFace.CreateReposMoveRequestType? Type375 { get; set; } /// /// /// - public global::HuggingFace.CreateReposMoveRequestType? Type376 { get; set; } + public global::HuggingFace.PatchSqlConsoleEmbedRequest? Type376 { get; set; } /// /// /// - public global::HuggingFace.PatchSqlConsoleEmbedRequest? Type377 { get; set; } + public global::HuggingFace.CreateSqlConsoleEmbedRequest? Type377 { get; set; } /// /// /// - public global::HuggingFace.CreateSqlConsoleEmbedRequest? Type378 { get; set; } + public global::System.Collections.Generic.IList? Type378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type379 { get; set; } + public global::HuggingFace.CreateSqlConsoleEmbedRequestView? Type379 { get; set; } /// /// /// - public global::HuggingFace.CreateSqlConsoleEmbedRequestView? Type380 { get; set; } + public global::HuggingFace.CreateModelsUserAccessRequestHandleRequest? Type380 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsUserAccessRequestHandleRequest? Type381 { get; set; } + public global::HuggingFace.CreateModelsUserAccessRequestHandleRequestStatus? Type381 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsUserAccessRequestHandleRequestStatus? Type382 { get; set; } + public global::HuggingFace.CreateDatasetsUserAccessRequestHandleRequest? Type382 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsUserAccessRequestHandleRequest? Type383 { get; set; } + public global::HuggingFace.CreateDatasetsUserAccessRequestHandleRequestStatus? Type383 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsUserAccessRequestHandleRequestStatus? Type384 { get; set; } + public global::HuggingFace.CreateModelsUserAccessRequestBatchRequest? Type384 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsUserAccessRequestBatchRequest? Type385 { get; set; } + public global::HuggingFace.CreateModelsUserAccessRequestBatchRequestStatus? Type385 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsUserAccessRequestBatchRequestStatus? Type386 { get; set; } + public global::System.Collections.Generic.IList? Type386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type387 { get; set; } + public global::HuggingFace.CreateModelsUserAccessRequestBatchRequestRequest? Type387 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsUserAccessRequestBatchRequestRequest? Type388 { get; set; } + public global::HuggingFace.CreateDatasetsUserAccessRequestBatchRequest? Type388 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsUserAccessRequestBatchRequest? Type389 { get; set; } + public global::HuggingFace.CreateDatasetsUserAccessRequestBatchRequestStatus? Type389 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsUserAccessRequestBatchRequestStatus? Type390 { get; set; } + public global::System.Collections.Generic.IList? Type390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type391 { get; set; } + public global::HuggingFace.CreateDatasetsUserAccessRequestBatchRequestRequest? Type391 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsUserAccessRequestBatchRequestRequest? Type392 { get; set; } + public global::HuggingFace.CreateModelsUserAccessRequestGrantRequest? Type392 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsUserAccessRequestGrantRequest? Type393 { get; set; } + public global::HuggingFace.CreateDatasetsUserAccessRequestGrantRequest? Type393 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsUserAccessRequestGrantRequest? Type394 { get; set; } + public global::HuggingFace.PutSpacesVolumesRequest? Type394 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesVolumesRequest? Type395 { get; set; } + public global::System.Collections.Generic.IList? Type395 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type396 { get; set; } + public global::HuggingFace.PutSpacesVolumesRequestVolume? Type396 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesVolumesRequestVolume? Type397 { get; set; } + public global::HuggingFace.PutSpacesVolumesRequestVolumeType? Type397 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesVolumesRequestVolumeType? Type398 { get; set; } + public global::HuggingFace.CreateSpacesHardwareRequest? Type398 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesHardwareRequest? Type399 { get; set; } + public global::HuggingFace.CreateSpacesHardwareRequestFlavor? Type399 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesHardwareRequestFlavor? Type400 { get; set; } + public global::HuggingFace.CreateSpacesSleeptimeRequest? Type400 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesSleeptimeRequest? Type401 { get; set; } + public global::HuggingFace.CreateSpacesDevModeRequest? Type401 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesDevModeRequest? Type402 { get; set; } + public global::HuggingFace.CreateSpacesCustomDomainRequest? Type402 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesCustomDomainRequest? Type403 { get; set; } + public global::HuggingFace.CreatePapersIndexRequest? Type403 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersIndexRequest? Type404 { get; set; } + public global::HuggingFace.CreatePapersCommentRequest? Type404 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentRequest? Type405 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyRequest? Type405 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyRequest? Type406 { get; set; } + public global::HuggingFace.CreatePapersCommentEditRequest? Type406 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentEditRequest? Type407 { get; set; } + public global::HuggingFace.CreatePapersCommentHideRequest? Type407 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentHideRequest? Type408 { get; set; } + public global::HuggingFace.CreatePapersCommentHideRequestReason? Type408 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentHideRequestReason? Type409 { get; set; } + public global::HuggingFace.CreatePapersCommentReactionRequest? Type409 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReactionRequest? Type410 { get; set; } + public global::HuggingFace.CreatePapersCommentReactionRequestReaction? Type410 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReactionRequestReaction? Type411 { get; set; } + public global::HuggingFace.CreatePapersCommentReactionRequestAction? Type411 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReactionRequestAction? Type412 { get; set; } + public global::HuggingFace.CreatePapersLinksRequest? Type412 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersLinksRequest? Type413 { get; set; } + public global::HuggingFace.CreatePostsCommentRequest? Type413 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentRequest? Type414 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyRequest? Type414 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyRequest? Type415 { get; set; } + public global::HuggingFace.CreatePostsCommentReactionRequest? Type415 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReactionRequest? Type416 { get; set; } + public global::HuggingFace.CreatePostsCommentReactionRequestReaction? Type416 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReactionRequestReaction? Type417 { get; set; } + public global::HuggingFace.CreatePostsCommentReactionRequestAction? Type417 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReactionRequestAction? Type418 { get; set; } + public global::HuggingFace.CreatePostsCommentHideRequest? Type418 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentHideRequest? Type419 { get; set; } + public global::HuggingFace.CreatePostsCommentHideRequestReason? Type419 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentHideRequestReason? Type420 { get; set; } + public global::HuggingFace.CreatePostsCommentEditRequest? Type420 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentEditRequest? Type421 { get; set; } + public global::HuggingFace.PatchCollectionsRequest? Type421 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequest? Type422 { get; set; } + public global::HuggingFace.PatchCollectionsRequestTheme? Type422 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestTheme? Type423 { get; set; } + public global::HuggingFace.AnyOf? Type423 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type424 { get; set; } + public global::HuggingFace.PatchCollectionsRequestGatingVariant2? Type424 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestGatingVariant2? Type425 { get; set; } + public global::HuggingFace.PatchCollectionsRequestGatingVariant3? Type425 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestGatingVariant3? Type426 { get; set; } + public global::HuggingFace.PatchCollectionsRequestGatingVariant3Notifications? Type426 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestGatingVariant3Notifications? Type427 { get; set; } + public global::HuggingFace.PatchCollectionsRequestGatingVariant3NotificationsMode? Type427 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestGatingVariant3NotificationsMode? Type428 { get; set; } + public global::HuggingFace.PatchCollectionsRequest2? Type428 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequest2? Type429 { get; set; } + public global::HuggingFace.PatchCollectionsRequestTheme2? Type429 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestTheme2? Type430 { get; set; } + public global::HuggingFace.AnyOf? Type430 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type431 { get; set; } + public global::HuggingFace.PatchCollectionsRequestGatingVariant22? Type431 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestGatingVariant22? Type432 { get; set; } + public global::HuggingFace.PatchCollectionsRequestGatingVariant32? Type432 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestGatingVariant32? Type433 { get; set; } + public global::HuggingFace.PatchCollectionsRequestGatingVariant3Notifications2? Type433 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestGatingVariant3Notifications2? Type434 { get; set; } + public global::HuggingFace.PatchCollectionsRequestGatingVariant3NotificationsMode2? Type434 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsRequestGatingVariant3NotificationsMode2? Type435 { get; set; } + public global::HuggingFace.CreateCollectionsItemsRequest? Type435 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsRequest? Type436 { get; set; } + public global::HuggingFace.CreateCollectionsItemsRequestItem? Type436 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsRequestItem? Type437 { get; set; } + public global::HuggingFace.CreateCollectionsItemsRequestItemType? Type437 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsRequestItemType? Type438 { get; set; } + public global::HuggingFace.CreateCollectionsItemsRequest2? Type438 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsRequest2? Type439 { get; set; } + public global::HuggingFace.CreateCollectionsItemsRequestItem2? Type439 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsRequestItem2? Type440 { get; set; } + public global::HuggingFace.CreateCollectionsItemsRequestItemType2? Type440 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsRequestItemType2? Type441 { get; set; } + public global::System.Collections.Generic.IList? Type441 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type442 { get; set; } + public global::HuggingFace.CreateCollectionsItemsBatchRequestItem? Type442 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsBatchRequestItem? Type443 { get; set; } + public global::HuggingFace.CreateCollectionsItemsBatchRequestItemAction? Type443 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsBatchRequestItemAction? Type444 { get; set; } + public global::HuggingFace.CreateCollectionsItemsBatchRequestItemData? Type444 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsBatchRequestItemData? Type445 { get; set; } + public global::System.Collections.Generic.IList? Type445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type446 { get; set; } + public global::HuggingFace.CreateCollectionsItemsBatchRequestItem2? Type446 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsBatchRequestItem2? Type447 { get; set; } + public global::HuggingFace.CreateCollectionsItemsBatchRequestItemAction2? Type447 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsBatchRequestItemAction2? Type448 { get; set; } + public global::HuggingFace.CreateCollectionsItemsBatchRequestItemData2? Type448 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsBatchRequestItemData2? Type449 { get; set; } + public global::HuggingFace.PatchCollectionsItemsRequest? Type449 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsItemsRequest? Type450 { get; set; } + public global::HuggingFace.PatchCollectionsItemsRequest2? Type450 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsItemsRequest2? Type451 { get; set; } + public global::HuggingFace.CreateCollectionsRequest? Type451 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsRequest? Type452 { get; set; } + public global::HuggingFace.CreateCollectionsRequestItem? Type452 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsRequestItem? Type453 { get; set; } + public global::HuggingFace.CreateCollectionsRequestItemType? Type453 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsRequestItemType? Type454 { get; set; } + public global::HuggingFace.CreateCollectionsResourceGroupRequest? Type454 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResourceGroupRequest? Type455 { get; set; } + public global::HuggingFace.CreateCollectionsResourceGroupRequest2? Type455 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResourceGroupRequest2? Type456 { get; set; } + public global::HuggingFace.CreateBucketsRequest? Type456 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsRequest? Type457 { get; set; } + public global::HuggingFace.CreateBucketsRequestVisibility? Type457 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsRequestVisibility? Type458 { get; set; } + public global::System.Collections.Generic.IList? Type458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type459 { get; set; } + public global::HuggingFace.CreateBucketsRequestCdnItem? Type459 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsRequestCdnItem? Type460 { get; set; } + public global::HuggingFace.CreateBucketsRequestCdnItemProvider? Type460 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsRequestCdnItemProvider? Type461 { get; set; } + public global::HuggingFace.CreateBucketsRequestCdnItemRegion? Type461 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsRequestCdnItemRegion? Type462 { get; set; } + public global::HuggingFace.CreateBucketsRequestRegion? Type462 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsRequestRegion? Type463 { get; set; } + public global::HuggingFace.CreateContainersRequest? Type463 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersRequest? Type464 { get; set; } + public global::HuggingFace.CreateContainersRequestVisibility? Type464 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersRequestVisibility? Type465 { get; set; } + public global::System.Collections.Generic.IList? Type465 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type466 { get; set; } + public global::HuggingFace.CreateContainersRequestCdnItem? Type466 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersRequestCdnItem? Type467 { get; set; } + public global::HuggingFace.CreateContainersRequestCdnItemProvider? Type467 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersRequestCdnItemProvider? Type468 { get; set; } + public global::HuggingFace.CreateContainersRequestCdnItemRegion? Type468 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersRequestCdnItemRegion? Type469 { get; set; } + public global::HuggingFace.CreateContainersRequestRegion? Type469 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersRequestRegion? Type470 { get; set; } + public global::HuggingFace.PutBucketsSettingsRequest? Type470 { get; set; } /// /// /// - public global::HuggingFace.PutBucketsSettingsRequest? Type471 { get; set; } + public global::System.Collections.Generic.IList? Type471 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type472 { get; set; } + public global::HuggingFace.PutBucketsSettingsRequestCdnRegion? Type472 { get; set; } /// /// /// - public global::HuggingFace.PutBucketsSettingsRequestCdnRegion? Type473 { get; set; } + public global::HuggingFace.PutBucketsSettingsRequestCdnRegionProvider? Type473 { get; set; } /// /// /// - public global::HuggingFace.PutBucketsSettingsRequestCdnRegionProvider? Type474 { get; set; } + public global::HuggingFace.PutBucketsSettingsRequestCdnRegionRegion? Type474 { get; set; } /// /// /// - public global::HuggingFace.PutBucketsSettingsRequestCdnRegionRegion? Type475 { get; set; } + public global::HuggingFace.PutContainersSettingsRequest? Type475 { get; set; } /// /// /// - public global::HuggingFace.PutContainersSettingsRequest? Type476 { get; set; } + public global::System.Collections.Generic.IList? Type476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type477 { get; set; } + public global::HuggingFace.PutContainersSettingsRequestCdnRegion? Type477 { get; set; } /// /// /// - public global::HuggingFace.PutContainersSettingsRequestCdnRegion? Type478 { get; set; } + public global::HuggingFace.PutContainersSettingsRequestCdnRegionProvider? Type478 { get; set; } /// /// /// - public global::HuggingFace.PutContainersSettingsRequestCdnRegionProvider? Type479 { get; set; } + public global::HuggingFace.PutContainersSettingsRequestCdnRegionRegion? Type479 { get; set; } /// /// /// - public global::HuggingFace.PutContainersSettingsRequestCdnRegionRegion? Type480 { get; set; } + public global::HuggingFace.CreateBucketsPathsInfoRequest? Type480 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsPathsInfoRequest? Type481 { get; set; } + public global::HuggingFace.CreateContainersPathsInfoRequest? Type481 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersPathsInfoRequest? Type482 { get; set; } + public global::HuggingFace.OneOf? Type482 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type483 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant1? Type483 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant1? Type484 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant1Flavor? Type484 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant1Flavor? Type485 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant1Arch? Type485 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant1Arch? Type486 { get; set; } + public global::System.Collections.Generic.IList? Type486 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type487 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant1Volume? Type487 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant1Volume? Type488 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant1VolumeType? Type488 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant1VolumeType? Type489 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant1Expose? Type489 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant1Expose? Type490 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant1Ssh? Type490 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant1Ssh? Type491 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant1Network? Type491 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant1Network? Type492 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant2? Type492 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant2? Type493 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant2Flavor? Type493 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant2Flavor? Type494 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant2Arch? Type494 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant2Arch? Type495 { get; set; } + public global::System.Collections.Generic.IList? Type495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type496 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant2Volume? Type496 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant2Volume? Type497 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant2VolumeType? Type497 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant2VolumeType? Type498 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant2Expose? Type498 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant2Expose? Type499 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant2Ssh? Type499 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant2Ssh? Type500 { get; set; } + public global::HuggingFace.CreateJobsRequestVariant2Network? Type500 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsRequestVariant2Network? Type501 { get; set; } + public global::HuggingFace.PutJobsLabelsRequest? Type501 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsRequest? Type502 { get; set; } + public global::HuggingFace.PutJobsExposeRequest? Type502 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeRequest? Type503 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequest? Type503 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequest? Type504 { get; set; } + public global::HuggingFace.OneOf? Type504 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type505 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1? Type505 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1? Type506 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Flavor? Type506 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Flavor? Type507 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Arch? Type507 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Arch? Type508 { get; set; } + public global::System.Collections.Generic.IList? Type508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type509 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Volume? Type509 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Volume? Type510 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1VolumeType? Type510 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1VolumeType? Type511 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Expose? Type511 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Expose? Type512 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Ssh? Type512 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Ssh? Type513 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Network? Type513 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant1Network? Type514 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2? Type514 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2? Type515 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Flavor? Type515 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Flavor? Type516 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Arch? Type516 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Arch? Type517 { get; set; } + public global::System.Collections.Generic.IList? Type517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type518 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Volume? Type518 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Volume? Type519 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2VolumeType? Type519 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2VolumeType? Type520 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Expose? Type520 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Expose? Type521 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Ssh? Type521 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Ssh? Type522 { get; set; } + public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Network? Type522 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRequestJobSpecVariant2Network? Type523 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleRequest? Type523 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleRequest? Type524 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsRequest? Type524 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsRequest? Type525 { get; set; } + public global::HuggingFace.AnyOf? Type525 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type526 { get; set; } + public global::HuggingFace.CreatePartnersModelsRequestVariant1? Type526 { get; set; } /// /// /// - public global::HuggingFace.CreatePartnersModelsRequestVariant1? Type527 { get; set; } + public global::HuggingFace.CreatePartnersModelsRequestVariant1Status? Type527 { get; set; } /// /// /// - public global::HuggingFace.CreatePartnersModelsRequestVariant1Status? Type528 { get; set; } + public global::HuggingFace.CreatePartnersModelsRequestVariant1Task? Type528 { get; set; } /// /// /// - public global::HuggingFace.CreatePartnersModelsRequestVariant1Task? Type529 { get; set; } + public global::HuggingFace.CreatePartnersModelsRequestVariant2? Type529 { get; set; } /// /// /// - public global::HuggingFace.CreatePartnersModelsRequestVariant2? Type530 { get; set; } + public global::HuggingFace.CreatePartnersModelsRequestVariant2Status? Type530 { get; set; } /// /// /// - public global::HuggingFace.CreatePartnersModelsRequestVariant2Status? Type531 { get; set; } + public global::HuggingFace.CreatePartnersModelsRequestVariant2Task? Type531 { get; set; } /// /// /// - public global::HuggingFace.CreatePartnersModelsRequestVariant2Task? Type532 { get; set; } + public global::HuggingFace.PutPartnersModelsStatusRequest? Type532 { get; set; } /// /// /// - public global::HuggingFace.PutPartnersModelsStatusRequest? Type533 { get; set; } + public global::HuggingFace.PutPartnersModelsStatusRequestStatus? Type533 { get; set; } /// /// /// - public global::HuggingFace.PutPartnersModelsStatusRequestStatus? Type534 { get; set; } + public global::HuggingFace.GetNotificationsReadStatus? Type534 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsReadStatus? Type535 { get; set; } + public global::HuggingFace.GetNotificationsRepoType? Type535 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsRepoType? Type536 { get; set; } + public global::HuggingFace.GetNotificationsMention? Type536 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsMention? Type537 { get; set; } + public global::HuggingFace.DeleteNotificationsReadStatus? Type537 { get; set; } /// /// /// - public global::HuggingFace.DeleteNotificationsReadStatus? Type538 { get; set; } + public global::HuggingFace.DeleteNotificationsRepoType? Type538 { get; set; } /// /// /// - public global::HuggingFace.DeleteNotificationsRepoType? Type539 { get; set; } + public global::HuggingFace.DeleteNotificationsMention? Type539 { get; set; } /// /// /// - public global::HuggingFace.DeleteNotificationsMention? Type540 { get; set; } + public global::HuggingFace.CreateNotificationsMarkAsReadReadStatus? Type540 { get; set; } /// /// /// - public global::HuggingFace.CreateNotificationsMarkAsReadReadStatus? Type541 { get; set; } + public global::HuggingFace.CreateNotificationsMarkAsReadRepoType? Type541 { get; set; } /// /// /// - public global::HuggingFace.CreateNotificationsMarkAsReadRepoType? Type542 { get; set; } + public global::HuggingFace.CreateNotificationsMarkAsReadMention? Type542 { get; set; } /// /// /// - public global::HuggingFace.CreateNotificationsMarkAsReadMention? Type543 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksAction? Type543 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksAction? Type544 { get; set; } + public global::HuggingFace.GetSettingsRepositoriesType? Type544 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsRepositoriesType? Type545 { get; set; } + public global::HuggingFace.GetSettingsRepositoriesSort? Type545 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsRepositoriesSort? Type546 { get; set; } + public global::HuggingFace.GetSettingsRepositoriesDirection? Type546 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsRepositoriesDirection? Type547 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsRepositoriesType? Type547 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsRepositoriesType? Type548 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsRepositoriesSort? Type548 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsRepositoriesSort? Type549 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsRepositoriesDirection? Type549 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsRepositoriesDirection? Type550 { get; set; } + public global::HuggingFace.GetBlogZhCommunitySort? Type550 { get; set; } /// /// /// - public global::HuggingFace.GetBlogZhCommunitySort? Type551 { get; set; } + public global::HuggingFace.GetDocsSearchProduct? Type551 { get; set; } /// /// /// - public global::HuggingFace.GetDocsSearchProduct? Type552 { get; set; } + public global::System.Collections.Generic.IList? Type552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type553 { get; set; } + public global::HuggingFace.GetUsersFollowersExpandItem? Type553 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowersExpandItem? Type554 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckPerms? Type554 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckPerms? Type555 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckPerms2? Type555 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckPerms2? Type556 { get; set; } + public global::HuggingFace.CreateJobsAuthCheckPerms? Type556 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsAuthCheckPerms? Type557 { get; set; } + public global::HuggingFace.CreateJobsAuthCheckPerms2? Type557 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsAuthCheckPerms2? Type558 { get; set; } + public global::System.Collections.Generic.IList? Type558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type559 { get; set; } + public global::HuggingFace.GetModelsLikersExpandItem? Type559 { get; set; } /// /// /// - public global::HuggingFace.GetModelsLikersExpandItem? Type560 { get; set; } + public global::System.Collections.Generic.IList? Type560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type561 { get; set; } + public global::HuggingFace.GetDatasetsLikersExpandItem? Type561 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLikersExpandItem? Type562 { get; set; } + public global::System.Collections.Generic.IList? Type562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type563 { get; set; } + public global::HuggingFace.GetSpacesLikersExpandItem? Type563 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLikersExpandItem? Type564 { get; set; } + public global::System.Collections.Generic.IList? Type564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type565 { get; set; } + public global::HuggingFace.GetKernelsLikersExpandItem? Type565 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsLikersExpandItem? Type566 { get; set; } + public byte[]? Type566 { get; set; } /// /// /// - public byte[]? Type567 { get; set; } + public global::HuggingFace.GetModelsLfsFilesDirection? Type567 { get; set; } /// /// /// - public global::HuggingFace.GetModelsLfsFilesDirection? Type568 { get; set; } + public global::HuggingFace.GetModelsLfsFilesSort? Type568 { get; set; } /// /// /// - public global::HuggingFace.GetModelsLfsFilesSort? Type569 { get; set; } + public global::HuggingFace.GetDatasetsLfsFilesDirection? Type569 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLfsFilesDirection? Type570 { get; set; } + public global::HuggingFace.GetDatasetsLfsFilesSort? Type570 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLfsFilesSort? Type571 { get; set; } + public global::HuggingFace.GetSpacesLfsFilesDirection? Type571 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLfsFilesDirection? Type572 { get; set; } + public global::HuggingFace.GetSpacesLfsFilesSort? Type572 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLfsFilesSort? Type573 { get; set; } + public global::System.Collections.Generic.IList? Type573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type574 { get; set; } + public global::HuggingFace.GetModelsCommitsExpandItem? Type574 { get; set; } /// /// /// - public global::HuggingFace.GetModelsCommitsExpandItem? Type575 { get; set; } + public global::System.Collections.Generic.IList? Type575 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type576 { get; set; } + public global::HuggingFace.GetSpacesCommitsExpandItem? Type576 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesCommitsExpandItem? Type577 { get; set; } + public global::System.Collections.Generic.IList? Type577 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type578 { get; set; } + public global::HuggingFace.GetDatasetsCommitsExpandItem? Type578 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsCommitsExpandItem? Type579 { get; set; } + public global::HuggingFace.CreateModelsCommitContentType? Type579 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsCommitContentType? Type580 { get; set; } + public global::HuggingFace.CreateDatasetsCommitContentType? Type580 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsCommitContentType? Type581 { get; set; } + public global::HuggingFace.CreateSpacesCommitContentType? Type581 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesCommitContentType? Type582 { get; set; } + public global::HuggingFace.GetDiscussionsRepoType? Type582 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsRepoType? Type583 { get; set; } + public global::HuggingFace.GetDiscussionsType? Type583 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsType? Type584 { get; set; } + public global::HuggingFace.GetDiscussionsStatus? Type584 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsStatus? Type585 { get; set; } + public global::HuggingFace.GetDiscussionsSort? Type585 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsSort? Type586 { get; set; } + public global::HuggingFace.CreateDiscussionsRepoType? Type586 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsRepoType? Type587 { get; set; } + public global::HuggingFace.GetDiscussionsRepoType2? Type587 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsRepoType2? Type588 { get; set; } + public global::HuggingFace.DeleteDiscussionsRepoType? Type588 { get; set; } /// /// /// - public global::HuggingFace.DeleteDiscussionsRepoType? Type589 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentRepoType? Type589 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentRepoType? Type590 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusRepoType? Type590 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusRepoType? Type591 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleRepoType? Type591 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleRepoType? Type592 { get; set; } + public global::HuggingFace.CreateDiscussionsPinRepoType? Type592 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsPinRepoType? Type593 { get; set; } + public global::HuggingFace.CreateDiscussionsMergeRepoType? Type593 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsMergeRepoType? Type594 { get; set; } + public global::HuggingFace.DeleteDiscussionsRefRepoType? Type594 { get; set; } /// /// /// - public global::HuggingFace.DeleteDiscussionsRefRepoType? Type595 { get; set; } + public global::HuggingFace.GetDiscussionsStorageRepoType? Type595 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsStorageRepoType? Type596 { get; set; } + public global::HuggingFace.CreateDiscussionsIgnoreRepoType? Type596 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsIgnoreRepoType? Type597 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentEditRepoType? Type597 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentEditRepoType? Type598 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentHideRepoType? Type598 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentHideRepoType? Type599 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentReactionRepoType? Type599 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentReactionRepoType? Type600 { get; set; } + public global::HuggingFace.GetKernelsSort? Type600 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsSort? Type601 { get; set; } + public global::HuggingFace.GetKernelsDirection? Type601 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsDirection? Type602 { get; set; } + public global::HuggingFace.AnyOf>? Type602 { get; set; } /// /// /// - public global::HuggingFace.AnyOf>? Type603 { get; set; } + public global::HuggingFace.GetKernelsExpand2? Type603 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsExpand2? Type604 { get; set; } + public global::System.Collections.Generic.IList? Type604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type605 { get; set; } + public global::HuggingFace.GetKernelsExpandItem? Type605 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsExpandItem? Type606 { get; set; } + public global::HuggingFace.GetModelsTagsByTypeType? Type606 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTagsByTypeType? Type607 { get; set; } + public global::HuggingFace.GetDatasetsTagsByTypeType? Type607 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTagsByTypeType? Type608 { get; set; } + public global::HuggingFace.GetTrendingType? Type608 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingType? Type609 { get; set; } + public global::HuggingFace.AnyOf? Type609 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type610 { get; set; } + public global::HuggingFace.GetQuicksearchLang2? Type610 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchLang2? Type611 { get; set; } + public global::HuggingFace.AnyOf? Type611 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type612 { get; set; } + public global::HuggingFace.GetQuicksearchLibrary2? Type612 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchLibrary2? Type613 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type613 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type614 { get; set; } + public global::System.Collections.Generic.IList? Type614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type615 { get; set; } + public global::HuggingFace.GetQuicksearchTypeVariant1Item? Type615 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchTypeVariant1Item? Type616 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type616 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type617 { get; set; } + public global::System.Collections.Generic.IList? Type617 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type618 { get; set; } + public global::HuggingFace.GetQuicksearchOrgsFilterVariant1Item? Type618 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchOrgsFilterVariant1Item? Type619 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type619 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type620 { get; set; } + public global::System.Collections.Generic.IList? Type620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type621 { get; set; } + public global::HuggingFace.GetQuicksearchReposFilterVariant1Item? Type621 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchReposFilterVariant1Item? Type622 { get; set; } + public global::HuggingFace.AnyOf, global::HuggingFace.AnyOf>?>? Type622 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::HuggingFace.AnyOf>?>? Type623 { get; set; } + public global::System.Collections.Generic.IList? Type623 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type624 { get; set; } + public global::HuggingFace.GetQuicksearchPipelinesVariant1Item? Type624 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchPipelinesVariant1Item? Type625 { get; set; } + public global::HuggingFace.AnyOf? Type625 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type626 { get; set; } + public global::HuggingFace.GetQuicksearchRepoType2? Type626 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchRepoType2? Type627 { get; set; } + public global::HuggingFace.AnyOf? Type627 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type628 { get; set; } + public global::HuggingFace.CreateQuicksearchLang2? Type628 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchLang2? Type629 { get; set; } + public global::HuggingFace.AnyOf? Type629 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type630 { get; set; } + public global::HuggingFace.CreateQuicksearchLibrary2? Type630 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchLibrary2? Type631 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type631 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type632 { get; set; } + public global::System.Collections.Generic.IList? Type632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type633 { get; set; } + public global::HuggingFace.CreateQuicksearchTypeVariant1Item? Type633 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchTypeVariant1Item? Type634 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type634 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type635 { get; set; } + public global::System.Collections.Generic.IList? Type635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type636 { get; set; } + public global::HuggingFace.CreateQuicksearchOrgsFilterVariant1Item? Type636 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchOrgsFilterVariant1Item? Type637 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type637 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type638 { get; set; } + public global::System.Collections.Generic.IList? Type638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type639 { get; set; } + public global::HuggingFace.CreateQuicksearchReposFilterVariant1Item? Type639 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchReposFilterVariant1Item? Type640 { get; set; } + public global::HuggingFace.AnyOf, global::HuggingFace.AnyOf>?>? Type640 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::HuggingFace.AnyOf>?>? Type641 { get; set; } + public global::System.Collections.Generic.IList? Type641 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type642 { get; set; } + public global::HuggingFace.CreateQuicksearchPipelinesVariant1Item? Type642 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchPipelinesVariant1Item? Type643 { get; set; } + public global::HuggingFace.AnyOf? Type643 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type644 { get; set; } + public global::HuggingFace.CreateQuicksearchRepoType2? Type644 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchRepoType2? Type645 { get; set; } + public global::HuggingFace.AnyOf>? Type645 { get; set; } /// /// /// - public global::HuggingFace.AnyOf>? Type646 { get; set; } + public global::HuggingFace.GetSearchFullTextType2? Type646 { get; set; } /// /// /// - public global::HuggingFace.GetSearchFullTextType2? Type647 { get; set; } + public global::System.Collections.Generic.IList? Type647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type648 { get; set; } + public global::HuggingFace.GetSearchFullTextTypeItem? Type648 { get; set; } /// /// /// - public global::HuggingFace.GetSearchFullTextTypeItem? Type649 { get; set; } + public global::HuggingFace.CreateDuplicateRepoType? Type649 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateRepoType? Type650 { get; set; } + public global::HuggingFace.GetDuplicateStatusRepoType? Type650 { get; set; } /// /// /// - public global::HuggingFace.GetDuplicateStatusRepoType? Type651 { get; set; } + public global::HuggingFace.PatchSqlConsoleEmbedRepoType? Type651 { get; set; } /// /// /// - public global::HuggingFace.PatchSqlConsoleEmbedRepoType? Type652 { get; set; } + public global::HuggingFace.DeleteSqlConsoleEmbedRepoType? Type652 { get; set; } /// /// /// - public global::HuggingFace.DeleteSqlConsoleEmbedRepoType? Type653 { get; set; } + public global::HuggingFace.CreateSqlConsoleEmbedHideRepoType? Type653 { get; set; } /// /// /// - public global::HuggingFace.CreateSqlConsoleEmbedHideRepoType? Type654 { get; set; } + public global::HuggingFace.CreateSqlConsoleEmbedRepoType? Type654 { get; set; } /// /// /// - public global::HuggingFace.CreateSqlConsoleEmbedRepoType? Type655 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestStatus? Type655 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestStatus? Type656 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestStatus? Type656 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestStatus? Type657 { get; set; } + public global::HuggingFace.GetSpacesLogsLogType? Type657 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLogsLogType? Type658 { get; set; } + public global::HuggingFace.GetSpacesSemanticSearchCategory? Type658 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesSemanticSearchCategory? Type659 { get; set; } + public global::System.Collections.Generic.IList? Type659 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type660 { get; set; } + public global::HuggingFace.GetSpacesSemanticSearchSdkItem? Type660 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesSemanticSearchSdkItem? Type661 { get; set; } + public global::HuggingFace.GetDailyPapersSort? Type661 { get; set; } /// /// /// - public global::HuggingFace.GetDailyPapersSort? Type662 { get; set; } + public global::HuggingFace.AnyOf>? Type662 { get; set; } /// /// /// - public global::HuggingFace.AnyOf>? Type663 { get; set; } + public global::HuggingFace.GetPapersField2? Type663 { get; set; } /// /// /// - public global::HuggingFace.GetPapersField2? Type664 { get; set; } + public global::System.Collections.Generic.IList? Type664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type665 { get; set; } + public global::HuggingFace.GetPapersFieldItem? Type665 { get; set; } /// /// /// - public global::HuggingFace.GetPapersFieldItem? Type666 { get; set; } + public global::HuggingFace.AnyOf, string, global::System.Collections.Generic.Dictionary>? Type666 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, string, global::System.Collections.Generic.Dictionary>? Type667 { get; set; } + public global::HuggingFace.GetCollectionsSort? Type667 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsSort? Type668 { get; set; } + public global::HuggingFace.GetBucketsTreeSort? Type668 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsTreeSort? Type669 { get; set; } + public global::HuggingFace.GetBucketsTreeDirection? Type669 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsTreeDirection? Type670 { get; set; } + public global::HuggingFace.GetContainersTreeSort? Type670 { get; set; } /// /// /// - public global::HuggingFace.GetContainersTreeSort? Type671 { get; set; } + public global::HuggingFace.GetContainersTreeDirection? Type671 { get; set; } /// /// /// - public global::HuggingFace.GetContainersTreeDirection? Type672 { get; set; } + public global::HuggingFace.AnyOf>? Type672 { get; set; } /// /// /// - public global::HuggingFace.AnyOf>? Type673 { get; set; } + public global::HuggingFace.GetJobsStage2? Type673 { get; set; } /// /// /// - public global::HuggingFace.GetJobsStage2? Type674 { get; set; } + public global::System.Collections.Generic.IList? Type674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type675 { get; set; } + public global::HuggingFace.GetJobsStageItem? Type675 { get; set; } /// /// /// - public global::HuggingFace.GetJobsStageItem? Type676 { get; set; } + public global::HuggingFace.AnyOf>? Type676 { get; set; } /// /// /// - public global::HuggingFace.AnyOf>? Type677 { get; set; } + public global::HuggingFace.GetJobsCountStage2? Type677 { get; set; } /// /// /// - public global::HuggingFace.GetJobsCountStage2? Type678 { get; set; } + public global::System.Collections.Generic.IList? Type678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type679 { get; set; } + public global::HuggingFace.GetJobsCountStageItem? Type679 { get; set; } /// /// /// - public global::HuggingFace.GetJobsCountStageItem? Type680 { get; set; } + public global::HuggingFace.GetPartnersModelsProvider? Type680 { get; set; } /// /// /// - public global::HuggingFace.GetPartnersModelsProvider? Type681 { get; set; } + public global::HuggingFace.GetPartnersModelsStatus? Type681 { get; set; } /// /// /// - public global::HuggingFace.GetPartnersModelsStatus? Type682 { get; set; } + public global::HuggingFace.CreatePartnersModelsProvider? Type682 { get; set; } /// /// /// - public global::HuggingFace.CreatePartnersModelsProvider? Type683 { get; set; } + public global::HuggingFace.PutPartnersModelsStatusProvider? Type683 { get; set; } /// /// /// - public global::HuggingFace.PutPartnersModelsStatusProvider? Type684 { get; set; } + public global::HuggingFace.GetNotificationsResponse? Type684 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponse? Type685 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant1? Type685 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant1? Type686 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant1Paper? Type686 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant1Paper? Type687 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant1PaperDiscussion? Type687 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant1PaperDiscussion? Type688 { get; set; } + public global::System.Collections.Generic.IList? Type688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type689 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant1PaperDiscussionParticipatingItem? Type689 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant1PaperDiscussionParticipatingItem? Type690 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant2? Type690 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant2? Type691 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant2Discussion? Type691 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant2Discussion? Type692 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant2DiscussionStatus? Type692 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant2DiscussionStatus? Type693 { get; set; } + public global::System.Collections.Generic.IList? Type693 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type694 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant2DiscussionParticipatingItem? Type694 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant2DiscussionParticipatingItem? Type695 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant3? Type695 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant3? Type696 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant3Post? Type696 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant3Post? Type697 { get; set; } + public global::System.Collections.Generic.IList? Type697 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type698 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant3PostParticipatingItem? Type698 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant3PostParticipatingItem? Type699 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant4? Type699 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant4? Type700 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant4Blog? Type700 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant4Blog? Type701 { get; set; } + public global::System.Collections.Generic.IList? Type701 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type702 { get; set; } + public global::HuggingFace.GetNotificationsResponseNotificationVariant4BlogParticipatingItem? Type702 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseNotificationVariant4BlogParticipatingItem? Type703 { get; set; } + public global::HuggingFace.GetNotificationsResponseCount? Type703 { get; set; } /// /// /// - public global::HuggingFace.GetNotificationsResponseCount? Type704 { get; set; } + public global::HuggingFace.GetSettingsMcpResponse? Type704 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsMcpResponse? Type705 { get; set; } + public global::System.Collections.Generic.IList? Type705 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type706 { get; set; } + public global::HuggingFace.GetSettingsMcpResponseSpaceTool? Type706 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsMcpResponseSpaceTool? Type707 { get; set; } + public global::System.Collections.Generic.IList? Type707 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type708 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseItem? Type708 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseItem? Type709 { get; set; } + public global::HuggingFace.OneOf? Type709 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type710 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseItemJobVariant1? Type710 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseItemJobVariant1? Type711 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseItemJobVariant1Flavor? Type711 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseItemJobVariant1Flavor? Type712 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseItemJobVariant2? Type712 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseItemJobVariant2? Type713 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseItemJobVariant2Flavor? Type713 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseItemJobVariant2Flavor? Type714 { get; set; } + public global::System.Collections.Generic.IList? Type714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type715 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseItemWatchedItem? Type715 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseItemWatchedItem? Type716 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseItemWatchedItemType? Type716 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseItemWatchedItemType? Type717 { get; set; } + public global::System.Collections.Generic.IList? Type717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type718 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseItemDomain? Type718 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseItemDomain? Type719 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponse? Type719 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponse? Type720 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhook? Type720 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhook? Type721 { get; set; } + public global::HuggingFace.OneOf? Type721 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type722 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant1? Type722 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant1? Type723 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant1Flavor? Type723 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant1Flavor? Type724 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant2? Type724 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant2? Type725 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant2Flavor? Type725 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant2Flavor? Type726 { get; set; } + public global::System.Collections.Generic.IList? Type726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type727 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItem? Type727 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItem? Type728 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItemType? Type728 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItemType? Type729 { get; set; } + public global::System.Collections.Generic.IList? Type729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type730 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookDomain? Type730 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookDomain? Type731 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponse? Type731 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponse? Type732 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseWebhook? Type732 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseWebhook? Type733 { get; set; } + public global::HuggingFace.OneOf? Type733 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type734 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseWebhookJobVariant1? Type734 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseWebhookJobVariant1? Type735 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseWebhookJobVariant1Flavor? Type735 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseWebhookJobVariant1Flavor? Type736 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseWebhookJobVariant2? Type736 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseWebhookJobVariant2? Type737 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseWebhookJobVariant2Flavor? Type737 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseWebhookJobVariant2Flavor? Type738 { get; set; } + public global::System.Collections.Generic.IList? Type738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type739 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseWebhookWatchedItem? Type739 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseWebhookWatchedItem? Type740 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseWebhookWatchedItemType? Type740 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseWebhookWatchedItemType? Type741 { get; set; } + public global::System.Collections.Generic.IList? Type741 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type742 { get; set; } + public global::HuggingFace.GetSettingsWebhooksResponseWebhookDomain? Type742 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsWebhooksResponseWebhookDomain? Type743 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponse2? Type743 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponse2? Type744 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhook2? Type744 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhook2? Type745 { get; set; } + public global::HuggingFace.OneOf? Type745 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type746 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant12? Type746 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant12? Type747 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant1Flavor2? Type747 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant1Flavor2? Type748 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant22? Type748 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant22? Type749 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant2Flavor2? Type749 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant2Flavor2? Type750 { get; set; } + public global::System.Collections.Generic.IList? Type750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type751 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItem2? Type751 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItem2? Type752 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItemType2? Type752 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItemType2? Type753 { get; set; } + public global::System.Collections.Generic.IList? Type753 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type754 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookDomain2? Type754 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookDomain2? Type755 { get; set; } + public global::HuggingFace.DeleteSettingsWebhooksResponse? Type755 { get; set; } /// /// /// - public global::HuggingFace.DeleteSettingsWebhooksResponse? Type756 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponse3? Type756 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponse3? Type757 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhook3? Type757 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhook3? Type758 { get; set; } + public global::HuggingFace.OneOf? Type758 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type759 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant13? Type759 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant13? Type760 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant1Flavor3? Type760 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant1Flavor3? Type761 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant23? Type761 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant23? Type762 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant2Flavor3? Type762 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookJobVariant2Flavor3? Type763 { get; set; } + public global::System.Collections.Generic.IList? Type763 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type764 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItem3? Type764 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItem3? Type765 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItemType3? Type765 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookWatchedItemType3? Type766 { get; set; } + public global::System.Collections.Generic.IList? Type766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type767 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksResponseWebhookDomain3? Type767 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksResponseWebhookDomain3? Type768 { get; set; } + public global::HuggingFace.CreateSettingsWebhooksReplayResponse? Type768 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsWebhooksReplayResponse? Type769 { get; set; } + public global::HuggingFace.CreateSettingsPapersClaimResponse? Type769 { get; set; } /// /// /// - public global::HuggingFace.CreateSettingsPapersClaimResponse? Type770 { get; set; } + public global::System.Collections.Generic.IList? Type770 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type771 { get; set; } + public global::HuggingFace.GetSettingsRepositoriesResponseItem? Type771 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsRepositoriesResponseItem? Type772 { get; set; } + public global::HuggingFace.GetSettingsRepositoriesResponseItemType? Type772 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsRepositoriesResponseItemType? Type773 { get; set; } + public global::HuggingFace.GetSettingsRepositoriesResponseItemVisibility? Type773 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsRepositoriesResponseItemVisibility? Type774 { get; set; } + public global::System.Collections.Generic.IList? Type774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type775 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItem? Type775 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItem? Type776 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemRole? Type776 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemRole? Type777 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemOwner? Type777 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemOwner? Type778 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemAuthorization? Type778 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemAuthorization? Type779 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemAuthorizationStatus? Type779 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemAuthorizationStatus? Type780 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemAuthorizationAuthorizer? Type780 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemAuthorizationAuthorizer? Type781 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrained? Type781 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrained? Type782 { get; set; } + public global::System.Collections.Generic.IList? Type782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type783 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrainedScopedItem? Type783 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrainedScopedItem? Type784 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrainedScopedItemEntity? Type784 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrainedScopedItemEntity? Type785 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrainedScopedItemEntityType? Type785 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrainedScopedItemEntityType? Type786 { get; set; } + public global::System.Collections.Generic.IList? Type786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type787 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrainedScopedItemPermission? Type787 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsTokensResponseItemFineGrainedScopedItemPermission? Type788 { get; set; } + public global::System.Collections.Generic.IList? Type788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type789 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsRepositoriesResponseItem? Type789 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsRepositoriesResponseItem? Type790 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsRepositoriesResponseItemType? Type790 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsRepositoriesResponseItemType? Type791 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsRepositoriesResponseItemVisibility? Type791 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsRepositoriesResponseItemVisibility? Type792 { get; set; } + public global::System.Collections.Generic.IList? Type792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type793 { get; set; } + public global::HuggingFace.GetOrganizationsAuditLogExportResponseItem? Type793 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAuditLogExportResponseItem? Type794 { get; set; } + public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemType? Type794 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemType? Type795 { get; set; } + public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemLocation? Type795 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemLocation? Type796 { get; set; } + public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemAuthor? Type796 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemAuthor? Type797 { get; set; } + public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemAuthorType? Type797 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemAuthorType? Type798 { get; set; } + public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemToken? Type798 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemToken? Type799 { get; set; } + public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemTokenRole? Type799 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemTokenRole? Type800 { get; set; } + public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemOauth? Type800 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAuditLogExportResponseItemOauth? Type801 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponse? Type801 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponse? Type802 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseAutoJoinVariant1? Type802 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseAutoJoinVariant1? Type803 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseAutoJoinVariant1Role? Type803 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseAutoJoinVariant1Role? Type804 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseAutoJoinVariant1Scope? Type804 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseAutoJoinVariant1Scope? Type805 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseAutoJoinVariant2? Type805 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseAutoJoinVariant2? Type806 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseSpendLimits? Type806 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseSpendLimits? Type807 { get; set; } + public global::System.Collections.Generic.IList? Type807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type808 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseUser? Type808 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseUser? Type809 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseUserRole? Type809 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseUserRole? Type810 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseUserOrgRole? Type810 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseUserOrgRole? Type811 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant1? Type811 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant1? Type812 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant1Type? Type812 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant1Type? Type813 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant2? Type813 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant2? Type814 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant3? Type814 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant3? Type815 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant4? Type815 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant4? Type816 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant5? Type816 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsResponseResourceVariant5? Type817 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsResponse? Type817 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsResponse? Type818 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponse? Type818 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponse? Type819 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseAutoJoinVariant1? Type819 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseAutoJoinVariant1? Type820 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseAutoJoinVariant1Role? Type820 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseAutoJoinVariant1Role? Type821 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseAutoJoinVariant1Scope? Type821 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseAutoJoinVariant1Scope? Type822 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseAutoJoinVariant2? Type822 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseAutoJoinVariant2? Type823 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseSpendLimits? Type823 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseSpendLimits? Type824 { get; set; } + public global::System.Collections.Generic.IList? Type824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type825 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseUser? Type825 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseUser? Type826 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseUserRole? Type826 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseUserRole? Type827 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseUserOrgRole? Type827 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseUserOrgRole? Type828 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant1? Type828 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant1? Type829 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant1Type? Type829 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant1Type? Type830 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant2? Type830 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant2? Type831 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant3? Type831 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant3? Type832 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant4? Type832 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant4? Type833 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant5? Type833 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseResourceVariant5? Type834 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponse? Type834 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponse? Type835 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseAutoJoinVariant1? Type835 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseAutoJoinVariant1? Type836 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseAutoJoinVariant1Role? Type836 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseAutoJoinVariant1Role? Type837 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseAutoJoinVariant1Scope? Type837 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseAutoJoinVariant1Scope? Type838 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseAutoJoinVariant2? Type838 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseAutoJoinVariant2? Type839 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseSpendLimits? Type839 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseSpendLimits? Type840 { get; set; } + public global::System.Collections.Generic.IList? Type840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type841 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseUser? Type841 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseUser? Type842 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseUserRole? Type842 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseUserRole? Type843 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseUserOrgRole? Type843 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseUserOrgRole? Type844 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant1? Type844 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant1? Type845 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant1Type? Type845 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant1Type? Type846 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant2? Type846 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant2? Type847 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant3? Type847 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant3? Type848 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant4? Type848 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant4? Type849 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant5? Type849 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsSettingsResponseResourceVariant5? Type850 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponse? Type850 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponse? Type851 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseAutoJoinVariant1? Type851 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseAutoJoinVariant1? Type852 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Role? Type852 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Role? Type853 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Scope? Type853 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Scope? Type854 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseAutoJoinVariant2? Type854 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseAutoJoinVariant2? Type855 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseSpendLimits? Type855 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseSpendLimits? Type856 { get; set; } + public global::System.Collections.Generic.IList? Type856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type857 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseUser? Type857 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseUser? Type858 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseUserRole? Type858 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseUserRole? Type859 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseUserOrgRole? Type859 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseUserOrgRole? Type860 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant1? Type860 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant1? Type861 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant1Type? Type861 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant1Type? Type862 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant2? Type862 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant2? Type863 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant3? Type863 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant3? Type864 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant4? Type864 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant4? Type865 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant5? Type865 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsUsersResponseResourceVariant5? Type866 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponse? Type866 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponse? Type867 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseAutoJoinVariant1? Type867 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseAutoJoinVariant1? Type868 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Role? Type868 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Role? Type869 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Scope? Type869 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Scope? Type870 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseAutoJoinVariant2? Type870 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseAutoJoinVariant2? Type871 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseSpendLimits? Type871 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseSpendLimits? Type872 { get; set; } + public global::System.Collections.Generic.IList? Type872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type873 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseUser? Type873 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseUser? Type874 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseUserRole? Type874 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseUserRole? Type875 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseUserOrgRole? Type875 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseUserOrgRole? Type876 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant1? Type876 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant1? Type877 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant1Type? Type877 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant1Type? Type878 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant2? Type878 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant2? Type879 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant3? Type879 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant3? Type880 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant4? Type880 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant4? Type881 { get; set; } + public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant5? Type881 { get; set; } /// /// /// - public global::HuggingFace.DeleteOrganizationsResourceGroupsUsersResponseResourceVariant5? Type882 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponse? Type882 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponse? Type883 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseAutoJoinVariant1? Type883 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseAutoJoinVariant1? Type884 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Role? Type884 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Role? Type885 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Scope? Type885 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseAutoJoinVariant1Scope? Type886 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseAutoJoinVariant2? Type886 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseAutoJoinVariant2? Type887 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseSpendLimits? Type887 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseSpendLimits? Type888 { get; set; } + public global::System.Collections.Generic.IList? Type888 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type889 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseUser? Type889 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseUser? Type890 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseUserRole? Type890 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseUserRole? Type891 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseUserOrgRole? Type891 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseUserOrgRole? Type892 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant1? Type892 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant1? Type893 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant1Type? Type893 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant1Type? Type894 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant2? Type894 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant2? Type895 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant3? Type895 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant3? Type896 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant4? Type896 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant4? Type897 { get; set; } + public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant5? Type897 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsResourceGroupsUsersResponseResourceVariant5? Type898 { get; set; } + public global::System.Collections.Generic.IList? Type898 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type899 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItem? Type899 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItem? Type900 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemAutoJoinVariant1? Type900 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemAutoJoinVariant1? Type901 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemAutoJoinVariant1Role? Type901 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemAutoJoinVariant1Role? Type902 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemAutoJoinVariant1Scope? Type902 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemAutoJoinVariant1Scope? Type903 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemAutoJoinVariant2? Type903 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemAutoJoinVariant2? Type904 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemSpendLimits? Type904 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemSpendLimits? Type905 { get; set; } + public global::System.Collections.Generic.IList? Type905 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type906 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemUser? Type906 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemUser? Type907 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemUserRole? Type907 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemUserRole? Type908 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemUserOrgRole? Type908 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemUserOrgRole? Type909 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant1? Type909 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant1? Type910 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant1Type? Type910 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant1Type? Type911 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant2? Type911 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant2? Type912 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant3? Type912 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant3? Type913 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant4? Type913 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant4? Type914 { get; set; } + public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant5? Type914 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsResourceGroupsResponseItemResourceVariant5? Type915 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponse? Type915 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponse? Type916 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseAutoJoinVariant1? Type916 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseAutoJoinVariant1? Type917 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseAutoJoinVariant1Role? Type917 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseAutoJoinVariant1Role? Type918 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseAutoJoinVariant1Scope? Type918 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseAutoJoinVariant1Scope? Type919 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseAutoJoinVariant2? Type919 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseAutoJoinVariant2? Type920 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseSpendLimits? Type920 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseSpendLimits? Type921 { get; set; } + public global::System.Collections.Generic.IList? Type921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type922 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseUser? Type922 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseUser? Type923 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseUserRole? Type923 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseUserRole? Type924 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseUserOrgRole? Type924 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseUserOrgRole? Type925 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant1? Type925 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant1? Type926 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant1Type? Type926 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant1Type? Type927 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant2? Type927 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant2? Type928 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant3? Type928 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant3? Type929 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant4? Type929 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant4? Type930 { get; set; } + public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant5? Type930 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsResourceGroupsResponseResourceVariant5? Type931 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponse? Type931 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponse? Type932 { get; set; } + public global::System.Collections.Generic.IList? Type932 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type933 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponseBlockedContent? Type933 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponseBlockedContent? Type934 { get; set; } + public global::HuggingFace.AnyOf? Type934 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type935 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponseBlockedContentResource? Type935 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponseBlockedContentResource? Type936 { get; set; } + public global::System.Collections.Generic.IList? Type936 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type937 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponseAllowedContent? Type937 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponseAllowedContent? Type938 { get; set; } + public global::HuggingFace.AnyOf? Type938 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type939 { get; set; } + public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponseAllowedContentResource? Type939 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSettingsNetworkSecurityResponseAllowedContentResource? Type940 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponse? Type940 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponse? Type941 { get; set; } + public global::System.Collections.Generic.IList? Type941 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type942 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponseBlockedContent? Type942 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponseBlockedContent? Type943 { get; set; } + public global::HuggingFace.AnyOf? Type943 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type944 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponseBlockedContentResource? Type944 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponseBlockedContentResource? Type945 { get; set; } + public global::System.Collections.Generic.IList? Type945 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type946 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponseAllowedContent? Type946 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponseAllowedContent? Type947 { get; set; } + public global::HuggingFace.AnyOf? Type947 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type948 { get; set; } + public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponseAllowedContentResource? Type948 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsSettingsNetworkSecurityResponseAllowedContentResource? Type949 { get; set; } + public global::System.Collections.Generic.IList? Type949 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type950 { get; set; } + public global::HuggingFace.GetOrganizationsServiceAccountsResponseItem? Type950 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsServiceAccountsResponseItem? Type951 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsResponse? Type951 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsResponse? Type952 { get; set; } + public global::HuggingFace.GetOrganizationsServiceAccountsResponse? Type952 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsServiceAccountsResponse? Type953 { get; set; } + public global::System.Collections.Generic.IList? Type953 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type954 { get; set; } + public global::HuggingFace.GetOrganizationsServiceAccountsResponseAccessToken? Type954 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsServiceAccountsResponseAccessToken? Type955 { get; set; } + public global::HuggingFace.GetOrganizationsServiceAccountsResponseAccessTokenRole? Type955 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsServiceAccountsResponseAccessTokenRole? Type956 { get; set; } + public global::System.Collections.Generic.IList? Type956 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type957 { get; set; } + public global::HuggingFace.GetOrganizationsServiceAccountsResponseAccessTokenPermission? Type957 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsServiceAccountsResponseAccessTokenPermission? Type958 { get; set; } + public global::System.Collections.Generic.IList? Type958 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type959 { get; set; } + public global::HuggingFace.GetOrganizationsServiceAccountsResponseAccessTokenRepoPermission? Type959 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsServiceAccountsResponseAccessTokenRepoPermission? Type960 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsTokensResponse? Type960 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsTokensResponse? Type961 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsTokensResponseTokenInfo? Type961 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsTokensResponseTokenInfo? Type962 { get; set; } + public global::HuggingFace.PatchOrganizationsServiceAccountsTokensResponse? Type962 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsServiceAccountsTokensResponse? Type963 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRotateResponse? Type963 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRotateResponse? Type964 { get; set; } + public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRotateResponseTokenInfo? Type964 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsServiceAccountsTokensRotateResponseTokenInfo? Type965 { get; set; } + public global::HuggingFace.GetOrganizationsAvatarResponse? Type965 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsAvatarResponse? Type966 { get; set; } + public global::System.Collections.Generic.IList? Type966 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type967 { get; set; } + public global::HuggingFace.GetOrganizationsMembersResponseItem? Type967 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsMembersResponseItem? Type968 { get; set; } + public global::HuggingFace.GetOrganizationsMembersResponseItemRole? Type968 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsMembersResponseItemRole? Type969 { get; set; } + public global::System.Collections.Generic.IList? Type969 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type970 { get; set; } + public global::HuggingFace.GetOrganizationsMembersResponseItemResourceGroup? Type970 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsMembersResponseItemResourceGroup? Type971 { get; set; } + public global::HuggingFace.GetOrganizationsMembersResponseItemResourceGroupRole? Type971 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsMembersResponseItemResourceGroupRole? Type972 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponse? Type972 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponse? Type973 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponsePatch? Type973 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponsePatch? Type974 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseBulk? Type974 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseBulk? Type975 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseFilter? Type975 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseFilter? Type976 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseChangePassword? Type976 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseChangePassword? Type977 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseSort? Type977 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseSort? Type978 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseEtag? Type978 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseEtag? Type979 { get; set; } + public global::System.Collections.Generic.IList? Type979 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type980 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseAuthenticationScheme? Type980 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseAuthenticationScheme? Type981 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseMeta? Type981 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ServiceProviderConfigResponseMeta? Type982 { get; set; } + public global::System.Collections.Generic.IList? Type982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type983 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ResourceTypesResponseItem? Type983 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ResourceTypesResponseItem? Type984 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2ResourceTypesResponseItemMeta? Type984 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2ResourceTypesResponseItemMeta? Type985 { get; set; } + public global::System.Collections.Generic.IList? Type985 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type986 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2SchemasResponseItem? Type986 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2SchemasResponseItem? Type987 { get; set; } + public global::System.Collections.Generic.IList? Type987 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type988 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2SchemasResponseItemMeta? Type988 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2SchemasResponseItemMeta? Type989 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2SchemasResponse? Type989 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2SchemasResponse? Type990 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2SchemasResponseMeta? Type990 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2SchemasResponseMeta? Type991 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponse? Type991 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponse? Type992 { get; set; } + public global::System.Collections.Generic.IList? Type992 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type993 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseSchema? Type993 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseSchema? Type994 { get; set; } + public global::System.Collections.Generic.IList? Type994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type995 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseResource? Type995 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseResource? Type996 { get; set; } + public global::System.Collections.Generic.IList? Type996 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type997 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceSchema? Type997 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceSchema? Type998 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceName? Type998 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceName? Type999 { get; set; } + public global::System.Collections.Generic.IList? Type999 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1000 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceEmail? Type1000 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceEmail? Type1001 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceEmailType? Type1001 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceEmailType? Type1002 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceMeta? Type1002 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceMeta? Type1003 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceMetaResourceType? Type1003 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseResourceMetaResourceType? Type1004 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersResponse? Type1004 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersResponse? Type1005 { get; set; } + public global::System.Collections.Generic.IList? Type1005 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1006 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersResponseSchema? Type1006 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersResponseSchema? Type1007 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersResponseName? Type1007 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersResponseName? Type1008 { get; set; } + public global::System.Collections.Generic.IList? Type1008 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1009 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersResponseEmail? Type1009 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersResponseEmail? Type1010 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersResponseEmailType? Type1010 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersResponseEmailType? Type1011 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersResponseMeta? Type1011 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersResponseMeta? Type1012 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2UsersResponseMetaResourceType? Type1012 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2UsersResponseMetaResourceType? Type1013 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponse2? Type1013 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponse2? Type1014 { get; set; } + public global::System.Collections.Generic.IList? Type1014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1015 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseSchema2? Type1015 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseSchema2? Type1016 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseName? Type1016 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseName? Type1017 { get; set; } + public global::System.Collections.Generic.IList? Type1017 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1018 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseEmail? Type1018 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseEmail? Type1019 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseEmailType? Type1019 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseEmailType? Type1020 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseMeta? Type1020 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseMeta? Type1021 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2UsersResponseMetaResourceType? Type1021 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2UsersResponseMetaResourceType? Type1022 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersResponse? Type1022 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersResponse? Type1023 { get; set; } + public global::System.Collections.Generic.IList? Type1023 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1024 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersResponseSchema? Type1024 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersResponseSchema? Type1025 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersResponseName? Type1025 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersResponseName? Type1026 { get; set; } + public global::System.Collections.Generic.IList? Type1026 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1027 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersResponseEmail? Type1027 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersResponseEmail? Type1028 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersResponseEmailType? Type1028 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersResponseEmailType? Type1029 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersResponseMeta? Type1029 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersResponseMeta? Type1030 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2UsersResponseMetaResourceType? Type1030 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2UsersResponseMetaResourceType? Type1031 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersResponse? Type1031 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersResponse? Type1032 { get; set; } + public global::System.Collections.Generic.IList? Type1032 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1033 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersResponseSchema? Type1033 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersResponseSchema? Type1034 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersResponseName? Type1034 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersResponseName? Type1035 { get; set; } + public global::System.Collections.Generic.IList? Type1035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1036 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersResponseEmail? Type1036 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersResponseEmail? Type1037 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersResponseEmailType? Type1037 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersResponseEmailType? Type1038 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersResponseMeta? Type1038 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersResponseMeta? Type1039 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2UsersResponseMetaResourceType? Type1039 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2UsersResponseMetaResourceType? Type1040 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponse? Type1040 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponse? Type1041 { get; set; } + public global::System.Collections.Generic.IList? Type1041 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1042 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseSchema? Type1042 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseSchema? Type1043 { get; set; } + public global::System.Collections.Generic.IList? Type1043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1044 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResource? Type1044 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResource? Type1045 { get; set; } + public global::System.Collections.Generic.IList? Type1045 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1046 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResourceSchema? Type1046 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResourceSchema? Type1047 { get; set; } + public global::System.Collections.Generic.IList? Type1047 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1048 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResourceMember? Type1048 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResourceMember? Type1049 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResourceMeta? Type1049 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResourceMeta? Type1050 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResourceMetaResourceType? Type1050 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseResourceMetaResourceType? Type1051 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2GroupsResponse? Type1051 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2GroupsResponse? Type1052 { get; set; } + public global::System.Collections.Generic.IList? Type1052 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1053 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2GroupsResponseSchema? Type1053 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2GroupsResponseSchema? Type1054 { get; set; } + public global::System.Collections.Generic.IList? Type1054 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1055 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2GroupsResponseMember? Type1055 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2GroupsResponseMember? Type1056 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2GroupsResponseMeta? Type1056 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2GroupsResponseMeta? Type1057 { get; set; } + public global::HuggingFace.CreateOrganizationsScimV2GroupsResponseMetaResourceType? Type1057 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimV2GroupsResponseMetaResourceType? Type1058 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponse2? Type1058 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponse2? Type1059 { get; set; } + public global::System.Collections.Generic.IList? Type1059 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1060 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseSchema2? Type1060 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseSchema2? Type1061 { get; set; } + public global::System.Collections.Generic.IList? Type1061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1062 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseMember? Type1062 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseMember? Type1063 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseMeta? Type1063 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseMeta? Type1064 { get; set; } + public global::HuggingFace.GetOrganizationsScimV2GroupsResponseMetaResourceType? Type1064 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimV2GroupsResponseMetaResourceType? Type1065 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2GroupsResponse? Type1065 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2GroupsResponse? Type1066 { get; set; } + public global::System.Collections.Generic.IList? Type1066 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1067 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2GroupsResponseSchema? Type1067 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2GroupsResponseSchema? Type1068 { get; set; } + public global::System.Collections.Generic.IList? Type1068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1069 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2GroupsResponseMember? Type1069 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2GroupsResponseMember? Type1070 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2GroupsResponseMeta? Type1070 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2GroupsResponseMeta? Type1071 { get; set; } + public global::HuggingFace.PutOrganizationsScimV2GroupsResponseMetaResourceType? Type1071 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimV2GroupsResponseMetaResourceType? Type1072 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsResponse? Type1072 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsResponse? Type1073 { get; set; } + public global::System.Collections.Generic.IList? Type1073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1074 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsResponseSchema? Type1074 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsResponseSchema? Type1075 { get; set; } + public global::System.Collections.Generic.IList? Type1075 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1076 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsResponseMember? Type1076 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsResponseMember? Type1077 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsResponseMeta? Type1077 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsResponseMeta? Type1078 { get; set; } + public global::HuggingFace.PatchOrganizationsScimV2GroupsResponseMetaResourceType? Type1078 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimV2GroupsResponseMetaResourceType? Type1079 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponse? Type1079 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponse? Type1080 { get; set; } + public global::System.Collections.Generic.IList? Type1080 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1081 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseSchema? Type1081 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseSchema? Type1082 { get; set; } + public global::System.Collections.Generic.IList? Type1082 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1083 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResource? Type1083 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResource? Type1084 { get; set; } + public global::System.Collections.Generic.IList? Type1084 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1085 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceSchema? Type1085 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceSchema? Type1086 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceName? Type1086 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceName? Type1087 { get; set; } + public global::System.Collections.Generic.IList? Type1087 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1088 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceEmail? Type1088 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceEmail? Type1089 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceEmailType? Type1089 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceEmailType? Type1090 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceMeta? Type1090 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceMeta? Type1091 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceMetaResourceType? Type1091 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseResourceMetaResourceType? Type1092 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponse? Type1092 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponse? Type1093 { get; set; } + public global::System.Collections.Generic.IList? Type1093 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1094 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseSchema? Type1094 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseSchema? Type1095 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseName? Type1095 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseName? Type1096 { get; set; } + public global::System.Collections.Generic.IList? Type1096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1097 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseEmail? Type1097 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseEmail? Type1098 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseEmailType? Type1098 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseEmailType? Type1099 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseMeta? Type1099 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseMeta? Type1100 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseMetaResourceType? Type1100 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2UsersResponseMetaResourceType? Type1101 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponse2? Type1101 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponse2? Type1102 { get; set; } + public global::System.Collections.Generic.IList? Type1102 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1103 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseSchema2? Type1103 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseSchema2? Type1104 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseName? Type1104 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseName? Type1105 { get; set; } + public global::System.Collections.Generic.IList? Type1105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1106 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseEmail? Type1106 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseEmail? Type1107 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseEmailType? Type1107 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseEmailType? Type1108 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseMeta? Type1108 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseMeta? Type1109 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseMetaResourceType? Type1109 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2UsersResponseMetaResourceType? Type1110 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponse? Type1110 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponse? Type1111 { get; set; } + public global::System.Collections.Generic.IList? Type1111 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1112 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseSchema? Type1112 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseSchema? Type1113 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseName? Type1113 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseName? Type1114 { get; set; } + public global::System.Collections.Generic.IList? Type1114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1115 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseEmail? Type1115 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseEmail? Type1116 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseEmailType? Type1116 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseEmailType? Type1117 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseMeta? Type1117 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseMeta? Type1118 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseMetaResourceType? Type1118 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2UsersResponseMetaResourceType? Type1119 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponse? Type1119 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponse? Type1120 { get; set; } + public global::System.Collections.Generic.IList? Type1120 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1121 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseSchema? Type1121 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseSchema? Type1122 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseName? Type1122 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseName? Type1123 { get; set; } + public global::System.Collections.Generic.IList? Type1123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1124 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseEmail? Type1124 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseEmail? Type1125 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseEmailType? Type1125 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseEmailType? Type1126 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseMeta? Type1126 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseMeta? Type1127 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseMetaResourceType? Type1127 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2UsersResponseMetaResourceType? Type1128 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponse? Type1128 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponse? Type1129 { get; set; } + public global::System.Collections.Generic.IList? Type1129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1130 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseSchema? Type1130 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseSchema? Type1131 { get; set; } + public global::System.Collections.Generic.IList? Type1131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1132 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResource? Type1132 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResource? Type1133 { get; set; } + public global::System.Collections.Generic.IList? Type1133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1134 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResourceSchema? Type1134 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResourceSchema? Type1135 { get; set; } + public global::System.Collections.Generic.IList? Type1135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1136 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResourceMember? Type1136 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResourceMember? Type1137 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResourceMeta? Type1137 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResourceMeta? Type1138 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResourceMetaResourceType? Type1138 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseResourceMetaResourceType? Type1139 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponse? Type1139 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponse? Type1140 { get; set; } + public global::System.Collections.Generic.IList? Type1140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1141 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponseSchema? Type1141 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponseSchema? Type1142 { get; set; } + public global::System.Collections.Generic.IList? Type1142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1143 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponseMember? Type1143 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponseMember? Type1144 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponseMeta? Type1144 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponseMeta? Type1145 { get; set; } + public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponseMetaResourceType? Type1145 { get; set; } /// /// /// - public global::HuggingFace.CreateOrganizationsScimProvisioningV2GroupsResponseMetaResourceType? Type1146 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponse2? Type1146 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponse2? Type1147 { get; set; } + public global::System.Collections.Generic.IList? Type1147 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1148 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseSchema2? Type1148 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseSchema2? Type1149 { get; set; } + public global::System.Collections.Generic.IList? Type1149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1150 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseMember? Type1150 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseMember? Type1151 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseMeta? Type1151 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseMeta? Type1152 { get; set; } + public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseMetaResourceType? Type1152 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsScimProvisioningV2GroupsResponseMetaResourceType? Type1153 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponse? Type1153 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponse? Type1154 { get; set; } + public global::System.Collections.Generic.IList? Type1154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1155 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponseSchema? Type1155 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponseSchema? Type1156 { get; set; } + public global::System.Collections.Generic.IList? Type1156 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1157 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponseMember? Type1157 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponseMember? Type1158 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponseMeta? Type1158 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponseMeta? Type1159 { get; set; } + public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponseMetaResourceType? Type1159 { get; set; } /// /// /// - public global::HuggingFace.PutOrganizationsScimProvisioningV2GroupsResponseMetaResourceType? Type1160 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponse? Type1160 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponse? Type1161 { get; set; } + public global::System.Collections.Generic.IList? Type1161 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1162 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponseSchema? Type1162 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponseSchema? Type1163 { get; set; } + public global::System.Collections.Generic.IList? Type1163 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1164 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponseMember? Type1164 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponseMember? Type1165 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponseMeta? Type1165 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponseMeta? Type1166 { get; set; } + public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponseMetaResourceType? Type1166 { get; set; } /// /// /// - public global::HuggingFace.PatchOrganizationsScimProvisioningV2GroupsResponseMetaResourceType? Type1167 { get; set; } + public global::HuggingFace.CreateOauthRegisterResponse? Type1167 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthRegisterResponse? Type1168 { get; set; } + public global::System.Collections.Generic.IList? Type1168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1169 { get; set; } + public global::HuggingFace.CreateOauthRegisterResponseGrantType? Type1169 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthRegisterResponseGrantType? Type1170 { get; set; } + public global::HuggingFace.CreateOauthRegisterResponseTokenEndpointAuthMethod? Type1170 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthRegisterResponseTokenEndpointAuthMethod? Type1171 { get; set; } + public global::HuggingFace.CreateOauthDeviceResponse? Type1171 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthDeviceResponse? Type1172 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponse? Type1172 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponse? Type1173 { get; set; } + public global::System.Collections.Generic.IList? Type1173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1174 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseHardwareItem? Type1174 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseHardwareItem? Type1175 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseBillingMode? Type1175 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseBillingMode? Type1176 { get; set; } + public global::System.Collections.Generic.IList? Type1176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1177 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseOrg? Type1177 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseOrg? Type1178 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseOrgPlan? Type1178 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseOrgPlan? Type1179 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseOrgBillingMode? Type1179 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseOrgBillingMode? Type1180 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseOrgRoleInOrg? Type1180 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseOrgRoleInOrg? Type1181 { get; set; } + public global::System.Collections.Generic.IList? Type1181 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1182 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseOrgSecurityRestriction? Type1182 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseOrgSecurityRestriction? Type1183 { get; set; } + public global::System.Collections.Generic.IList? Type1183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1184 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseOrgResourceGroup? Type1184 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseOrgResourceGroup? Type1185 { get; set; } + public global::HuggingFace.GetOauthUserinfoResponseOrgResourceGroupRole? Type1185 { get; set; } /// /// /// - public global::HuggingFace.GetOauthUserinfoResponseOrgResourceGroupRole? Type1186 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponse? Type1186 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponse? Type1187 { get; set; } + public global::System.Collections.Generic.IList? Type1187 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1188 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseHardwareItem? Type1188 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseHardwareItem? Type1189 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseBillingMode? Type1189 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseBillingMode? Type1190 { get; set; } + public global::System.Collections.Generic.IList? Type1190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1191 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseOrg? Type1191 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseOrg? Type1192 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseOrgPlan? Type1192 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseOrgPlan? Type1193 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseOrgBillingMode? Type1193 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseOrgBillingMode? Type1194 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseOrgRoleInOrg? Type1194 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseOrgRoleInOrg? Type1195 { get; set; } + public global::System.Collections.Generic.IList? Type1195 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1196 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseOrgSecurityRestriction? Type1196 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseOrgSecurityRestriction? Type1197 { get; set; } + public global::System.Collections.Generic.IList? Type1197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1198 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseOrgResourceGroup? Type1198 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseOrgResourceGroup? Type1199 { get; set; } + public global::HuggingFace.CreateOauthUserinfoResponseOrgResourceGroupRole? Type1199 { get; set; } /// /// /// - public global::HuggingFace.CreateOauthUserinfoResponseOrgResourceGroupRole? Type1200 { get; set; } + public global::HuggingFace.GetRegistryTokenResponse? Type1200 { get; set; } /// /// /// - public global::HuggingFace.GetRegistryTokenResponse? Type1201 { get; set; } + public global::HuggingFace.CreateBlogCommentResponse? Type1201 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponse? Type1202 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessage? Type1202 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessage? Type1203 { get; set; } + public global::HuggingFace.OneOf? Type1203 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type1204 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1? Type1204 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1? Type1205 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1OauthApp? Type1205 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1OauthApp? Type1206 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1OauthAppImageData? Type1206 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1OauthAppImageData? Type1207 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1Plan? Type1207 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1Plan? Type1208 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2? Type1208 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2? Type1209 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2OauthApp? Type1209 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2OauthApp? Type1210 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2OauthAppImageData? Type1210 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2OauthAppImageData? Type1211 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrg? Type1211 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrg? Type1212 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type1212 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type1213 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type1213 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type1214 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageData? Type1214 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageData? Type1215 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataHiddenReason? Type1215 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataHiddenReason? Type1216 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatest? Type1216 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatest? Type1217 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant1? Type1217 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant1? Type1218 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant1Plan? Type1218 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant1Plan? Type1219 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2? Type1219 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2? Type1220 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type1220 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type1221 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type1221 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type1222 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type1222 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type1223 { get; set; } + public global::System.Collections.Generic.IList? Type1223 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1224 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataReaction? Type1224 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataReaction? Type1225 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataReactionReaction? Type1225 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataReactionReaction? Type1226 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataIdentifiedLanguage? Type1226 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataIdentifiedLanguage? Type1227 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponse? Type1227 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponse? Type1228 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessage? Type1228 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessage? Type1229 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1? Type1229 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1? Type1230 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1OauthApp? Type1230 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1OauthApp? Type1231 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1OauthAppImageData? Type1231 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1OauthAppImageData? Type1232 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1Plan? Type1232 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1Plan? Type1233 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2? Type1233 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2? Type1234 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2OauthApp? Type1234 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2OauthApp? Type1235 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2OauthAppImageData? Type1235 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2OauthAppImageData? Type1236 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrg? Type1236 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrg? Type1237 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type1237 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type1238 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type1238 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type1239 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageData? Type1239 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageData? Type1240 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataHiddenReason? Type1240 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataHiddenReason? Type1241 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatest? Type1241 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatest? Type1242 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant1? Type1242 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant1? Type1243 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant1Plan? Type1243 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant1Plan? Type1244 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2? Type1244 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2? Type1245 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type1245 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type1246 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type1246 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type1247 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type1247 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type1248 { get; set; } + public global::System.Collections.Generic.IList? Type1248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1249 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataReaction? Type1249 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataReaction? Type1250 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataReactionReaction? Type1250 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataReactionReaction? Type1251 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataIdentifiedLanguage? Type1251 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataIdentifiedLanguage? Type1252 { get; set; } + public global::HuggingFace.CreateBlogCommentResponse2? Type1252 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponse2? Type1253 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessage2? Type1253 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessage2? Type1254 { get; set; } + public global::HuggingFace.OneOf? Type1254 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type1255 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant12? Type1255 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant12? Type1256 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1OauthApp2? Type1256 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1OauthApp2? Type1257 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1OauthAppImageData2? Type1257 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1OauthAppImageData2? Type1258 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1Plan2? Type1258 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant1Plan2? Type1259 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant22? Type1259 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant22? Type1260 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2OauthApp2? Type1260 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2OauthApp2? Type1261 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2OauthAppImageData2? Type1261 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2OauthAppImageData2? Type1262 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrg2? Type1262 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrg2? Type1263 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan2? Type1263 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan2? Type1264 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole2? Type1264 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole2? Type1265 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageData2? Type1265 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageData2? Type1266 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataHiddenReason2? Type1266 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataHiddenReason2? Type1267 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatest2? Type1267 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatest2? Type1268 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant12? Type1268 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant12? Type1269 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant1Plan2? Type1269 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant1Plan2? Type1270 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant22? Type1270 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant22? Type1271 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg2? Type1271 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg2? Type1272 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan2? Type1272 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan2? Type1273 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole2? Type1273 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole2? Type1274 { get; set; } + public global::System.Collections.Generic.IList? Type1274 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1275 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataReaction2? Type1275 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataReaction2? Type1276 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataReactionReaction2? Type1276 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataReactionReaction2? Type1277 { get; set; } + public global::HuggingFace.CreateBlogCommentResponseNewMessageDataIdentifiedLanguage2? Type1277 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentResponseNewMessageDataIdentifiedLanguage2? Type1278 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponse2? Type1278 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponse2? Type1279 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessage2? Type1279 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessage2? Type1280 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant12? Type1280 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant12? Type1281 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1OauthApp2? Type1281 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1OauthApp2? Type1282 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1OauthAppImageData2? Type1282 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1OauthAppImageData2? Type1283 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1Plan2? Type1283 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant1Plan2? Type1284 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant22? Type1284 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant22? Type1285 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2OauthApp2? Type1285 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2OauthApp2? Type1286 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2OauthAppImageData2? Type1286 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2OauthAppImageData2? Type1287 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrg2? Type1287 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrg2? Type1288 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgPlan2? Type1288 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgPlan2? Type1289 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgUserRole2? Type1289 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgUserRole2? Type1290 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageData2? Type1290 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageData2? Type1291 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataHiddenReason2? Type1291 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataHiddenReason2? Type1292 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatest2? Type1292 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatest2? Type1293 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant12? Type1293 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant12? Type1294 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant1Plan2? Type1294 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant1Plan2? Type1295 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant22? Type1295 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant22? Type1296 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrg2? Type1296 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrg2? Type1297 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan2? Type1297 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan2? Type1298 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole2? Type1298 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole2? Type1299 { get; set; } + public global::System.Collections.Generic.IList? Type1299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1300 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataReaction2? Type1300 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataReaction2? Type1301 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataReactionReaction2? Type1301 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataReactionReaction2? Type1302 { get; set; } + public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataIdentifiedLanguage2? Type1302 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogCommentReplyResponseNewMessageDataIdentifiedLanguage2? Type1303 { get; set; } + public global::HuggingFace.GetBlogResourceGroupResponse? Type1303 { get; set; } /// /// /// - public global::HuggingFace.GetBlogResourceGroupResponse? Type1304 { get; set; } + public global::HuggingFace.CreateBlogResourceGroupResponse? Type1304 { get; set; } /// /// /// - public global::HuggingFace.CreateBlogResourceGroupResponse? Type1305 { get; set; } + public global::System.Collections.Generic.IList? Type1305 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1306 { get; set; } + public global::HuggingFace.GetDocsResponseItem? Type1306 { get; set; } /// /// /// - public global::HuggingFace.GetDocsResponseItem? Type1307 { get; set; } + public global::System.Collections.Generic.IList? Type1307 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1308 { get; set; } + public global::HuggingFace.GetDocsSearchResponseItem? Type1308 { get; set; } /// /// /// - public global::HuggingFace.GetDocsSearchResponseItem? Type1309 { get; set; } + public global::HuggingFace.GetDocsSearchResponseItemVectors? Type1309 { get; set; } /// /// /// - public global::HuggingFace.GetDocsSearchResponseItemVectors? Type1310 { get; set; } + public global::System.Collections.Generic.IList? Type1310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1311 { get; set; } + public global::HuggingFace.GetDocsSearchFullTextResponse? Type1311 { get; set; } /// /// /// - public global::HuggingFace.GetDocsSearchFullTextResponse? Type1312 { get; set; } + public global::System.Collections.Generic.IList? Type1312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1313 { get; set; } + public global::HuggingFace.GetDocsSearchFullTextResponseHit? Type1313 { get; set; } /// /// /// - public global::HuggingFace.GetDocsSearchFullTextResponseHit? Type1314 { get; set; } + public global::HuggingFace.GetDocsSearchFullTextResponseHitFormatted? Type1314 { get; set; } /// /// /// - public global::HuggingFace.GetDocsSearchFullTextResponseHitFormatted? Type1315 { get; set; } + public global::HuggingFace.GetWhoamiV2Response2? Type1315 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2Response2? Type1316 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuth? Type1316 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuth? Type1317 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuthAccessToken? Type1317 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuthAccessToken? Type1318 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenRole? Type1318 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenRole? Type1319 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrained? Type1319 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrained? Type1320 { get; set; } + public global::System.Collections.Generic.IList? Type1320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1321 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrainedScopedItem? Type1321 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrainedScopedItem? Type1322 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrainedScopedItemEntity? Type1322 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrainedScopedItemEntity? Type1323 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrainedScopedItemEntityType? Type1323 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrainedScopedItemEntityType? Type1324 { get; set; } + public global::System.Collections.Generic.IList? Type1324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1325 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrainedGlobalItem? Type1325 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuthAccessTokenFineGrainedGlobalItem? Type1326 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseAuthResource? Type1326 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseAuthResource? Type1327 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseBillingMode? Type1327 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseBillingMode? Type1328 { get; set; } + public global::System.Collections.Generic.IList? Type1328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1329 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseOrg? Type1329 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseOrg? Type1330 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseOrgBillingMode? Type1330 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseOrgBillingMode? Type1331 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseOrgPlan? Type1331 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseOrgPlan? Type1332 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseOrgRoleInOrg? Type1332 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseOrgRoleInOrg? Type1333 { get; set; } + public global::System.Collections.Generic.IList? Type1333 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1334 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseOrgSecurityRestriction? Type1334 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseOrgSecurityRestriction? Type1335 { get; set; } + public global::System.Collections.Generic.IList? Type1335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1336 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseOrgResourceGroup? Type1336 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseOrgResourceGroup? Type1337 { get; set; } + public global::HuggingFace.GetWhoamiV2ResponseOrgResourceGroupRole? Type1337 { get; set; } /// /// /// - public global::HuggingFace.GetWhoamiV2ResponseOrgResourceGroupRole? Type1338 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponse? Type1338 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponse? Type1339 { get; set; } + public global::System.Collections.Generic.IList? Type1339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1340 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriod? Type1340 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriod? Type1341 { get; set; } + public global::System.Collections.Generic.IList? Type1341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1342 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroup? Type1342 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroup? Type1343 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupStorage? Type1343 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupStorage? Type1344 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupInference? Type1344 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupInference? Type1345 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupCompute? Type1345 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupCompute? Type1346 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupComputeSpaces? Type1346 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupComputeSpaces? Type1347 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupComputeEndpoints? Type1347 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupComputeEndpoints? Type1348 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupComputeJobs? Type1348 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByResourceGroupResponsePeriodResourceGroupComputeJobs? Type1349 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByInferenceSessionResponse? Type1349 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByInferenceSessionResponse? Type1350 { get; set; } + public global::System.Collections.Generic.IList? Type1350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1351 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByInferenceSessionResponsePeriod? Type1351 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByInferenceSessionResponsePeriod? Type1352 { get; set; } + public global::System.Collections.Generic.IList? Type1352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1353 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageByInferenceSessionResponsePeriodSession? Type1353 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageByInferenceSessionResponsePeriodSession? Type1354 { get; set; } + public global::System.Collections.Generic.IList? Type1354 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1355 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageInferenceResponseItem? Type1355 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageInferenceResponseItem? Type1356 { get; set; } + public global::System.Collections.Generic.IList? Type1356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1357 { get; set; } + public global::HuggingFace.GetOrganizationsBillingUsageInferenceResponseItemUsageItem? Type1357 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsBillingUsageInferenceResponseItemUsageItem? Type1358 { get; set; } + public global::HuggingFace.GetSettingsBillingUsageByInferenceSessionResponse? Type1358 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsBillingUsageByInferenceSessionResponse? Type1359 { get; set; } + public global::System.Collections.Generic.IList? Type1359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1360 { get; set; } + public global::HuggingFace.GetSettingsBillingUsageByInferenceSessionResponsePeriod? Type1360 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsBillingUsageByInferenceSessionResponsePeriod? Type1361 { get; set; } + public global::System.Collections.Generic.IList? Type1361 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1362 { get; set; } + public global::HuggingFace.GetSettingsBillingUsageByInferenceSessionResponsePeriodSession? Type1362 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsBillingUsageByInferenceSessionResponsePeriodSession? Type1363 { get; set; } + public global::HuggingFace.GetSettingsBillingUsageJobsResponse? Type1363 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsBillingUsageJobsResponse? Type1364 { get; set; } + public global::HuggingFace.GetSettingsBillingUsageJobsResponseUsage? Type1364 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsBillingUsageJobsResponseUsage? Type1365 { get; set; } + public global::System.Collections.Generic.IList? Type1365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1366 { get; set; } + public global::HuggingFace.GetSettingsBillingUsageJobsResponseUsageJobDetail? Type1366 { get; set; } /// /// /// - public global::HuggingFace.GetSettingsBillingUsageJobsResponseUsageJobDetail? Type1367 { get; set; } + public global::HuggingFace.GetUsersOverviewResponse? Type1367 { get; set; } /// /// /// - public global::HuggingFace.GetUsersOverviewResponse? Type1368 { get; set; } + public global::System.Collections.Generic.IList? Type1368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1369 { get; set; } + public global::HuggingFace.GetUsersOverviewResponseOrg? Type1369 { get; set; } /// /// /// - public global::HuggingFace.GetUsersOverviewResponseOrg? Type1370 { get; set; } + public global::HuggingFace.GetUsersOverviewResponseServiceAccount? Type1370 { get; set; } /// /// /// - public global::HuggingFace.GetUsersOverviewResponseServiceAccount? Type1371 { get; set; } + public global::System.Collections.Generic.IList? Type1371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1372 { get; set; } + public global::HuggingFace.GetUsersOverviewResponseHardwareItem? Type1372 { get; set; } /// /// /// - public global::HuggingFace.GetUsersOverviewResponseHardwareItem? Type1373 { get; set; } + public global::HuggingFace.GetUsersSocialsResponse? Type1373 { get; set; } /// /// /// - public global::HuggingFace.GetUsersSocialsResponse? Type1374 { get; set; } + public global::HuggingFace.GetUsersSocialsResponseSocialHandles? Type1374 { get; set; } /// /// /// - public global::HuggingFace.GetUsersSocialsResponseSocialHandles? Type1375 { get; set; } + public global::HuggingFace.GetUsersAvatarResponse? Type1375 { get; set; } /// /// /// - public global::HuggingFace.GetUsersAvatarResponse? Type1376 { get; set; } + public global::System.Collections.Generic.IList? Type1376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1377 { get; set; } + public global::HuggingFace.GetUsersLikesResponseItem? Type1377 { get; set; } /// /// /// - public global::HuggingFace.GetUsersLikesResponseItem? Type1378 { get; set; } + public global::HuggingFace.GetUsersLikesResponseItemRepo? Type1378 { get; set; } /// /// /// - public global::HuggingFace.GetUsersLikesResponseItemRepo? Type1379 { get; set; } + public global::HuggingFace.GetUsersLikesResponseItemRepoType? Type1379 { get; set; } /// /// /// - public global::HuggingFace.GetUsersLikesResponseItemRepoType? Type1380 { get; set; } + public global::System.Collections.Generic.IList>? Type1380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1381 { get; set; } + public global::HuggingFace.AnyOf? Type1381 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type1382 { get; set; } + public global::HuggingFace.GetUsersFollowersResponseItemVariant1? Type1382 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowersResponseItemVariant1? Type1383 { get; set; } + public global::System.Collections.Generic.IList? Type1383 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1384 { get; set; } + public global::HuggingFace.GetUsersFollowersResponseItemVariant1Org? Type1384 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowersResponseItemVariant1Org? Type1385 { get; set; } + public global::HuggingFace.GetUsersFollowersResponseItemVariant1ServiceAccount? Type1385 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowersResponseItemVariant1ServiceAccount? Type1386 { get; set; } + public global::HuggingFace.GetUsersFollowersResponseItemVariant2? Type1386 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowersResponseItemVariant2? Type1387 { get; set; } + public global::System.Collections.Generic.IList? Type1387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1388 { get; set; } + public global::HuggingFace.GetUsersFollowingResponseItem? Type1388 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowingResponseItem? Type1389 { get; set; } + public global::System.Collections.Generic.IList? Type1389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1390 { get; set; } + public global::HuggingFace.GetUsersFollowingResponseItemOrg? Type1390 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowingResponseItemOrg? Type1391 { get; set; } + public global::HuggingFace.GetUsersFollowingResponseItemServiceAccount? Type1391 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowingResponseItemServiceAccount? Type1392 { get; set; } + public global::System.Collections.Generic.IList? Type1392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1393 { get; set; } + public global::HuggingFace.GetUsersFollowingOrgsResponseItem? Type1393 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowingOrgsResponseItem? Type1394 { get; set; } + public global::HuggingFace.GetUsersFollowingOrgsResponseItemOrgType? Type1394 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowingOrgsResponseItemOrgType? Type1395 { get; set; } + public global::HuggingFace.GetUsersFollowingOrgsResponseItemPlan? Type1395 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowingOrgsResponseItemPlan? Type1396 { get; set; } + public global::System.Collections.Generic.IList? Type1396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1397 { get; set; } + public global::HuggingFace.GetUsersFollowingOrgsResponseItemEmailDomain? Type1397 { get; set; } /// /// /// - public global::HuggingFace.GetUsersFollowingOrgsResponseItemEmailDomain? Type1398 { get; set; } + public global::HuggingFace.GetOrganizationsSocialsResponse? Type1398 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSocialsResponse? Type1399 { get; set; } + public global::HuggingFace.GetOrganizationsSocialsResponseSocialHandles? Type1399 { get; set; } /// /// /// - public global::HuggingFace.GetOrganizationsSocialsResponseSocialHandles? Type1400 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponse? Type1400 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponse? Type1401 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseNamespace? Type1401 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseNamespace? Type1402 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseUser? Type1402 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseUser? Type1403 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponse2? Type1403 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponse2? Type1404 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseNamespace2? Type1404 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseNamespace2? Type1405 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseUser2? Type1405 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseUser2? Type1406 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponse3? Type1406 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponse3? Type1407 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseNamespace3? Type1407 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseNamespace3? Type1408 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseUser3? Type1408 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseUser3? Type1409 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponse4? Type1409 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponse4? Type1410 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseNamespace4? Type1410 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseNamespace4? Type1411 { get; set; } + public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseUser4? Type1411 { get; set; } /// /// /// - public global::HuggingFace.CreateInferenceEndpointsAuthCheckResponseUser4? Type1412 { get; set; } + public global::HuggingFace.CreateJobsAuthCheckResponse? Type1412 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsAuthCheckResponse? Type1413 { get; set; } + public global::HuggingFace.CreateJobsAuthCheckResponseNamespace? Type1413 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsAuthCheckResponseNamespace? Type1414 { get; set; } + public global::HuggingFace.CreateJobsAuthCheckResponseUser? Type1414 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsAuthCheckResponseUser? Type1415 { get; set; } + public global::HuggingFace.CreateJobsAuthCheckResponse2? Type1415 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsAuthCheckResponse2? Type1416 { get; set; } + public global::HuggingFace.CreateJobsAuthCheckResponseNamespace2? Type1416 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsAuthCheckResponseNamespace2? Type1417 { get; set; } + public global::HuggingFace.CreateJobsAuthCheckResponseUser2? Type1417 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsAuthCheckResponseUser2? Type1418 { get; set; } + public global::HuggingFace.GetModelsTreesizeResponse? Type1418 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreesizeResponse? Type1419 { get; set; } + public global::HuggingFace.GetSpacesTreesizeResponse? Type1419 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreesizeResponse? Type1420 { get; set; } + public global::HuggingFace.GetDatasetsTreesizeResponse? Type1420 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreesizeResponse? Type1421 { get; set; } + public global::HuggingFace.GetModelsSafetensorsMetadataResponse? Type1421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1422 { get; set; } + public global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex? Type1422 { get; set; } /// /// /// - public global::HuggingFace.GetModelsLfsFilesResponseItem? Type1423 { get; set; } + public global::HuggingFace.AnyOf>? Type1423 { get; set; } /// /// /// - public global::HuggingFace.GetModelsLfsFilesResponseItemPusher? Type1424 { get; set; } + public global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1? Type1424 { get; set; } /// /// /// - public global::HuggingFace.GetModelsLfsFilesResponseItemPusherPrimaryOrg? Type1425 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1425 { get; set; } /// /// /// - public global::HuggingFace.GetModelsLfsFilesResponseItemPusherPrimaryOrgPlan? Type1426 { get; set; } + public global::System.Collections.Generic.IList? Type1426 { get; set; } /// /// /// - public global::HuggingFace.GetModelsLfsFilesResponseItemPusherPrimaryOrgUserRole? Type1427 { get; set; } + public global::HuggingFace.GetModelsLfsFilesResponseItem? Type1427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1428 { get; set; } + public global::HuggingFace.GetModelsLfsFilesResponseItemPusher? Type1428 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLfsFilesResponseItem? Type1429 { get; set; } + public global::HuggingFace.GetModelsLfsFilesResponseItemPusherPrimaryOrg? Type1429 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLfsFilesResponseItemPusher? Type1430 { get; set; } + public global::HuggingFace.GetModelsLfsFilesResponseItemPusherPrimaryOrgPlan? Type1430 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLfsFilesResponseItemPusherPrimaryOrg? Type1431 { get; set; } + public global::HuggingFace.GetModelsLfsFilesResponseItemPusherPrimaryOrgUserRole? Type1431 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLfsFilesResponseItemPusherPrimaryOrgPlan? Type1432 { get; set; } + public global::System.Collections.Generic.IList? Type1432 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLfsFilesResponseItemPusherPrimaryOrgUserRole? Type1433 { get; set; } + public global::HuggingFace.GetDatasetsLfsFilesResponseItem? Type1433 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1434 { get; set; } + public global::HuggingFace.GetDatasetsLfsFilesResponseItemPusher? Type1434 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLfsFilesResponseItem? Type1435 { get; set; } + public global::HuggingFace.GetDatasetsLfsFilesResponseItemPusherPrimaryOrg? Type1435 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLfsFilesResponseItemPusher? Type1436 { get; set; } + public global::HuggingFace.GetDatasetsLfsFilesResponseItemPusherPrimaryOrgPlan? Type1436 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLfsFilesResponseItemPusherPrimaryOrg? Type1437 { get; set; } + public global::HuggingFace.GetDatasetsLfsFilesResponseItemPusherPrimaryOrgUserRole? Type1437 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLfsFilesResponseItemPusherPrimaryOrgPlan? Type1438 { get; set; } + public global::System.Collections.Generic.IList? Type1438 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesLfsFilesResponseItemPusherPrimaryOrgUserRole? Type1439 { get; set; } + public global::HuggingFace.GetSpacesLfsFilesResponseItem? Type1439 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesDuplicateResponse? Type1440 { get; set; } + public global::HuggingFace.GetSpacesLfsFilesResponseItemPusher? Type1440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1441 { get; set; } + public global::HuggingFace.GetSpacesLfsFilesResponseItemPusherPrimaryOrg? Type1441 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesDuplicateResponseFailedItem? Type1442 { get; set; } + public global::HuggingFace.GetSpacesLfsFilesResponseItemPusherPrimaryOrgPlan? Type1442 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesDuplicateResponse2? Type1443 { get; set; } + public global::HuggingFace.GetSpacesLfsFilesResponseItemPusherPrimaryOrgUserRole? Type1443 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1444 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesDuplicateResponse? Type1444 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsLfsFilesDuplicateResponseFailedItem2? Type1445 { get; set; } + public global::System.Collections.Generic.IList? Type1445 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsLfsFilesDuplicateResponse? Type1446 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesDuplicateResponseFailedItem? Type1446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1447 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesDuplicateResponse2? Type1447 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsLfsFilesDuplicateResponseFailedItem? Type1448 { get; set; } + public global::System.Collections.Generic.IList? Type1448 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsLfsFilesDuplicateResponse2? Type1449 { get; set; } + public global::HuggingFace.CreateModelsLfsFilesDuplicateResponseFailedItem2? Type1449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1450 { get; set; } + public global::HuggingFace.CreateKernelsLfsFilesDuplicateResponse? Type1450 { get; set; } /// /// /// - public global::HuggingFace.CreateKernelsLfsFilesDuplicateResponseFailedItem2? Type1451 { get; set; } + public global::System.Collections.Generic.IList? Type1451 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesDuplicateResponse? Type1452 { get; set; } + public global::HuggingFace.CreateKernelsLfsFilesDuplicateResponseFailedItem? Type1452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1453 { get; set; } + public global::HuggingFace.CreateKernelsLfsFilesDuplicateResponse2? Type1453 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesDuplicateResponseFailedItem? Type1454 { get; set; } + public global::System.Collections.Generic.IList? Type1454 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesDuplicateResponse2? Type1455 { get; set; } + public global::HuggingFace.CreateKernelsLfsFilesDuplicateResponseFailedItem2? Type1455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1456 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesDuplicateResponse? Type1456 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsLfsFilesDuplicateResponseFailedItem2? Type1457 { get; set; } + public global::System.Collections.Generic.IList? Type1457 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesDuplicateResponse? Type1458 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesDuplicateResponseFailedItem? Type1458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1459 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesDuplicateResponse2? Type1459 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesDuplicateResponseFailedItem? Type1460 { get; set; } + public global::System.Collections.Generic.IList? Type1460 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesDuplicateResponse2? Type1461 { get; set; } + public global::HuggingFace.CreateDatasetsLfsFilesDuplicateResponseFailedItem2? Type1461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1462 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesDuplicateResponse? Type1462 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesLfsFilesDuplicateResponseFailedItem2? Type1463 { get; set; } + public global::System.Collections.Generic.IList? Type1463 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsLfsFilesDuplicateResponse? Type1464 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesDuplicateResponseFailedItem? Type1464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1465 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesDuplicateResponse2? Type1465 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsLfsFilesDuplicateResponseFailedItem? Type1466 { get; set; } + public global::System.Collections.Generic.IList? Type1466 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsLfsFilesDuplicateResponse2? Type1467 { get; set; } + public global::HuggingFace.CreateSpacesLfsFilesDuplicateResponseFailedItem2? Type1467 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1468 { get; set; } + public global::HuggingFace.CreateBucketsLfsFilesDuplicateResponse? Type1468 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsLfsFilesDuplicateResponseFailedItem2? Type1469 { get; set; } + public global::System.Collections.Generic.IList? Type1469 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1470 { get; set; } + public global::HuggingFace.CreateBucketsLfsFilesDuplicateResponseFailedItem? Type1470 { get; set; } /// /// /// - public global::HuggingFace.GetModelsCommitsResponseItem? Type1471 { get; set; } + public global::HuggingFace.CreateBucketsLfsFilesDuplicateResponse2? Type1471 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1472 { get; set; } + public global::System.Collections.Generic.IList? Type1472 { get; set; } /// /// /// - public global::HuggingFace.GetModelsCommitsResponseItemAuthor? Type1473 { get; set; } + public global::HuggingFace.CreateBucketsLfsFilesDuplicateResponseFailedItem2? Type1473 { get; set; } /// /// /// - public global::HuggingFace.GetModelsCommitsResponseItemFormatted? Type1474 { get; set; } + public global::System.Collections.Generic.IList? Type1474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1475 { get; set; } + public global::HuggingFace.GetModelsCommitsResponseItem? Type1475 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesCommitsResponseItem? Type1476 { get; set; } + public global::System.Collections.Generic.IList? Type1476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1477 { get; set; } + public global::HuggingFace.GetModelsCommitsResponseItemAuthor? Type1477 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesCommitsResponseItemAuthor? Type1478 { get; set; } + public global::HuggingFace.GetModelsCommitsResponseItemFormatted? Type1478 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesCommitsResponseItemFormatted? Type1479 { get; set; } + public global::System.Collections.Generic.IList? Type1479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1480 { get; set; } + public global::HuggingFace.GetSpacesCommitsResponseItem? Type1480 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsCommitsResponseItem? Type1481 { get; set; } + public global::System.Collections.Generic.IList? Type1481 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1482 { get; set; } + public global::HuggingFace.GetSpacesCommitsResponseItemAuthor? Type1482 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsCommitsResponseItemAuthor? Type1483 { get; set; } + public global::HuggingFace.GetSpacesCommitsResponseItemFormatted? Type1483 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsCommitsResponseItemFormatted? Type1484 { get; set; } + public global::System.Collections.Generic.IList? Type1484 { get; set; } /// /// /// - public global::HuggingFace.GetModelsRefsResponse? Type1485 { get; set; } + public global::HuggingFace.GetDatasetsCommitsResponseItem? Type1485 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1486 { get; set; } + public global::System.Collections.Generic.IList? Type1486 { get; set; } /// /// /// - public global::HuggingFace.GetModelsRefsResponseTag? Type1487 { get; set; } + public global::HuggingFace.GetDatasetsCommitsResponseItemAuthor? Type1487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1488 { get; set; } + public global::HuggingFace.GetDatasetsCommitsResponseItemFormatted? Type1488 { get; set; } /// /// /// - public global::HuggingFace.GetModelsRefsResponseBranche? Type1489 { get; set; } + public global::HuggingFace.GetModelsRefsResponse? Type1489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1490 { get; set; } + public global::System.Collections.Generic.IList? Type1490 { get; set; } /// /// /// - public global::HuggingFace.GetModelsRefsResponseConvert? Type1491 { get; set; } + public global::HuggingFace.GetModelsRefsResponseTag? Type1491 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1492 { get; set; } + public global::System.Collections.Generic.IList? Type1492 { get; set; } /// /// /// - public global::HuggingFace.GetModelsRefsResponsePullRequest? Type1493 { get; set; } + public global::HuggingFace.GetModelsRefsResponseBranche? Type1493 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsRefsResponse? Type1494 { get; set; } + public global::System.Collections.Generic.IList? Type1494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1495 { get; set; } + public global::HuggingFace.GetModelsRefsResponseConvert? Type1495 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsRefsResponseTag? Type1496 { get; set; } + public global::System.Collections.Generic.IList? Type1496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1497 { get; set; } + public global::HuggingFace.GetModelsRefsResponsePullRequest? Type1497 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsRefsResponseBranche? Type1498 { get; set; } + public global::HuggingFace.GetDatasetsRefsResponse? Type1498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1499 { get; set; } + public global::System.Collections.Generic.IList? Type1499 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsRefsResponseConvert? Type1500 { get; set; } + public global::HuggingFace.GetDatasetsRefsResponseTag? Type1500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1501 { get; set; } + public global::System.Collections.Generic.IList? Type1501 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsRefsResponsePullRequest? Type1502 { get; set; } + public global::HuggingFace.GetDatasetsRefsResponseBranche? Type1502 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesRefsResponse? Type1503 { get; set; } + public global::System.Collections.Generic.IList? Type1503 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1504 { get; set; } + public global::HuggingFace.GetDatasetsRefsResponseConvert? Type1504 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesRefsResponseTag? Type1505 { get; set; } + public global::System.Collections.Generic.IList? Type1505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1506 { get; set; } + public global::HuggingFace.GetDatasetsRefsResponsePullRequest? Type1506 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesRefsResponseBranche? Type1507 { get; set; } + public global::HuggingFace.GetSpacesRefsResponse? Type1507 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1508 { get; set; } + public global::System.Collections.Generic.IList? Type1508 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesRefsResponseConvert? Type1509 { get; set; } + public global::HuggingFace.GetSpacesRefsResponseTag? Type1509 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1510 { get; set; } + public global::System.Collections.Generic.IList? Type1510 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesRefsResponsePullRequest? Type1511 { get; set; } + public global::HuggingFace.GetSpacesRefsResponseBranche? Type1511 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1512 { get; set; } + public global::System.Collections.Generic.IList? Type1512 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItem? Type1513 { get; set; } + public global::HuggingFace.GetSpacesRefsResponseConvert? Type1513 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemType? Type1514 { get; set; } + public global::System.Collections.Generic.IList? Type1514 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemLfs? Type1515 { get; set; } + public global::HuggingFace.GetSpacesRefsResponsePullRequest? Type1515 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemLastCommit? Type1516 { get; set; } + public global::System.Collections.Generic.IList? Type1516 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatus? Type1517 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItem? Type1517 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusStatus? Type1518 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemType? Type1518 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusJFrogScan? Type1519 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemLfs? Type1519 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusJFrogScanStatus? Type1520 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemLastCommit? Type1520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1521 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatus? Type1521 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImport? Type1522 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusStatus? Type1522 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1523 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusJFrogScan? Type1523 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusProtectAiScan? Type1524 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusJFrogScanStatus? Type1524 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusProtectAiScanStatus? Type1525 { get; set; } + public global::System.Collections.Generic.IList? Type1525 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1526 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImport? Type1526 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1527 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1527 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1528 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusProtectAiScan? Type1528 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusAvScan? Type1529 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusProtectAiScanStatus? Type1529 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusAvScanStatus? Type1530 { get; set; } + public global::System.Collections.Generic.IList? Type1530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1531 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1531 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusAvScanPickleImport? Type1532 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1532 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1533 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusAvScan? Type1533 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusPickleImportScan? Type1534 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusAvScanStatus? Type1534 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusPickleImportScanStatus? Type1535 { get; set; } + public global::System.Collections.Generic.IList? Type1535 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1536 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusAvScanPickleImport? Type1536 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1537 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1537 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1538 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusPickleImportScan? Type1538 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusVirusTotalScan? Type1539 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusPickleImportScanStatus? Type1539 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusVirusTotalScanStatus? Type1540 { get; set; } + public global::System.Collections.Generic.IList? Type1540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1541 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1541 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1542 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1542 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1543 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusVirusTotalScan? Type1543 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1544 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusVirusTotalScanStatus? Type1544 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItem? Type1545 { get; set; } + public global::System.Collections.Generic.IList? Type1545 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemType? Type1546 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1546 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemLfs? Type1547 { get; set; } + public global::HuggingFace.CreateModelsPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1547 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemLastCommit? Type1548 { get; set; } + public global::System.Collections.Generic.IList? Type1548 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatus? Type1549 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItem? Type1549 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusStatus? Type1550 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemType? Type1550 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusJFrogScan? Type1551 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemLfs? Type1551 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusJFrogScanStatus? Type1552 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemLastCommit? Type1552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1553 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatus? Type1553 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImport? Type1554 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusStatus? Type1554 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1555 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusJFrogScan? Type1555 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusProtectAiScan? Type1556 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusJFrogScanStatus? Type1556 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusProtectAiScanStatus? Type1557 { get; set; } + public global::System.Collections.Generic.IList? Type1557 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1558 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImport? Type1558 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1559 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1559 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1560 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusProtectAiScan? Type1560 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusAvScan? Type1561 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusProtectAiScanStatus? Type1561 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusAvScanStatus? Type1562 { get; set; } + public global::System.Collections.Generic.IList? Type1562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1563 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1563 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusAvScanPickleImport? Type1564 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1564 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1565 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusAvScan? Type1565 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusPickleImportScan? Type1566 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusAvScanStatus? Type1566 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusPickleImportScanStatus? Type1567 { get; set; } + public global::System.Collections.Generic.IList? Type1567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1568 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusAvScanPickleImport? Type1568 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1569 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1569 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1570 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusPickleImportScan? Type1570 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusVirusTotalScan? Type1571 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusPickleImportScanStatus? Type1571 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusVirusTotalScanStatus? Type1572 { get; set; } + public global::System.Collections.Generic.IList? Type1572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1573 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1573 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1574 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1574 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1575 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusVirusTotalScan? Type1575 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1576 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusVirusTotalScanStatus? Type1576 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItem? Type1577 { get; set; } + public global::System.Collections.Generic.IList? Type1577 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemType? Type1578 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1578 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemLfs? Type1579 { get; set; } + public global::HuggingFace.CreateDatasetsPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1579 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemLastCommit? Type1580 { get; set; } + public global::System.Collections.Generic.IList? Type1580 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatus? Type1581 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItem? Type1581 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusStatus? Type1582 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemType? Type1582 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusJFrogScan? Type1583 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemLfs? Type1583 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusJFrogScanStatus? Type1584 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemLastCommit? Type1584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1585 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatus? Type1585 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImport? Type1586 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusStatus? Type1586 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1587 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusJFrogScan? Type1587 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusProtectAiScan? Type1588 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusJFrogScanStatus? Type1588 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusProtectAiScanStatus? Type1589 { get; set; } + public global::System.Collections.Generic.IList? Type1589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1590 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImport? Type1590 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1591 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1591 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1592 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusProtectAiScan? Type1592 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusAvScan? Type1593 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusProtectAiScanStatus? Type1593 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusAvScanStatus? Type1594 { get; set; } + public global::System.Collections.Generic.IList? Type1594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1595 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1595 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusAvScanPickleImport? Type1596 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1596 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1597 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusAvScan? Type1597 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusPickleImportScan? Type1598 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusAvScanStatus? Type1598 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusPickleImportScanStatus? Type1599 { get; set; } + public global::System.Collections.Generic.IList? Type1599 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1600 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusAvScanPickleImport? Type1600 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1601 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1601 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1602 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusPickleImportScan? Type1602 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusVirusTotalScan? Type1603 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusPickleImportScanStatus? Type1603 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusVirusTotalScanStatus? Type1604 { get; set; } + public global::System.Collections.Generic.IList? Type1604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1605 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1605 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1606 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1606 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1607 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusVirusTotalScan? Type1607 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPreuploadResponse? Type1608 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusVirusTotalScanStatus? Type1608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1609 { get; set; } + public global::System.Collections.Generic.IList? Type1609 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPreuploadResponseFile? Type1610 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1610 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsPreuploadResponseFileUploadMode? Type1611 { get; set; } + public global::HuggingFace.CreateSpacesPathsInfoResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1611 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPreuploadResponse? Type1612 { get; set; } + public global::HuggingFace.CreateModelsPreuploadResponse? Type1612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1613 { get; set; } + public global::System.Collections.Generic.IList? Type1613 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPreuploadResponseFile? Type1614 { get; set; } + public global::HuggingFace.CreateModelsPreuploadResponseFile? Type1614 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesPreuploadResponseFileUploadMode? Type1615 { get; set; } + public global::HuggingFace.CreateModelsPreuploadResponseFileUploadMode? Type1615 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPreuploadResponse? Type1616 { get; set; } + public global::HuggingFace.CreateSpacesPreuploadResponse? Type1616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1617 { get; set; } + public global::System.Collections.Generic.IList? Type1617 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPreuploadResponseFile? Type1618 { get; set; } + public global::HuggingFace.CreateSpacesPreuploadResponseFile? Type1618 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsPreuploadResponseFileUploadMode? Type1619 { get; set; } + public global::HuggingFace.CreateSpacesPreuploadResponseFileUploadMode? Type1619 { get; set; } /// /// /// - public global::HuggingFace.GetModelsXetWriteTokenResponse? Type1620 { get; set; } + public global::HuggingFace.CreateDatasetsPreuploadResponse? Type1620 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesXetWriteTokenResponse? Type1621 { get; set; } + public global::System.Collections.Generic.IList? Type1621 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsXetWriteTokenResponse? Type1622 { get; set; } + public global::HuggingFace.CreateDatasetsPreuploadResponseFile? Type1622 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsXetWriteTokenResponse? Type1623 { get; set; } + public global::HuggingFace.CreateDatasetsPreuploadResponseFileUploadMode? Type1623 { get; set; } /// /// /// - public global::HuggingFace.GetContainersXetWriteTokenResponse? Type1624 { get; set; } + public global::HuggingFace.GetModelsXetWriteTokenResponse? Type1624 { get; set; } /// /// /// - public global::HuggingFace.GetModelsXetReadTokenResponse? Type1625 { get; set; } + public global::HuggingFace.GetSpacesXetWriteTokenResponse? Type1625 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesXetReadTokenResponse? Type1626 { get; set; } + public global::HuggingFace.GetDatasetsXetWriteTokenResponse? Type1626 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsXetReadTokenResponse? Type1627 { get; set; } + public global::HuggingFace.GetBucketsXetWriteTokenResponse? Type1627 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsXetReadTokenResponse? Type1628 { get; set; } + public global::HuggingFace.GetContainersXetWriteTokenResponse? Type1628 { get; set; } /// /// /// - public global::HuggingFace.GetContainersXetReadTokenResponse? Type1629 { get; set; } + public global::HuggingFace.GetModelsXetReadTokenResponse? Type1629 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsCommitResponse? Type1630 { get; set; } + public global::HuggingFace.GetSpacesXetReadTokenResponse? Type1630 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsCommitResponse? Type1631 { get; set; } + public global::HuggingFace.GetDatasetsXetReadTokenResponse? Type1631 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesCommitResponse? Type1632 { get; set; } + public global::HuggingFace.GetBucketsXetReadTokenResponse? Type1632 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsResourceGroupResponse? Type1633 { get; set; } + public global::HuggingFace.GetContainersXetReadTokenResponse? Type1633 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsResourceGroupResponseType? Type1634 { get; set; } + public global::HuggingFace.CreateModelsCommitResponse? Type1634 { get; set; } /// /// /// - public global::HuggingFace.GetModelsResourceGroupResponse? Type1635 { get; set; } + public global::HuggingFace.CreateDatasetsCommitResponse? Type1635 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesResourceGroupResponse? Type1636 { get; set; } + public global::HuggingFace.CreateSpacesCommitResponse? Type1636 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesResourceGroupResponseType? Type1637 { get; set; } + public global::HuggingFace.CreateModelsResourceGroupResponse? Type1637 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesResourceGroupResponse? Type1638 { get; set; } + public global::HuggingFace.CreateModelsResourceGroupResponseType? Type1638 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsResourceGroupResponse? Type1639 { get; set; } + public global::HuggingFace.GetModelsResourceGroupResponse? Type1639 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsResourceGroupResponseType? Type1640 { get; set; } + public global::HuggingFace.CreateSpacesResourceGroupResponse? Type1640 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsResourceGroupResponse? Type1641 { get; set; } + public global::HuggingFace.CreateSpacesResourceGroupResponseType? Type1641 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsResourceGroupResponse? Type1642 { get; set; } + public global::HuggingFace.GetSpacesResourceGroupResponse? Type1642 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsResourceGroupResponseType? Type1643 { get; set; } + public global::HuggingFace.CreateDatasetsResourceGroupResponse? Type1643 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResourceGroupResponse? Type1644 { get; set; } + public global::HuggingFace.CreateDatasetsResourceGroupResponseType? Type1644 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsSuperSquashResponse? Type1645 { get; set; } + public global::HuggingFace.GetDatasetsResourceGroupResponse? Type1645 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsSuperSquashResponse? Type1646 { get; set; } + public global::HuggingFace.CreateBucketsResourceGroupResponse? Type1646 { get; set; } /// /// /// - public global::HuggingFace.CreateSpacesSuperSquashResponse? Type1647 { get; set; } + public global::HuggingFace.CreateBucketsResourceGroupResponseType? Type1647 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsResponse? Type1648 { get; set; } + public global::HuggingFace.GetBucketsResourceGroupResponse? Type1648 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsResponseVisibility? Type1649 { get; set; } + public global::HuggingFace.CreateModelsSuperSquashResponse? Type1649 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsResponseDiscussionsSorting? Type1650 { get; set; } + public global::HuggingFace.CreateDatasetsSuperSquashResponse? Type1650 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type1651 { get; set; } + public global::HuggingFace.CreateSpacesSuperSquashResponse? Type1651 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsResponseGated? Type1652 { get; set; } + public global::HuggingFace.PutModelsSettingsResponse? Type1652 { get; set; } /// /// /// - public global::HuggingFace.PutModelsSettingsResponseGatedNotificationsMode? Type1653 { get; set; } + public global::HuggingFace.PutModelsSettingsResponseVisibility? Type1653 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsResponse? Type1654 { get; set; } + public global::HuggingFace.PutModelsSettingsResponseDiscussionsSorting? Type1654 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsResponseVisibility? Type1655 { get; set; } + public global::HuggingFace.AnyOf? Type1655 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsResponseDiscussionsSorting? Type1656 { get; set; } + public global::HuggingFace.PutModelsSettingsResponseGated? Type1656 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type1657 { get; set; } + public global::HuggingFace.PutModelsSettingsResponseGatedNotificationsMode? Type1657 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsResponseGated? Type1658 { get; set; } + public global::HuggingFace.PutSpacesSettingsResponse? Type1658 { get; set; } /// /// /// - public global::HuggingFace.PutSpacesSettingsResponseGatedNotificationsMode? Type1659 { get; set; } + public global::HuggingFace.PutSpacesSettingsResponseVisibility? Type1659 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsResponse? Type1660 { get; set; } + public global::HuggingFace.PutSpacesSettingsResponseDiscussionsSorting? Type1660 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsResponseVisibility? Type1661 { get; set; } + public global::HuggingFace.AnyOf? Type1661 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsResponseDiscussionsSorting? Type1662 { get; set; } + public global::HuggingFace.PutSpacesSettingsResponseGated? Type1662 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type1663 { get; set; } + public global::HuggingFace.PutSpacesSettingsResponseGatedNotificationsMode? Type1663 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsResponseGated? Type1664 { get; set; } + public global::HuggingFace.PutDatasetsSettingsResponse? Type1664 { get; set; } /// /// /// - public global::HuggingFace.PutDatasetsSettingsResponseGatedNotificationsMode? Type1665 { get; set; } + public global::HuggingFace.PutDatasetsSettingsResponseVisibility? Type1665 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1666 { get; set; } + public global::HuggingFace.PutDatasetsSettingsResponseDiscussionsSorting? Type1666 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItem? Type1667 { get; set; } + public global::HuggingFace.AnyOf? Type1667 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemType? Type1668 { get; set; } + public global::HuggingFace.PutDatasetsSettingsResponseGated? Type1668 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemLfs? Type1669 { get; set; } + public global::HuggingFace.PutDatasetsSettingsResponseGatedNotificationsMode? Type1669 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemLastCommit? Type1670 { get; set; } + public global::System.Collections.Generic.IList? Type1670 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatus? Type1671 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItem? Type1671 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusStatus? Type1672 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemType? Type1672 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusJFrogScan? Type1673 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemLfs? Type1673 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusJFrogScanStatus? Type1674 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemLastCommit? Type1674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1675 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatus? Type1675 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusJFrogScanPickleImport? Type1676 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusStatus? Type1676 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1677 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusJFrogScan? Type1677 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusProtectAiScan? Type1678 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusJFrogScanStatus? Type1678 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusProtectAiScanStatus? Type1679 { get; set; } + public global::System.Collections.Generic.IList? Type1679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1680 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusJFrogScanPickleImport? Type1680 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1681 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1681 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1682 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusProtectAiScan? Type1682 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusAvScan? Type1683 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusProtectAiScanStatus? Type1683 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusAvScanStatus? Type1684 { get; set; } + public global::System.Collections.Generic.IList? Type1684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1685 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1685 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusAvScanPickleImport? Type1686 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1686 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1687 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusAvScan? Type1687 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusPickleImportScan? Type1688 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusAvScanStatus? Type1688 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusPickleImportScanStatus? Type1689 { get; set; } + public global::System.Collections.Generic.IList? Type1689 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1690 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusAvScanPickleImport? Type1690 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1691 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1691 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1692 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusPickleImportScan? Type1692 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusVirusTotalScan? Type1693 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusPickleImportScanStatus? Type1693 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusVirusTotalScanStatus? Type1694 { get; set; } + public global::System.Collections.Generic.IList? Type1694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1695 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1695 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1696 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1696 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1697 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusVirusTotalScan? Type1697 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1698 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusVirusTotalScanStatus? Type1698 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItem? Type1699 { get; set; } + public global::System.Collections.Generic.IList? Type1699 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemType? Type1700 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1700 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemLfs? Type1701 { get; set; } + public global::HuggingFace.GetModelsTreeResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1701 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemLastCommit? Type1702 { get; set; } + public global::System.Collections.Generic.IList? Type1702 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatus? Type1703 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItem? Type1703 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusStatus? Type1704 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemType? Type1704 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusJFrogScan? Type1705 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemLfs? Type1705 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusJFrogScanStatus? Type1706 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemLastCommit? Type1706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1707 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatus? Type1707 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusJFrogScanPickleImport? Type1708 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusStatus? Type1708 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1709 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusJFrogScan? Type1709 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusProtectAiScan? Type1710 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusJFrogScanStatus? Type1710 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusProtectAiScanStatus? Type1711 { get; set; } + public global::System.Collections.Generic.IList? Type1711 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1712 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusJFrogScanPickleImport? Type1712 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1713 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1713 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1714 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusProtectAiScan? Type1714 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusAvScan? Type1715 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusProtectAiScanStatus? Type1715 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusAvScanStatus? Type1716 { get; set; } + public global::System.Collections.Generic.IList? Type1716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1717 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1717 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusAvScanPickleImport? Type1718 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1718 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1719 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusAvScan? Type1719 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusPickleImportScan? Type1720 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusAvScanStatus? Type1720 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusPickleImportScanStatus? Type1721 { get; set; } + public global::System.Collections.Generic.IList? Type1721 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1722 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusAvScanPickleImport? Type1722 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1723 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1723 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1724 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusPickleImportScan? Type1724 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusVirusTotalScan? Type1725 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusPickleImportScanStatus? Type1725 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusVirusTotalScanStatus? Type1726 { get; set; } + public global::System.Collections.Generic.IList? Type1726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1727 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1727 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1728 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1728 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1729 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusVirusTotalScan? Type1729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1730 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusVirusTotalScanStatus? Type1730 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItem? Type1731 { get; set; } + public global::System.Collections.Generic.IList? Type1731 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemType? Type1732 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1732 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemLfs? Type1733 { get; set; } + public global::HuggingFace.GetSpacesTreeResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1733 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemLastCommit? Type1734 { get; set; } + public global::System.Collections.Generic.IList? Type1734 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatus? Type1735 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItem? Type1735 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusStatus? Type1736 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemType? Type1736 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusJFrogScan? Type1737 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemLfs? Type1737 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusJFrogScanStatus? Type1738 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemLastCommit? Type1738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1739 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatus? Type1739 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusJFrogScanPickleImport? Type1740 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusStatus? Type1740 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1741 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusJFrogScan? Type1741 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusProtectAiScan? Type1742 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusJFrogScanStatus? Type1742 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusProtectAiScanStatus? Type1743 { get; set; } + public global::System.Collections.Generic.IList? Type1743 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1744 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusJFrogScanPickleImport? Type1744 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1745 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusJFrogScanPickleImportSafety? Type1745 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1746 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusProtectAiScan? Type1746 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusAvScan? Type1747 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusProtectAiScanStatus? Type1747 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusAvScanStatus? Type1748 { get; set; } + public global::System.Collections.Generic.IList? Type1748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1749 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusProtectAiScanPickleImport? Type1749 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusAvScanPickleImport? Type1750 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusProtectAiScanPickleImportSafety? Type1750 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1751 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusAvScan? Type1751 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusPickleImportScan? Type1752 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusAvScanStatus? Type1752 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusPickleImportScanStatus? Type1753 { get; set; } + public global::System.Collections.Generic.IList? Type1753 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1754 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusAvScanPickleImport? Type1754 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1755 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusAvScanPickleImportSafety? Type1755 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1756 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusPickleImportScan? Type1756 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusVirusTotalScan? Type1757 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusPickleImportScanStatus? Type1757 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusVirusTotalScanStatus? Type1758 { get; set; } + public global::System.Collections.Generic.IList? Type1758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1759 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusPickleImportScanPickleImport? Type1759 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1760 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusPickleImportScanPickleImportSafety? Type1760 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1761 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusVirusTotalScan? Type1761 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type1762 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusVirusTotalScanStatus? Type1762 { get; set; } /// /// /// - public global::HuggingFace.GetModelsNotebookResponseVariant1? Type1763 { get; set; } + public global::System.Collections.Generic.IList? Type1763 { get; set; } /// /// /// - public global::HuggingFace.GetModelsNotebookResponseVariant2? Type1764 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusVirusTotalScanPickleImport? Type1764 { get; set; } /// /// /// - public global::HuggingFace.GetModelsNotebookResponseVariant3? Type1765 { get; set; } + public global::HuggingFace.GetDatasetsTreeResponseItemSecurityFileStatusVirusTotalScanPickleImportSafety? Type1765 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type1766 { get; set; } + public global::HuggingFace.AnyOf? Type1766 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsNotebookResponseVariant1? Type1767 { get; set; } + public global::HuggingFace.GetModelsNotebookResponseVariant1? Type1767 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsNotebookResponseVariant2? Type1768 { get; set; } + public global::HuggingFace.GetModelsNotebookResponseVariant2? Type1768 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsNotebookResponseVariant3? Type1769 { get; set; } + public global::HuggingFace.GetModelsNotebookResponseVariant3? Type1769 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type1770 { get; set; } + public global::HuggingFace.AnyOf? Type1770 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesNotebookResponseVariant1? Type1771 { get; set; } + public global::HuggingFace.GetDatasetsNotebookResponseVariant1? Type1771 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesNotebookResponseVariant2? Type1772 { get; set; } + public global::HuggingFace.GetDatasetsNotebookResponseVariant2? Type1772 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesNotebookResponseVariant3? Type1773 { get; set; } + public global::HuggingFace.GetDatasetsNotebookResponseVariant3? Type1773 { get; set; } /// /// /// - public global::HuggingFace.GetModelsScanResponse? Type1774 { get; set; } + public global::HuggingFace.AnyOf? Type1774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1775 { get; set; } + public global::HuggingFace.GetSpacesNotebookResponseVariant1? Type1775 { get; set; } /// /// /// - public global::HuggingFace.GetModelsScanResponseFilesWithIssue? Type1776 { get; set; } + public global::HuggingFace.GetSpacesNotebookResponseVariant2? Type1776 { get; set; } /// /// /// - public global::HuggingFace.GetModelsScanResponseFilesWithIssueLevel? Type1777 { get; set; } + public global::HuggingFace.GetSpacesNotebookResponseVariant3? Type1777 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsScanResponse? Type1778 { get; set; } + public global::HuggingFace.GetModelsScanResponse? Type1778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1779 { get; set; } + public global::System.Collections.Generic.IList? Type1779 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsScanResponseFilesWithIssue? Type1780 { get; set; } + public global::HuggingFace.GetModelsScanResponseFilesWithIssue? Type1780 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsScanResponseFilesWithIssueLevel? Type1781 { get; set; } + public global::HuggingFace.GetModelsScanResponseFilesWithIssueLevel? Type1781 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesScanResponse? Type1782 { get; set; } + public global::HuggingFace.GetDatasetsScanResponse? Type1782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1783 { get; set; } + public global::System.Collections.Generic.IList? Type1783 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesScanResponseFilesWithIssue? Type1784 { get; set; } + public global::HuggingFace.GetDatasetsScanResponseFilesWithIssue? Type1784 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesScanResponseFilesWithIssueLevel? Type1785 { get; set; } + public global::HuggingFace.GetDatasetsScanResponseFilesWithIssueLevel? Type1785 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsScanResponse? Type1786 { get; set; } + public global::HuggingFace.GetSpacesScanResponse? Type1786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1787 { get; set; } + public global::System.Collections.Generic.IList? Type1787 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsScanResponseFilesWithIssue? Type1788 { get; set; } + public global::HuggingFace.GetSpacesScanResponseFilesWithIssue? Type1788 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsScanResponseFilesWithIssueLevel? Type1789 { get; set; } + public global::HuggingFace.GetSpacesScanResponseFilesWithIssueLevel? Type1789 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponse? Type1790 { get; set; } + public global::HuggingFace.GetKernelsScanResponse? Type1790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1791 { get; set; } + public global::System.Collections.Generic.IList? Type1791 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussion? Type1792 { get; set; } + public global::HuggingFace.GetKernelsScanResponseFilesWithIssue? Type1792 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type1793 { get; set; } + public global::HuggingFace.GetKernelsScanResponseFilesWithIssueLevel? Type1793 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant1? Type1794 { get; set; } + public global::HuggingFace.GetDiscussionsResponse? Type1794 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant1Plan? Type1795 { get; set; } + public global::System.Collections.Generic.IList? Type1795 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant2? Type1796 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussion? Type1796 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant2PrimaryOrg? Type1797 { get; set; } + public global::HuggingFace.OneOf? Type1797 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant2PrimaryOrgPlan? Type1798 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant1? Type1798 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant2PrimaryOrgUserRole? Type1799 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant1Plan? Type1799 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1800 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant2? Type1800 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionTopReaction? Type1801 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant2PrimaryOrg? Type1801 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionTopReactionReaction? Type1802 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant2PrimaryOrgPlan? Type1802 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionStatus? Type1803 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionAuthorVariant2PrimaryOrgUserRole? Type1803 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionRepoOwner? Type1804 { get; set; } + public global::System.Collections.Generic.IList? Type1804 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseDiscussionRepoOwnerType? Type1805 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionTopReaction? Type1805 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsResponse? Type1806 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionTopReactionReaction? Type1806 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsResponseReferences? Type1807 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionStatus? Type1807 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type1808 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionRepoOwner? Type1808 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1? Type1809 { get; set; } + public global::HuggingFace.GetDiscussionsResponseDiscussionRepoOwnerType? Type1809 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type1810 { get; set; } + public global::HuggingFace.CreateDiscussionsResponse? Type1810 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant1? Type1811 { get; set; } + public global::HuggingFace.CreateDiscussionsResponseReferences? Type1811 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant1Plan? Type1812 { get; set; } + public global::HuggingFace.OneOf? Type1812 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant2? Type1813 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1? Type1813 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant2PrimaryOrg? Type1814 { get; set; } + public global::HuggingFace.OneOf? Type1814 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant2PrimaryOrgPlan? Type1815 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant1? Type1815 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant2PrimaryOrgUserRole? Type1816 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant1Plan? Type1816 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1Org? Type1817 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant2? Type1817 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1OrgPlan? Type1818 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant2PrimaryOrg? Type1818 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1Status? Type1819 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant2PrimaryOrgPlan? Type1819 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1? Type1820 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1AuthorVariant2PrimaryOrgUserRole? Type1820 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant1? Type1821 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1Org? Type1821 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant1OauthApp? Type1822 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1OrgPlan? Type1822 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant1OauthAppImageData? Type1823 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1Status? Type1823 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant1Plan? Type1824 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1? Type1824 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2? Type1825 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant1? Type1825 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2OauthApp? Type1826 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant1OauthApp? Type1826 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2OauthAppImageData? Type1827 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant1OauthAppImageData? Type1827 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2PrimaryOrg? Type1828 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant1Plan? Type1828 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2PrimaryOrgPlan? Type1829 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2? Type1829 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2PrimaryOrgUserRole? Type1830 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2OauthApp? Type1830 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1Data? Type1831 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2OauthAppImageData? Type1831 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataHiddenReason? Type1832 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2PrimaryOrg? Type1832 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatest? Type1833 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2PrimaryOrgPlan? Type1833 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant1? Type1834 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1AuthorVariant2PrimaryOrgUserRole? Type1834 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant1Plan? Type1835 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1Data? Type1835 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant2? Type1836 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataHiddenReason? Type1836 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant2PrimaryOrg? Type1837 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatest? Type1837 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant2PrimaryOrgPlan? Type1838 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant1? Type1838 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant2PrimaryOrgUserRole? Type1839 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant1Plan? Type1839 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1840 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant2? Type1840 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataReaction? Type1841 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant2PrimaryOrg? Type1841 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataReactionReaction? Type1842 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant2PrimaryOrgPlan? Type1842 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataIdentifiedLanguage? Type1843 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataLatestAuthorVariant2PrimaryOrgUserRole? Type1843 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2? Type1844 { get; set; } + public global::System.Collections.Generic.IList? Type1844 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant1? Type1845 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataReaction? Type1845 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant1OauthApp? Type1846 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataReactionReaction? Type1846 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant1OauthAppImageData? Type1847 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant1DataIdentifiedLanguage? Type1847 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant1Plan? Type1848 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2? Type1848 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2? Type1849 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant1? Type1849 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2OauthApp? Type1850 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant1OauthApp? Type1850 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2OauthAppImageData? Type1851 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant1OauthAppImageData? Type1851 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2PrimaryOrg? Type1852 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant1Plan? Type1852 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2PrimaryOrgPlan? Type1853 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2? Type1853 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2PrimaryOrgUserRole? Type1854 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2OauthApp? Type1854 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2Data? Type1855 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2OauthAppImageData? Type1855 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2DataStatus? Type1856 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2PrimaryOrg? Type1856 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3? Type1857 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2PrimaryOrgPlan? Type1857 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant1? Type1858 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2AuthorVariant2PrimaryOrgUserRole? Type1858 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant1OauthApp? Type1859 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2Data? Type1859 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant1OauthAppImageData? Type1860 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant2DataStatus? Type1860 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant1Plan? Type1861 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3? Type1861 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2? Type1862 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant1? Type1862 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2OauthApp? Type1863 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant1OauthApp? Type1863 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2OauthAppImageData? Type1864 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant1OauthAppImageData? Type1864 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2PrimaryOrg? Type1865 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant1Plan? Type1865 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2PrimaryOrgPlan? Type1866 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2? Type1866 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2PrimaryOrgUserRole? Type1867 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2OauthApp? Type1867 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3Data? Type1868 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2OauthAppImageData? Type1868 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4? Type1869 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2PrimaryOrg? Type1869 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant1? Type1870 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2PrimaryOrgPlan? Type1870 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant1OauthApp? Type1871 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3AuthorVariant2PrimaryOrgUserRole? Type1871 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant1OauthAppImageData? Type1872 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant3Data? Type1872 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant1Plan? Type1873 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4? Type1873 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2? Type1874 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant1? Type1874 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2OauthApp? Type1875 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant1OauthApp? Type1875 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2OauthAppImageData? Type1876 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant1OauthAppImageData? Type1876 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2PrimaryOrg? Type1877 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant1Plan? Type1877 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2PrimaryOrgPlan? Type1878 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2? Type1878 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2PrimaryOrgUserRole? Type1879 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2OauthApp? Type1879 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4Data? Type1880 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2OauthAppImageData? Type1880 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5? Type1881 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2PrimaryOrg? Type1881 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant1? Type1882 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2PrimaryOrgPlan? Type1882 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant1OauthApp? Type1883 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4AuthorVariant2PrimaryOrgUserRole? Type1883 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant1OauthAppImageData? Type1884 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant4Data? Type1884 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant1Plan? Type1885 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5? Type1885 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2? Type1886 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant1? Type1886 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2OauthApp? Type1887 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant1OauthApp? Type1887 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2OauthAppImageData? Type1888 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant1OauthAppImageData? Type1888 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2PrimaryOrg? Type1889 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant1Plan? Type1889 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2PrimaryOrgPlan? Type1890 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2? Type1890 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2PrimaryOrgUserRole? Type1891 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2OauthApp? Type1891 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5Data? Type1892 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2OauthAppImageData? Type1892 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6? Type1893 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2PrimaryOrg? Type1893 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant1? Type1894 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2PrimaryOrgPlan? Type1894 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant1OauthApp? Type1895 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5AuthorVariant2PrimaryOrgUserRole? Type1895 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant1OauthAppImageData? Type1896 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant5Data? Type1896 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant1Plan? Type1897 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6? Type1897 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2? Type1898 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant1? Type1898 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2OauthApp? Type1899 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant1OauthApp? Type1899 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2OauthAppImageData? Type1900 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant1OauthAppImageData? Type1900 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2PrimaryOrg? Type1901 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant1Plan? Type1901 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2PrimaryOrgPlan? Type1902 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2? Type1902 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2PrimaryOrgUserRole? Type1903 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2OauthApp? Type1903 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6Data? Type1904 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2OauthAppImageData? Type1904 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7? Type1905 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2PrimaryOrg? Type1905 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant1? Type1906 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2PrimaryOrgPlan? Type1906 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant1OauthApp? Type1907 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6AuthorVariant2PrimaryOrgUserRole? Type1907 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant1OauthAppImageData? Type1908 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant6Data? Type1908 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant1Plan? Type1909 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7? Type1909 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2? Type1910 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant1? Type1910 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2OauthApp? Type1911 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant1OauthApp? Type1911 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2OauthAppImageData? Type1912 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant1OauthAppImageData? Type1912 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2PrimaryOrg? Type1913 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant1Plan? Type1913 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2PrimaryOrgPlan? Type1914 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2? Type1914 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2PrimaryOrgUserRole? Type1915 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2OauthApp? Type1915 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7Data? Type1916 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2OauthAppImageData? Type1916 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8? Type1917 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2PrimaryOrg? Type1917 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant1? Type1918 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2PrimaryOrgPlan? Type1918 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant1OauthApp? Type1919 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7AuthorVariant2PrimaryOrgUserRole? Type1919 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant1OauthAppImageData? Type1920 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant7Data? Type1920 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant1Plan? Type1921 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8? Type1921 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2? Type1922 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant1? Type1922 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2OauthApp? Type1923 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant1OauthApp? Type1923 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2OauthAppImageData? Type1924 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant1OauthAppImageData? Type1924 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2PrimaryOrg? Type1925 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant1Plan? Type1925 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2PrimaryOrgPlan? Type1926 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2? Type1926 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2PrimaryOrgUserRole? Type1927 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2OauthApp? Type1927 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8Data? Type1928 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2OauthAppImageData? Type1928 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9? Type1929 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2PrimaryOrg? Type1929 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant1? Type1930 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2PrimaryOrgPlan? Type1930 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant1OauthApp? Type1931 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8AuthorVariant2PrimaryOrgUserRole? Type1931 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant1OauthAppImageData? Type1932 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant8Data? Type1932 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant1Plan? Type1933 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9? Type1933 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2? Type1934 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant1? Type1934 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2OauthApp? Type1935 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant1OauthApp? Type1935 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2OauthAppImageData? Type1936 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant1OauthAppImageData? Type1936 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2PrimaryOrg? Type1937 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant1Plan? Type1937 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2PrimaryOrgPlan? Type1938 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2? Type1938 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2PrimaryOrgUserRole? Type1939 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2OauthApp? Type1939 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9Data? Type1940 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2OauthAppImageData? Type1940 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant1Collection? Type1941 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2PrimaryOrg? Type1941 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2? Type1942 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2PrimaryOrgPlan? Type1942 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type1943 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9AuthorVariant2PrimaryOrgUserRole? Type1943 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant1? Type1944 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1EventVariant9Data? Type1944 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant1Plan? Type1945 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant1Collection? Type1945 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant2? Type1946 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2? Type1946 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant2PrimaryOrg? Type1947 { get; set; } + public global::HuggingFace.OneOf? Type1947 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant2PrimaryOrgPlan? Type1948 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant1? Type1948 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant2PrimaryOrgUserRole? Type1949 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant1Plan? Type1949 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2Org? Type1950 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant2? Type1950 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2OrgPlan? Type1951 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant2PrimaryOrg? Type1951 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2Status? Type1952 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant2PrimaryOrgPlan? Type1952 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1? Type1953 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2AuthorVariant2PrimaryOrgUserRole? Type1953 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant1? Type1954 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2Org? Type1954 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant1OauthApp? Type1955 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2OrgPlan? Type1955 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant1OauthAppImageData? Type1956 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2Status? Type1956 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant1Plan? Type1957 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1? Type1957 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2? Type1958 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant1? Type1958 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2OauthApp? Type1959 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant1OauthApp? Type1959 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2OauthAppImageData? Type1960 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant1OauthAppImageData? Type1960 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2PrimaryOrg? Type1961 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant1Plan? Type1961 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2PrimaryOrgPlan? Type1962 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2? Type1962 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2PrimaryOrgUserRole? Type1963 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2OauthApp? Type1963 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1Data? Type1964 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2OauthAppImageData? Type1964 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataHiddenReason? Type1965 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2PrimaryOrg? Type1965 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatest? Type1966 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2PrimaryOrgPlan? Type1966 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant1? Type1967 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1AuthorVariant2PrimaryOrgUserRole? Type1967 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant1Plan? Type1968 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1Data? Type1968 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant2? Type1969 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataHiddenReason? Type1969 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant2PrimaryOrg? Type1970 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatest? Type1970 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant2PrimaryOrgPlan? Type1971 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant1? Type1971 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant2PrimaryOrgUserRole? Type1972 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant1Plan? Type1972 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1973 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant2? Type1973 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataReaction? Type1974 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant2PrimaryOrg? Type1974 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataReactionReaction? Type1975 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant2PrimaryOrgPlan? Type1975 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataIdentifiedLanguage? Type1976 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataLatestAuthorVariant2PrimaryOrgUserRole? Type1976 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2? Type1977 { get; set; } + public global::System.Collections.Generic.IList? Type1977 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant1? Type1978 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataReaction? Type1978 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant1OauthApp? Type1979 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataReactionReaction? Type1979 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant1OauthAppImageData? Type1980 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant1DataIdentifiedLanguage? Type1980 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant1Plan? Type1981 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2? Type1981 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2? Type1982 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant1? Type1982 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2OauthApp? Type1983 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant1OauthApp? Type1983 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2OauthAppImageData? Type1984 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant1OauthAppImageData? Type1984 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2PrimaryOrg? Type1985 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant1Plan? Type1985 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2PrimaryOrgPlan? Type1986 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2? Type1986 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2PrimaryOrgUserRole? Type1987 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2OauthApp? Type1987 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2Data? Type1988 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2OauthAppImageData? Type1988 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2DataStatus? Type1989 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2PrimaryOrg? Type1989 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3? Type1990 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2PrimaryOrgPlan? Type1990 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant1? Type1991 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2AuthorVariant2PrimaryOrgUserRole? Type1991 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant1OauthApp? Type1992 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2Data? Type1992 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant1OauthAppImageData? Type1993 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant2DataStatus? Type1993 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant1Plan? Type1994 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3? Type1994 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2? Type1995 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant1? Type1995 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2OauthApp? Type1996 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant1OauthApp? Type1996 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2OauthAppImageData? Type1997 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant1OauthAppImageData? Type1997 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2PrimaryOrg? Type1998 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant1Plan? Type1998 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2PrimaryOrgPlan? Type1999 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2? Type1999 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2PrimaryOrgUserRole? Type2000 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2OauthApp? Type2000 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3Data? Type2001 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2OauthAppImageData? Type2001 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4? Type2002 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2PrimaryOrg? Type2002 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant1? Type2003 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2PrimaryOrgPlan? Type2003 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant1OauthApp? Type2004 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3AuthorVariant2PrimaryOrgUserRole? Type2004 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant1OauthAppImageData? Type2005 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant3Data? Type2005 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant1Plan? Type2006 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4? Type2006 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2? Type2007 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant1? Type2007 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2OauthApp? Type2008 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant1OauthApp? Type2008 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2OauthAppImageData? Type2009 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant1OauthAppImageData? Type2009 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2PrimaryOrg? Type2010 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant1Plan? Type2010 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2PrimaryOrgPlan? Type2011 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2? Type2011 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2PrimaryOrgUserRole? Type2012 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2OauthApp? Type2012 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4Data? Type2013 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2OauthAppImageData? Type2013 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5? Type2014 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2PrimaryOrg? Type2014 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant1? Type2015 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2PrimaryOrgPlan? Type2015 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant1OauthApp? Type2016 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4AuthorVariant2PrimaryOrgUserRole? Type2016 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant1OauthAppImageData? Type2017 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant4Data? Type2017 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant1Plan? Type2018 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5? Type2018 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2? Type2019 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant1? Type2019 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2OauthApp? Type2020 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant1OauthApp? Type2020 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2OauthAppImageData? Type2021 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant1OauthAppImageData? Type2021 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2PrimaryOrg? Type2022 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant1Plan? Type2022 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2PrimaryOrgPlan? Type2023 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2? Type2023 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2PrimaryOrgUserRole? Type2024 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2OauthApp? Type2024 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5Data? Type2025 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2OauthAppImageData? Type2025 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6? Type2026 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2PrimaryOrg? Type2026 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant1? Type2027 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2PrimaryOrgPlan? Type2027 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant1OauthApp? Type2028 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5AuthorVariant2PrimaryOrgUserRole? Type2028 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant1OauthAppImageData? Type2029 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant5Data? Type2029 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant1Plan? Type2030 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6? Type2030 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2? Type2031 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant1? Type2031 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2OauthApp? Type2032 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant1OauthApp? Type2032 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2OauthAppImageData? Type2033 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant1OauthAppImageData? Type2033 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2PrimaryOrg? Type2034 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant1Plan? Type2034 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2PrimaryOrgPlan? Type2035 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2? Type2035 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2PrimaryOrgUserRole? Type2036 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2OauthApp? Type2036 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6Data? Type2037 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2OauthAppImageData? Type2037 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7? Type2038 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2PrimaryOrg? Type2038 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant1? Type2039 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2PrimaryOrgPlan? Type2039 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant1OauthApp? Type2040 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6AuthorVariant2PrimaryOrgUserRole? Type2040 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant1OauthAppImageData? Type2041 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant6Data? Type2041 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant1Plan? Type2042 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7? Type2042 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2? Type2043 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant1? Type2043 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2OauthApp? Type2044 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant1OauthApp? Type2044 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2OauthAppImageData? Type2045 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant1OauthAppImageData? Type2045 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2PrimaryOrg? Type2046 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant1Plan? Type2046 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2PrimaryOrgPlan? Type2047 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2? Type2047 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2PrimaryOrgUserRole? Type2048 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2OauthApp? Type2048 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7Data? Type2049 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2OauthAppImageData? Type2049 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8? Type2050 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2PrimaryOrg? Type2050 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant1? Type2051 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2PrimaryOrgPlan? Type2051 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant1OauthApp? Type2052 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7AuthorVariant2PrimaryOrgUserRole? Type2052 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant1OauthAppImageData? Type2053 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant7Data? Type2053 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant1Plan? Type2054 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8? Type2054 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2? Type2055 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant1? Type2055 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2OauthApp? Type2056 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant1OauthApp? Type2056 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2OauthAppImageData? Type2057 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant1OauthAppImageData? Type2057 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2PrimaryOrg? Type2058 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant1Plan? Type2058 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2PrimaryOrgPlan? Type2059 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2? Type2059 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2PrimaryOrgUserRole? Type2060 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2OauthApp? Type2060 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8Data? Type2061 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2OauthAppImageData? Type2061 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9? Type2062 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2PrimaryOrg? Type2062 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant1? Type2063 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2PrimaryOrgPlan? Type2063 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant1OauthApp? Type2064 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8AuthorVariant2PrimaryOrgUserRole? Type2064 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant1OauthAppImageData? Type2065 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant8Data? Type2065 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant1Plan? Type2066 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9? Type2066 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2? Type2067 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant1? Type2067 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2OauthApp? Type2068 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant1OauthApp? Type2068 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2OauthAppImageData? Type2069 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant1OauthAppImageData? Type2069 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2PrimaryOrg? Type2070 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant1Plan? Type2070 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2PrimaryOrgPlan? Type2071 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2? Type2071 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2PrimaryOrgUserRole? Type2072 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2OauthApp? Type2072 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9Data? Type2073 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2OauthAppImageData? Type2073 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, bool?>? Type2074 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2PrimaryOrg? Type2074 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsResponseVariant2Changes? Type2075 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2PrimaryOrgPlan? Type2075 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponse? Type2076 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9AuthorVariant2PrimaryOrgUserRole? Type2076 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessage? Type2077 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2EventVariant9Data? Type2077 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant1? Type2078 { get; set; } + public global::HuggingFace.AnyOf, bool?>? Type2078 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant1OauthApp? Type2079 { get; set; } + public global::HuggingFace.GetDiscussionsResponseVariant2Changes? Type2079 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant1OauthAppImageData? Type2080 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponse? Type2080 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant1Plan? Type2081 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessage? Type2081 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2? Type2082 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant1? Type2082 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2OauthApp? Type2083 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant1OauthApp? Type2083 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2OauthAppImageData? Type2084 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant1OauthAppImageData? Type2084 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2PrimaryOrg? Type2085 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant1Plan? Type2085 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2086 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2? Type2086 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2087 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2OauthApp? Type2087 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageData? Type2088 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2OauthAppImageData? Type2088 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataHiddenReason? Type2089 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2PrimaryOrg? Type2089 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatest? Type2090 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2090 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant1? Type2091 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2091 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant1Plan? Type2092 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageData? Type2092 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant2? Type2093 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataHiddenReason? Type2093 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2094 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatest? Type2094 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2095 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant1? Type2095 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2096 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant1Plan? Type2096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2097 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant2? Type2097 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataReaction? Type2098 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2098 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataReactionReaction? Type2099 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2099 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataIdentifiedLanguage? Type2100 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2100 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponse? Type2101 { get; set; } + public global::System.Collections.Generic.IList? Type2101 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatus? Type2102 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataReaction? Type2102 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant1? Type2103 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataReactionReaction? Type2103 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant1OauthApp? Type2104 { get; set; } + public global::HuggingFace.CreateDiscussionsCommentResponseNewMessageDataIdentifiedLanguage? Type2104 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant1OauthAppImageData? Type2105 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponse? Type2105 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant1Plan? Type2106 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatus? Type2106 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2? Type2107 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant1? Type2107 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2OauthApp? Type2108 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant1OauthApp? Type2108 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2OauthAppImageData? Type2109 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant1OauthAppImageData? Type2109 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2PrimaryOrg? Type2110 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant1Plan? Type2110 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2PrimaryOrgPlan? Type2111 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2? Type2111 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2PrimaryOrgUserRole? Type2112 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2OauthApp? Type2112 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusData? Type2113 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2OauthAppImageData? Type2113 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusDataStatus? Type2114 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2PrimaryOrg? Type2114 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponse? Type2115 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2PrimaryOrgPlan? Type2115 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitle? Type2116 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusAuthorVariant2PrimaryOrgUserRole? Type2116 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2117 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusData? Type2117 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant1? Type2118 { get; set; } + public global::HuggingFace.CreateDiscussionsStatusResponseNewStatusDataStatus? Type2118 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant1OauthApp? Type2119 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponse? Type2119 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant1OauthAppImageData? Type2120 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitle? Type2120 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant1Plan? Type2121 { get; set; } + public global::HuggingFace.OneOf? Type2121 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2? Type2122 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant1? Type2122 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2OauthApp? Type2123 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant1OauthApp? Type2123 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2OauthAppImageData? Type2124 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant1OauthAppImageData? Type2124 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2PrimaryOrg? Type2125 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant1Plan? Type2125 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2PrimaryOrgPlan? Type2126 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2? Type2126 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2PrimaryOrgUserRole? Type2127 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2OauthApp? Type2127 { get; set; } /// /// /// - public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleData? Type2128 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2OauthAppImageData? Type2128 { get; set; } /// /// /// - public global::HuggingFace.GetDiscussionsStorageResponse? Type2129 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2PrimaryOrg? Type2129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2130 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2PrimaryOrgPlan? Type2130 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItem? Type2131 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleAuthorVariant2PrimaryOrgUserRole? Type2131 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2132 { get; set; } + public global::HuggingFace.CreateDiscussionsTitleResponseNewTitleData? Type2132 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadata? Type2133 { get; set; } + public global::HuggingFace.GetDiscussionsStorageResponse? Type2133 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibility? Type2134 { get; set; } + public global::System.Collections.Generic.IList? Type2134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2135 { get; set; } + public global::HuggingFace.GetKernelsResponseItem? Type2135 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibilityTorchItem? Type2136 { get; set; } + public global::HuggingFace.AnyOf? Type2136 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2137 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadata? Type2137 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibilityO? Type2138 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibility? Type2138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2139 { get; set; } + public global::System.Collections.Generic.IList? Type2139 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibilityArchItem? Type2140 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibilityTorchItem? Type2140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2141 { get; set; } + public global::System.Collections.Generic.IList? Type2141 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadataBackend? Type2142 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibilityO? Type2142 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadataBackendType? Type2143 { get; set; } + public global::System.Collections.Generic.IList? Type2143 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2144 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibilityArchItem? Type2144 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadataBackendHardwareType? Type2145 { get; set; } + public global::System.Collections.Generic.IList? Type2145 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemBuildMetadataBuilder? Type2146 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadataBackend? Type2146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2147 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadataBackendType? Type2147 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemSupportedDriverFamilie? Type2148 { get; set; } + public global::System.Collections.Generic.IList? Type2148 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseItemResourceGroup? Type2149 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadataBackendHardwareType? Type2149 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponse? Type2150 { get; set; } + public global::HuggingFace.GetKernelsResponseItemBuildMetadataBuilder? Type2150 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2151 { get; set; } + public global::System.Collections.Generic.IList? Type2151 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseGated? Type2152 { get; set; } + public global::HuggingFace.GetKernelsResponseItemSupportedDriverFamilie? Type2152 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseResourceGroup? Type2153 { get; set; } + public global::HuggingFace.GetKernelsResponseItemResourceGroup? Type2153 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2154 { get; set; } + public global::HuggingFace.GetKernelsResponse? Type2154 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseAuthorDataVariant1? Type2155 { get; set; } + public global::HuggingFace.AnyOf? Type2155 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseAuthorDataVariant1Plan? Type2156 { get; set; } + public global::HuggingFace.GetKernelsResponseGated? Type2156 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseAuthorDataVariant2? Type2157 { get; set; } + public global::HuggingFace.GetKernelsResponseResourceGroup? Type2157 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseAuthorDataVariant2PrimaryOrg? Type2158 { get; set; } + public global::HuggingFace.OneOf? Type2158 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseAuthorDataVariant2PrimaryOrgPlan? Type2159 { get; set; } + public global::HuggingFace.GetKernelsResponseAuthorDataVariant1? Type2159 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseAuthorDataVariant2PrimaryOrgUserRole? Type2160 { get; set; } + public global::HuggingFace.GetKernelsResponseAuthorDataVariant1Plan? Type2160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2161 { get; set; } + public global::HuggingFace.GetKernelsResponseAuthorDataVariant2? Type2161 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsResponseSupportedDriverFamilie? Type2162 { get; set; } + public global::HuggingFace.GetKernelsResponseAuthorDataVariant2PrimaryOrg? Type2162 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponse? Type2163 { get; set; } + public global::HuggingFace.GetKernelsResponseAuthorDataVariant2PrimaryOrgPlan? Type2163 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2164 { get; set; } + public global::HuggingFace.GetKernelsResponseAuthorDataVariant2PrimaryOrgUserRole? Type2164 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseGated? Type2165 { get; set; } + public global::System.Collections.Generic.IList? Type2165 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseResourceGroup? Type2166 { get; set; } + public global::HuggingFace.GetKernelsResponseSupportedDriverFamilie? Type2166 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2167 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponse? Type2167 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant1? Type2168 { get; set; } + public global::HuggingFace.AnyOf? Type2168 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant1Plan? Type2169 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseGated? Type2169 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant2? Type2170 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseResourceGroup? Type2170 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant2PrimaryOrg? Type2171 { get; set; } + public global::HuggingFace.OneOf? Type2171 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant2PrimaryOrgPlan? Type2172 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant1? Type2172 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant2PrimaryOrgUserRole? Type2173 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant1Plan? Type2173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2174 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant2? Type2174 { get; set; } /// /// /// - public global::HuggingFace.GetKernelsRevisionResponseSupportedDriverFamilie? Type2175 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant2PrimaryOrg? Type2175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2176 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant2PrimaryOrgPlan? Type2176 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItem? Type2177 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseAuthorDataVariant2PrimaryOrgUserRole? Type2177 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2178 { get; set; } + public global::System.Collections.Generic.IList? Type2178 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant1? Type2179 { get; set; } + public global::HuggingFace.GetKernelsRevisionResponseSupportedDriverFamilie? Type2179 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant1Plan? Type2180 { get; set; } + public global::System.Collections.Generic.IList? Type2180 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant2? Type2181 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItem? Type2181 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant2PrimaryOrg? Type2182 { get; set; } + public global::HuggingFace.OneOf? Type2182 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant2PrimaryOrgPlan? Type2183 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant1? Type2183 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant2PrimaryOrgUserRole? Type2184 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant1Plan? Type2184 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemSource? Type2185 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant2? Type2185 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant1? Type2186 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant2PrimaryOrg? Type2186 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant1Plan? Type2187 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant2PrimaryOrgPlan? Type2187 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant2? Type2188 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemAuthorVariant2PrimaryOrgUserRole? Type2188 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant2PrimaryOrg? Type2189 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemSource? Type2189 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant2PrimaryOrgPlan? Type2190 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant1? Type2190 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant2PrimaryOrgUserRole? Type2191 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant1Plan? Type2191 { get; set; } /// /// /// - public global::HuggingFace.GetModelsJwtResponse? Type2192 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant2? Type2192 { get; set; } /// /// /// - public global::HuggingFace.GetModelsJwtResponseEncryptedToken? Type2193 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant2PrimaryOrg? Type2193 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesJwtResponse? Type2194 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant2PrimaryOrgPlan? Type2194 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesJwtResponseEncryptedToken? Type2195 { get; set; } + public global::HuggingFace.GetDatasetsLeaderboardResponseItemSourceAuthorVariant2PrimaryOrgUserRole? Type2195 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsJwtResponse? Type2196 { get; set; } + public global::HuggingFace.GetModelsJwtResponse? Type2196 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsJwtResponseEncryptedToken? Type2197 { get; set; } + public global::HuggingFace.GetModelsJwtResponseEncryptedToken? Type2197 { get; set; } /// /// /// - public global::HuggingFace.GetAgentHarnessesResponse? Type2198 { get; set; } + public global::HuggingFace.GetSpacesJwtResponse? Type2198 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type2199 { get; set; } + public global::HuggingFace.GetSpacesJwtResponseEncryptedToken? Type2199 { get; set; } /// /// /// - public global::HuggingFace.GetAgentHarnessesResponseHarnesses2? Type2200 { get; set; } + public global::HuggingFace.GetDatasetsJwtResponse? Type2200 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type2201 { get; set; } + public global::HuggingFace.GetDatasetsJwtResponseEncryptedToken? Type2201 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2202 { get; set; } + public global::HuggingFace.GetAgentHarnessesResponse? Type2202 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTagsByTypeResponseItem? Type2203 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2203 { get; set; } /// /// /// - public global::HuggingFace.GetModelsTagsByTypeResponseItemType? Type2204 { get; set; } + public global::HuggingFace.GetAgentHarnessesResponseHarnesses2? Type2204 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type2205 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type2205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2206 { get; set; } + public global::System.Collections.Generic.IList? Type2206 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTagsByTypeResponseItem? Type2207 { get; set; } + public global::HuggingFace.GetModelsTagsByTypeResponseItem? Type2207 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsTagsByTypeResponseItemType? Type2208 { get; set; } + public global::HuggingFace.GetModelsTagsByTypeResponseItemType? Type2208 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponse? Type2209 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type2209 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1? Type2210 { get; set; } + public global::System.Collections.Generic.IList? Type2210 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoData? Type2211 { get; set; } + public global::HuggingFace.GetDatasetsTagsByTypeResponseItem? Type2211 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfo? Type2212 { get; set; } + public global::HuggingFace.GetDatasetsTagsByTypeResponseItemType? Type2212 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoViewer? Type2213 { get; set; } + public global::HuggingFace.GetTrendingResponse? Type2213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2214 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1? Type2214 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie? Type2215 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoData? Type2215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2216 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfo? Type2216 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoFormat? Type2217 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoViewer? Type2217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2218 { get; set; } + public global::System.Collections.Generic.IList? Type2218 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoModalitie? Type2219 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie? Type2219 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2220 { get; set; } + public global::System.Collections.Generic.IList? Type2220 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataGated? Type2221 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoFormat? Type2221 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataResourceGroup? Type2222 { get; set; } + public global::System.Collections.Generic.IList? Type2222 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2? Type2223 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoModalitie? Type2223 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoData? Type2224 { get; set; } + public global::HuggingFace.AnyOf? Type2224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2225 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataGated? Type2225 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProvider? Type2226 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataResourceGroup? Type2226 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderProvider? Type2227 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2? Type2227 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderProviderStatus? Type2228 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoData? Type2228 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderModelStatus? Type2229 { get; set; } + public global::System.Collections.Generic.IList? Type2229 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderTask? Type2230 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProvider? Type2230 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderFeatures? Type2231 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderProvider? Type2231 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2232 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderProviderStatus? Type2232 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataGated? Type2233 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderModelStatus? Type2233 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataResourceGroup? Type2234 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderTask? Type2234 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant1? Type2235 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAvailableInferenceProviderFeatures? Type2235 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant1Plan? Type2236 { get; set; } + public global::HuggingFace.AnyOf? Type2236 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant2? Type2237 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataGated? Type2237 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant2PrimaryOrg? Type2238 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataResourceGroup? Type2238 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant2PrimaryOrgPlan? Type2239 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant1? Type2239 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant2PrimaryOrgUserRole? Type2240 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant1Plan? Type2240 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3? Type2241 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant2? Type2241 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoData? Type2242 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant2PrimaryOrg? Type2242 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataSdk? Type2243 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant2PrimaryOrgPlan? Type2243 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntime? Type2244 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant2RepoDataAuthorDataVariant2PrimaryOrgUserRole? Type2244 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeStage? Type2245 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3? Type2245 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeHardware? Type2246 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoData? Type2246 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeHardwareCurrent? Type2247 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataSdk? Type2247 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeHardwareRequested? Type2248 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntime? Type2248 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeReplicas? Type2249 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeStage? Type2249 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2250 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeHardware? Type2250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2251 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeHardwareCurrent? Type2251 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeDomain? Type2252 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeHardwareRequested? Type2252 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeDomainStage? Type2253 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeReplicas? Type2253 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeHotReloading? Type2254 { get; set; } + public global::HuggingFace.AnyOf? Type2254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2255 { get; set; } + public global::System.Collections.Generic.IList? Type2255 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepo? Type2256 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeDomain? Type2256 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant1? Type2257 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeDomainStage? Type2257 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant1Plan? Type2258 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataRuntimeHotReloading? Type2258 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant2? Type2259 { get; set; } + public global::System.Collections.Generic.IList>? Type2259 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant2PrimaryOrg? Type2260 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepo? Type2260 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant2PrimaryOrgPlan? Type2261 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant1? Type2261 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant2PrimaryOrgUserRole? Type2262 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant1Plan? Type2262 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataResourceGroup? Type2263 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant2? Type2263 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant1? Type2264 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant2PrimaryOrg? Type2264 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant1Plan? Type2265 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant2PrimaryOrgPlan? Type2265 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant2? Type2266 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataOriginRepoAuthorVariant2PrimaryOrgUserRole? Type2266 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant2PrimaryOrg? Type2267 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataResourceGroup? Type2267 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant2PrimaryOrgPlan? Type2268 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant1? Type2268 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant2PrimaryOrgUserRole? Type2269 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant1Plan? Type2269 { get; set; } /// /// /// - public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataVisibility? Type2270 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant2? Type2270 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponse? Type2271 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant2PrimaryOrg? Type2271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2272 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant2PrimaryOrgPlan? Type2272 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseDataset? Type2273 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataAuthorDataVariant2PrimaryOrgUserRole? Type2273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2274 { get; set; } + public global::HuggingFace.GetTrendingResponseRecentlyTrendingItemVariant3RepoDataVisibility? Type2274 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseModel? Type2275 { get; set; } + public global::HuggingFace.GetQuicksearchResponse? Type2275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2276 { get; set; } + public global::System.Collections.Generic.IList? Type2276 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseOrg? Type2277 { get; set; } + public global::HuggingFace.GetQuicksearchResponseDataset? Type2277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2278 { get; set; } + public global::System.Collections.Generic.IList? Type2278 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseSpace? Type2279 { get; set; } + public global::HuggingFace.GetQuicksearchResponseModel? Type2279 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2280 { get; set; } + public global::System.Collections.Generic.IList? Type2280 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseUser? Type2281 { get; set; } + public global::HuggingFace.GetQuicksearchResponseOrg? Type2281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2282 { get; set; } + public global::System.Collections.Generic.IList? Type2282 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponsePaper? Type2283 { get; set; } + public global::HuggingFace.GetQuicksearchResponseSpace? Type2283 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2284 { get; set; } + public global::System.Collections.Generic.IList? Type2284 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseCollection? Type2285 { get; set; } + public global::HuggingFace.GetQuicksearchResponseUser? Type2285 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2286 { get; set; } + public global::System.Collections.Generic.IList? Type2286 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseBucket? Type2287 { get; set; } + public global::HuggingFace.GetQuicksearchResponsePaper? Type2287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2288 { get; set; } + public global::System.Collections.Generic.IList? Type2288 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseContainer? Type2289 { get; set; } + public global::HuggingFace.GetQuicksearchResponseCollection? Type2289 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2290 { get; set; } + public global::System.Collections.Generic.IList? Type2290 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseKernel? Type2291 { get; set; } + public global::HuggingFace.GetQuicksearchResponseBucket? Type2291 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2292 { get; set; } + public global::System.Collections.Generic.IList? Type2292 { get; set; } /// /// /// - public global::HuggingFace.GetQuicksearchResponseBlog? Type2293 { get; set; } + public global::HuggingFace.GetQuicksearchResponseContainer? Type2293 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponse? Type2294 { get; set; } + public global::System.Collections.Generic.IList? Type2294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2295 { get; set; } + public global::HuggingFace.GetQuicksearchResponseKernel? Type2295 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseDataset? Type2296 { get; set; } + public global::System.Collections.Generic.IList? Type2296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2297 { get; set; } + public global::HuggingFace.GetQuicksearchResponseBlog? Type2297 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseModel? Type2298 { get; set; } + public global::HuggingFace.CreateQuicksearchResponse? Type2298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2299 { get; set; } + public global::System.Collections.Generic.IList? Type2299 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseOrg? Type2300 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseDataset? Type2300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2301 { get; set; } + public global::System.Collections.Generic.IList? Type2301 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseSpace? Type2302 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseModel? Type2302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2303 { get; set; } + public global::System.Collections.Generic.IList? Type2303 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseUser? Type2304 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseOrg? Type2304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2305 { get; set; } + public global::System.Collections.Generic.IList? Type2305 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponsePaper? Type2306 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseSpace? Type2306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2307 { get; set; } + public global::System.Collections.Generic.IList? Type2307 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseCollection? Type2308 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseUser? Type2308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2309 { get; set; } + public global::System.Collections.Generic.IList? Type2309 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseBucket? Type2310 { get; set; } + public global::HuggingFace.CreateQuicksearchResponsePaper? Type2310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2311 { get; set; } + public global::System.Collections.Generic.IList? Type2311 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseContainer? Type2312 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseCollection? Type2312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2313 { get; set; } + public global::System.Collections.Generic.IList? Type2313 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseKernel? Type2314 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseBucket? Type2314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2315 { get; set; } + public global::System.Collections.Generic.IList? Type2315 { get; set; } /// /// /// - public global::HuggingFace.CreateQuicksearchResponseBlog? Type2316 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseContainer? Type2316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2317 { get; set; } + public global::System.Collections.Generic.IList? Type2317 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesHardwareResponseItem? Type2318 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseKernel? Type2318 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesHardwareResponseItemAccelerator? Type2319 { get; set; } + public global::System.Collections.Generic.IList? Type2319 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesHardwareResponseItemAcceleratorType? Type2320 { get; set; } + public global::HuggingFace.CreateQuicksearchResponseBlog? Type2320 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesHardwareResponseItemAcceleratorManufacturer? Type2321 { get; set; } + public global::System.Collections.Generic.IList? Type2321 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTemplatesResponse? Type2322 { get; set; } + public global::HuggingFace.GetSpacesHardwareResponseItem? Type2322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2323 { get; set; } + public global::HuggingFace.GetSpacesHardwareResponseItemAccelerator? Type2323 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTemplatesResponseTemplate? Type2324 { get; set; } + public global::HuggingFace.GetSpacesHardwareResponseItemAcceleratorType? Type2324 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesTemplatesResponseTemplateSdk? Type2325 { get; set; } + public global::HuggingFace.GetSpacesHardwareResponseItemAcceleratorManufacturer? Type2325 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesZeroGpuQuotaResponse? Type2326 { get; set; } + public global::HuggingFace.GetSpacesTemplatesResponse? Type2326 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesZeroGpuQuotaResponseRuns? Type2327 { get; set; } + public global::System.Collections.Generic.IList? Type2327 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type2328 { get; set; } + public global::HuggingFace.GetSpacesTemplatesResponseTemplate? Type2328 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesSecretsResponse2? Type2329 { get; set; } + public global::HuggingFace.GetSpacesTemplatesResponseTemplateSdk? Type2329 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type2330 { get; set; } + public global::HuggingFace.GetSpacesZeroGpuQuotaResponse? Type2330 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesVariablesResponse2? Type2331 { get; set; } + public global::HuggingFace.GetSpacesZeroGpuQuotaResponseRuns? Type2331 { get; set; } /// /// /// - public global::HuggingFace.CreateDuplicateResponse? Type2332 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2332 { get; set; } /// /// /// - public global::HuggingFace.GetDuplicateStatusResponse? Type2333 { get; set; } + public global::HuggingFace.GetSpacesSecretsResponse2? Type2333 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateResponse? Type2334 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2334 { get; set; } /// /// /// - public global::HuggingFace.CreateReposCreateResponse2? Type2335 { get; set; } + public global::HuggingFace.GetSpacesVariablesResponse2? Type2335 { get; set; } /// /// /// - public global::HuggingFace.PatchSqlConsoleEmbedResponse? Type2336 { get; set; } + public global::HuggingFace.CreateDuplicateResponse? Type2336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2337 { get; set; } + public global::HuggingFace.GetDuplicateStatusResponse? Type2337 { get; set; } /// /// /// - public global::HuggingFace.PatchSqlConsoleEmbedResponseView? Type2338 { get; set; } + public global::HuggingFace.CreateReposCreateResponse? Type2338 { get; set; } /// /// /// - public global::HuggingFace.DeleteSqlConsoleEmbedResponse? Type2339 { get; set; } + public global::HuggingFace.CreateReposCreateResponse2? Type2339 { get; set; } /// /// /// - public global::HuggingFace.CreateSqlConsoleEmbedHideResponse? Type2340 { get; set; } + public global::HuggingFace.PatchSqlConsoleEmbedResponse? Type2340 { get; set; } /// /// /// - public global::HuggingFace.CreateSqlConsoleEmbedResponse? Type2341 { get; set; } + public global::System.Collections.Generic.IList? Type2341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2342 { get; set; } + public global::HuggingFace.PatchSqlConsoleEmbedResponseView? Type2342 { get; set; } /// /// /// - public global::HuggingFace.CreateSqlConsoleEmbedResponseView? Type2343 { get; set; } + public global::HuggingFace.DeleteSqlConsoleEmbedResponse? Type2343 { get; set; } /// /// /// - public global::HuggingFace.GetSpacesResolveResponse? Type2344 { get; set; } + public global::HuggingFace.CreateSqlConsoleEmbedHideResponse? Type2344 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsResolveResponse? Type2345 { get; set; } + public global::HuggingFace.CreateSqlConsoleEmbedResponse? Type2345 { get; set; } /// /// /// - public global::HuggingFace.GetResolveResponse? Type2346 { get; set; } + public global::System.Collections.Generic.IList? Type2346 { get; set; } /// /// /// - public global::HuggingFace.GetResolveCacheSpacesResponse? Type2347 { get; set; } + public global::HuggingFace.CreateSqlConsoleEmbedResponseView? Type2347 { get; set; } /// /// /// - public global::HuggingFace.GetResolveCacheDatasetsResponse? Type2348 { get; set; } + public global::HuggingFace.GetSpacesResolveResponse? Type2348 { get; set; } /// /// /// - public global::HuggingFace.GetResolveCacheModelsResponse? Type2349 { get; set; } + public global::HuggingFace.GetDatasetsResolveResponse? Type2349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2350 { get; set; } + public global::HuggingFace.GetResolveResponse? Type2350 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItem? Type2351 { get; set; } + public global::HuggingFace.GetResolveCacheSpacesResponse? Type2351 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItemUser? Type2352 { get; set; } + public global::HuggingFace.GetResolveCacheDatasetsResponse? Type2352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2353 { get; set; } + public global::HuggingFace.GetResolveCacheModelsResponse? Type2353 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItemUserOrg? Type2354 { get; set; } + public global::System.Collections.Generic.IList? Type2354 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItemUserServiceAccount? Type2355 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItem? Type2355 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItemGrantedByVariant1? Type2356 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItemUser? Type2356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2357 { get; set; } + public global::System.Collections.Generic.IList? Type2357 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItemGrantedByVariant1Org? Type2358 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItemUserOrg? Type2358 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItemGrantedByVariant1ServiceAccount? Type2359 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItemUserServiceAccount? Type2359 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItemGrantedByVariant2? Type2360 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItemGrantedByVariant1? Type2360 { get; set; } /// /// /// - public global::HuggingFace.GetModelsUserAccessRequestResponseItemStatus? Type2361 { get; set; } + public global::System.Collections.Generic.IList? Type2361 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2362 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItemGrantedByVariant1Org? Type2362 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItem? Type2363 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItemGrantedByVariant1ServiceAccount? Type2363 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemUser? Type2364 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItemGrantedByVariant2? Type2364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2365 { get; set; } + public global::HuggingFace.GetModelsUserAccessRequestResponseItemStatus? Type2365 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemUserOrg? Type2366 { get; set; } + public global::System.Collections.Generic.IList? Type2366 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemUserServiceAccount? Type2367 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItem? Type2367 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemGrantedByVariant1? Type2368 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemUser? Type2368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2369 { get; set; } + public global::System.Collections.Generic.IList? Type2369 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemGrantedByVariant1Org? Type2370 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemUserOrg? Type2370 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemGrantedByVariant1ServiceAccount? Type2371 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemUserServiceAccount? Type2371 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemGrantedByVariant2? Type2372 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemGrantedByVariant1? Type2372 { get; set; } /// /// /// - public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemStatus? Type2373 { get; set; } + public global::System.Collections.Generic.IList? Type2373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2374 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemGrantedByVariant1Org? Type2374 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsUserAccessRequestBatchResponseItem? Type2375 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemGrantedByVariant1ServiceAccount? Type2375 { get; set; } /// /// /// - public global::HuggingFace.CreateModelsUserAccessRequestBatchResponseItemError? Type2376 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemGrantedByVariant2? Type2376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2377 { get; set; } + public global::HuggingFace.GetDatasetsUserAccessRequestResponseItemStatus? Type2377 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsUserAccessRequestBatchResponseItem? Type2378 { get; set; } + public global::System.Collections.Generic.IList? Type2378 { get; set; } /// /// /// - public global::HuggingFace.CreateDatasetsUserAccessRequestBatchResponseItemError? Type2379 { get; set; } + public global::HuggingFace.CreateModelsUserAccessRequestBatchResponseItem? Type2379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2380 { get; set; } + public global::HuggingFace.CreateModelsUserAccessRequestBatchResponseItemError? Type2380 { get; set; } /// /// /// - public global::HuggingFace.GetDailyPapersResponseItem? Type2381 { get; set; } + public global::System.Collections.Generic.IList? Type2381 { get; set; } /// /// /// - public global::HuggingFace.GetDailyPapersResponseItemPaper? Type2382 { get; set; } + public global::HuggingFace.CreateDatasetsUserAccessRequestBatchResponseItem? Type2382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2383 { get; set; } + public global::HuggingFace.CreateDatasetsUserAccessRequestBatchResponseItemError? Type2383 { get; set; } /// /// /// - public global::HuggingFace.GetDailyPapersResponseItemPaperAuthor? Type2384 { get; set; } + public global::System.Collections.Generic.IList? Type2384 { get; set; } /// /// /// - public global::HuggingFace.GetDailyPapersResponseItemPaperAuthorUser? Type2385 { get; set; } + public global::HuggingFace.GetDailyPapersResponseItem? Type2385 { get; set; } /// /// /// - public global::HuggingFace.GetDailyPapersResponseItemPaperSubmittedOnDailyBy? Type2386 { get; set; } + public global::HuggingFace.GetDailyPapersResponseItemPaper? Type2386 { get; set; } /// /// /// - public global::HuggingFace.GetDailyPapersResponseItemSubmittedBy? Type2387 { get; set; } + public global::System.Collections.Generic.IList? Type2387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2388 { get; set; } + public global::HuggingFace.GetDailyPapersResponseItemPaperAuthor? Type2388 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseItem? Type2389 { get; set; } + public global::HuggingFace.GetDailyPapersResponseItemPaperAuthorUser? Type2389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2390 { get; set; } + public global::HuggingFace.GetDailyPapersResponseItemPaperSubmittedOnDailyBy? Type2390 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseItemAuthor? Type2391 { get; set; } + public global::HuggingFace.GetDailyPapersResponseItemSubmittedBy? Type2391 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseItemAuthorUser? Type2392 { get; set; } + public global::System.Collections.Generic.IList? Type2392 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseItemOrganization? Type2393 { get; set; } + public global::HuggingFace.GetPapersResponseItem? Type2393 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersIndexResponse? Type2394 { get; set; } + public global::System.Collections.Generic.IList? Type2394 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponse? Type2395 { get; set; } + public global::HuggingFace.GetPapersResponseItemAuthor? Type2395 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2396 { get; set; } + public global::HuggingFace.GetPapersResponseItemAuthorUser? Type2396 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseAuthor? Type2397 { get; set; } + public global::HuggingFace.GetPapersResponseItemOrganization? Type2397 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseAuthorUser? Type2398 { get; set; } + public global::HuggingFace.CreatePapersIndexResponse? Type2398 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseSubmittedOnDailyBy? Type2399 { get; set; } + public global::HuggingFace.GetPapersResponse? Type2399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2400 { get; set; } + public global::System.Collections.Generic.IList? Type2400 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModel? Type2401 { get; set; } + public global::HuggingFace.GetPapersResponseAuthor? Type2401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2402 { get; set; } + public global::HuggingFace.GetPapersResponseAuthorUser? Type2402 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProvider? Type2403 { get; set; } + public global::HuggingFace.GetPapersResponseSubmittedOnDailyBy? Type2403 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderProvider? Type2404 { get; set; } + public global::System.Collections.Generic.IList? Type2404 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderProviderStatus? Type2405 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModel? Type2405 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderModelStatus? Type2406 { get; set; } + public global::System.Collections.Generic.IList? Type2406 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderTask? Type2407 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProvider? Type2407 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderFeatures? Type2408 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderProvider? Type2408 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2409 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderProviderStatus? Type2409 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelGated? Type2410 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderModelStatus? Type2410 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelResourceGroup? Type2411 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderTask? Type2411 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2412 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAvailableInferenceProviderFeatures? Type2412 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant1? Type2413 { get; set; } + public global::HuggingFace.AnyOf? Type2413 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant1Plan? Type2414 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelGated? Type2414 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant2? Type2415 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelResourceGroup? Type2415 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant2PrimaryOrg? Type2416 { get; set; } + public global::HuggingFace.OneOf? Type2416 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant2PrimaryOrgPlan? Type2417 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant1? Type2417 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant2PrimaryOrgUserRole? Type2418 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant1Plan? Type2418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2419 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant2? Type2419 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedDataset? Type2420 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant2PrimaryOrg? Type2420 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfo? Type2421 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant2PrimaryOrgPlan? Type2421 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfoViewer? Type2422 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedModelAuthorDataVariant2PrimaryOrgUserRole? Type2422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2423 { get; set; } + public global::System.Collections.Generic.IList? Type2423 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie? Type2424 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedDataset? Type2424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2425 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfo? Type2425 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfoFormat? Type2426 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfoViewer? Type2426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2427 { get; set; } + public global::System.Collections.Generic.IList? Type2427 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfoModalitie? Type2428 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie? Type2428 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2429 { get; set; } + public global::System.Collections.Generic.IList? Type2429 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedDatasetGated? Type2430 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfoFormat? Type2430 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedDatasetResourceGroup? Type2431 { get; set; } + public global::System.Collections.Generic.IList? Type2431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2432 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedDatasetDatasetsServerInfoModalitie? Type2432 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseLinkedSpace? Type2433 { get; set; } + public global::HuggingFace.AnyOf? Type2433 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2434 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedDatasetGated? Type2434 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseComment? Type2435 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedDatasetResourceGroup? Type2435 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2436 { get; set; } + public global::System.Collections.Generic.IList? Type2436 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant1? Type2437 { get; set; } + public global::HuggingFace.GetPapersResponseLinkedSpace? Type2437 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant1OauthApp? Type2438 { get; set; } + public global::System.Collections.Generic.IList? Type2438 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant1OauthAppImageData? Type2439 { get; set; } + public global::HuggingFace.GetPapersResponseComment? Type2439 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant1Plan? Type2440 { get; set; } + public global::HuggingFace.OneOf? Type2440 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant2? Type2441 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant1? Type2441 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant2OauthApp? Type2442 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant1OauthApp? Type2442 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant2OauthAppImageData? Type2443 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant1OauthAppImageData? Type2443 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant2PrimaryOrg? Type2444 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant1Plan? Type2444 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant2PrimaryOrgPlan? Type2445 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant2? Type2445 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentAuthorVariant2PrimaryOrgUserRole? Type2446 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant2OauthApp? Type2446 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentData? Type2447 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant2OauthAppImageData? Type2447 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataHiddenReason? Type2448 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant2PrimaryOrg? Type2448 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataLatest? Type2449 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant2PrimaryOrgPlan? Type2449 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2450 { get; set; } + public global::HuggingFace.GetPapersResponseCommentAuthorVariant2PrimaryOrgUserRole? Type2450 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant1? Type2451 { get; set; } + public global::HuggingFace.GetPapersResponseCommentData? Type2451 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant1Plan? Type2452 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataHiddenReason? Type2452 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant2? Type2453 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataLatest? Type2453 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant2PrimaryOrg? Type2454 { get; set; } + public global::HuggingFace.OneOf? Type2454 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant2PrimaryOrgPlan? Type2455 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant1? Type2455 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant2PrimaryOrgUserRole? Type2456 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant1Plan? Type2456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2457 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant2? Type2457 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataReaction? Type2458 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant2PrimaryOrg? Type2458 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataReactionReaction? Type2459 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant2PrimaryOrgPlan? Type2459 { get; set; } /// /// /// - public global::HuggingFace.GetPapersResponseCommentDataIdentifiedLanguage? Type2460 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataLatestAuthorVariant2PrimaryOrgUserRole? Type2460 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponse? Type2461 { get; set; } + public global::System.Collections.Generic.IList? Type2461 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessage? Type2462 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataReaction? Type2462 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2463 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataReactionReaction? Type2463 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant1? Type2464 { get; set; } + public global::HuggingFace.GetPapersResponseCommentDataIdentifiedLanguage? Type2464 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant1OauthApp? Type2465 { get; set; } + public global::HuggingFace.CreatePapersCommentResponse? Type2465 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant1OauthAppImageData? Type2466 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessage? Type2466 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant1Plan? Type2467 { get; set; } + public global::HuggingFace.OneOf? Type2467 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2? Type2468 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant1? Type2468 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2OauthApp? Type2469 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant1OauthApp? Type2469 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2OauthAppImageData? Type2470 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant1OauthAppImageData? Type2470 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2PrimaryOrg? Type2471 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant1Plan? Type2471 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2472 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2? Type2472 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2473 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2OauthApp? Type2473 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageData? Type2474 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2OauthAppImageData? Type2474 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataHiddenReason? Type2475 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2PrimaryOrg? Type2475 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatest? Type2476 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2476 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant1? Type2477 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2477 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant1Plan? Type2478 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageData? Type2478 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant2? Type2479 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataHiddenReason? Type2479 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2480 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatest? Type2480 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2481 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant1? Type2481 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2482 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant1Plan? Type2482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2483 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant2? Type2483 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataReaction? Type2484 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2484 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataReactionReaction? Type2485 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2485 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentResponseNewMessageDataIdentifiedLanguage? Type2486 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2486 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponse? Type2487 { get; set; } + public global::System.Collections.Generic.IList? Type2487 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessage? Type2488 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataReaction? Type2488 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant1? Type2489 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataReactionReaction? Type2489 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant1OauthApp? Type2490 { get; set; } + public global::HuggingFace.CreatePapersCommentResponseNewMessageDataIdentifiedLanguage? Type2490 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant1OauthAppImageData? Type2491 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponse? Type2491 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant1Plan? Type2492 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessage? Type2492 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2? Type2493 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant1? Type2493 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2OauthApp? Type2494 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant1OauthApp? Type2494 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2OauthAppImageData? Type2495 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant1OauthAppImageData? Type2495 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2PrimaryOrg? Type2496 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant1Plan? Type2496 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2497 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2? Type2497 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2498 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2OauthApp? Type2498 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageData? Type2499 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2OauthAppImageData? Type2499 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataHiddenReason? Type2500 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2PrimaryOrg? Type2500 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatest? Type2501 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2501 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant1? Type2502 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2502 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant1Plan? Type2503 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageData? Type2503 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant2? Type2504 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataHiddenReason? Type2504 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2505 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatest? Type2505 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2506 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant1? Type2506 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2507 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant1Plan? Type2507 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2508 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant2? Type2508 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataReaction? Type2509 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2509 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataReactionReaction? Type2510 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2510 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataIdentifiedLanguage? Type2511 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2511 { get; set; } /// /// /// - public global::HuggingFace.CreatePapersLinksResponse? Type2512 { get; set; } + public global::System.Collections.Generic.IList? Type2512 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponse? Type2513 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataReaction? Type2513 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessage? Type2514 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataReactionReaction? Type2514 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2515 { get; set; } + public global::HuggingFace.CreatePapersCommentReplyResponseNewMessageDataIdentifiedLanguage? Type2515 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant1? Type2516 { get; set; } + public global::HuggingFace.CreatePapersLinksResponse? Type2516 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant1OauthApp? Type2517 { get; set; } + public global::HuggingFace.CreatePostsCommentResponse? Type2517 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant1OauthAppImageData? Type2518 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessage? Type2518 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant1Plan? Type2519 { get; set; } + public global::HuggingFace.OneOf? Type2519 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2? Type2520 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant1? Type2520 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2OauthApp? Type2521 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant1OauthApp? Type2521 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2OauthAppImageData? Type2522 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant1OauthAppImageData? Type2522 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2PrimaryOrg? Type2523 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant1Plan? Type2523 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2524 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2? Type2524 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2525 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2OauthApp? Type2525 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageData? Type2526 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2OauthAppImageData? Type2526 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataHiddenReason? Type2527 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2PrimaryOrg? Type2527 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatest? Type2528 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2528 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant1? Type2529 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2529 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant1Plan? Type2530 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageData? Type2530 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant2? Type2531 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataHiddenReason? Type2531 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2532 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatest? Type2532 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2533 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant1? Type2533 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2534 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant1Plan? Type2534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2535 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant2? Type2535 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataReaction? Type2536 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2536 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataReactionReaction? Type2537 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2537 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentResponseNewMessageDataIdentifiedLanguage? Type2538 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2538 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponse? Type2539 { get; set; } + public global::System.Collections.Generic.IList? Type2539 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessage? Type2540 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataReaction? Type2540 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant1? Type2541 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataReactionReaction? Type2541 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant1OauthApp? Type2542 { get; set; } + public global::HuggingFace.CreatePostsCommentResponseNewMessageDataIdentifiedLanguage? Type2542 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant1OauthAppImageData? Type2543 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponse? Type2543 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant1Plan? Type2544 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessage? Type2544 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2? Type2545 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant1? Type2545 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2OauthApp? Type2546 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant1OauthApp? Type2546 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2OauthAppImageData? Type2547 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant1OauthAppImageData? Type2547 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2PrimaryOrg? Type2548 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant1Plan? Type2548 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2549 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2? Type2549 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2550 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2OauthApp? Type2550 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageData? Type2551 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2OauthAppImageData? Type2551 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataHiddenReason? Type2552 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2PrimaryOrg? Type2552 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatest? Type2553 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgPlan? Type2553 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant1? Type2554 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageAuthorVariant2PrimaryOrgUserRole? Type2554 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant1Plan? Type2555 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageData? Type2555 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant2? Type2556 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataHiddenReason? Type2556 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2557 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatest? Type2557 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2558 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant1? Type2558 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2559 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant1Plan? Type2559 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2560 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant2? Type2560 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataReaction? Type2561 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrg? Type2561 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataReactionReaction? Type2562 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgPlan? Type2562 { get; set; } /// /// /// - public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataIdentifiedLanguage? Type2563 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataLatestAuthorVariant2PrimaryOrgUserRole? Type2563 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponse? Type2564 { get; set; } + public global::System.Collections.Generic.IList? Type2564 { get; set; } /// /// /// - public global::HuggingFace.AnyOf?>? Type2565 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataReaction? Type2565 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2566 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataReactionReaction? Type2566 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant2? Type2567 { get; set; } + public global::HuggingFace.CreatePostsCommentReplyResponseNewMessageDataIdentifiedLanguage? Type2567 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3? Type2568 { get; set; } + public global::HuggingFace.GetCollectionsResponse? Type2568 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3Notifications? Type2569 { get; set; } + public global::HuggingFace.AnyOf?>? Type2569 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3NotificationsMode? Type2570 { get; set; } + public global::HuggingFace.AnyOf? Type2570 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2571 { get; set; } + public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant2? Type2571 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant1? Type2572 { get; set; } + public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3? Type2572 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant1Plan? Type2573 { get; set; } + public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3Notifications? Type2573 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant2? Type2574 { get; set; } + public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3NotificationsMode? Type2574 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrg? Type2575 { get; set; } + public global::HuggingFace.OneOf? Type2575 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrgPlan? Type2576 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant1? Type2576 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrgUserRole? Type2577 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant1Plan? Type2577 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseTheme? Type2578 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant2? Type2578 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseResourceGroup? Type2579 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrg? Type2579 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1? Type2580 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrgPlan? Type2580 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1Note? Type2581 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrgUserRole? Type2581 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfo? Type2582 { get; set; } + public global::HuggingFace.GetCollectionsResponseTheme? Type2582 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoViewer? Type2583 { get; set; } + public global::HuggingFace.GetCollectionsResponseResourceGroup? Type2583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2584 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1? Type2584 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie? Type2585 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1Note? Type2585 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2586 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfo? Type2586 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoFormat? Type2587 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoViewer? Type2587 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2588 { get; set; } + public global::System.Collections.Generic.IList? Type2588 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoModalitie? Type2589 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie? Type2589 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2590 { get; set; } + public global::System.Collections.Generic.IList? Type2590 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1Gated? Type2591 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoFormat? Type2591 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1ResourceGroup? Type2592 { get; set; } + public global::System.Collections.Generic.IList? Type2592 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2? Type2593 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoModalitie? Type2593 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2Note? Type2594 { get; set; } + public global::HuggingFace.AnyOf? Type2594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2595 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1Gated? Type2595 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProvider? Type2596 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1ResourceGroup? Type2596 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderProvider? Type2597 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2? Type2597 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderProviderStatus? Type2598 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2Note? Type2598 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderModelStatus? Type2599 { get; set; } + public global::System.Collections.Generic.IList? Type2599 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderTask? Type2600 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProvider? Type2600 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderFeatures? Type2601 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderProvider? Type2601 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2602 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderProviderStatus? Type2602 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2Gated? Type2603 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderModelStatus? Type2603 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2ResourceGroup? Type2604 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderTask? Type2604 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2605 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderFeatures? Type2605 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant1? Type2606 { get; set; } + public global::HuggingFace.AnyOf? Type2606 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant1Plan? Type2607 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2Gated? Type2607 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2? Type2608 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2ResourceGroup? Type2608 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrg? Type2609 { get; set; } + public global::HuggingFace.OneOf? Type2609 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type2610 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant1? Type2610 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type2611 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant1Plan? Type2611 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3? Type2612 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2? Type2612 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3Note? Type2613 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrg? Type2613 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3Sdk? Type2614 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type2614 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3Runtime? Type2615 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type2615 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeStage? Type2616 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3? Type2616 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardware? Type2617 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3Note? Type2617 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardwareCurrent? Type2618 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3Sdk? Type2618 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardwareRequested? Type2619 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3Runtime? Type2619 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeReplicas? Type2620 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeStage? Type2620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2621 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardware? Type2621 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeDomain? Type2622 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardwareCurrent? Type2622 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeDomainStage? Type2623 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardwareRequested? Type2623 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHotReloading? Type2624 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeReplicas? Type2624 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepo? Type2625 { get; set; } + public global::System.Collections.Generic.IList? Type2625 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant1? Type2626 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeDomain? Type2626 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant1Plan? Type2627 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeDomainStage? Type2627 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2? Type2628 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHotReloading? Type2628 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type2629 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepo? Type2629 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type2630 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant1? Type2630 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type2631 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant1Plan? Type2631 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3ResourceGroup? Type2632 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2? Type2632 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2633 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type2633 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant1? Type2634 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type2634 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant1Plan? Type2635 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type2635 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2? Type2636 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3ResourceGroup? Type2636 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrg? Type2637 { get; set; } + public global::HuggingFace.OneOf? Type2637 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type2638 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant1? Type2638 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type2639 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant1Plan? Type2639 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3Visibility? Type2640 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2? Type2640 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant4? Type2641 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrg? Type2641 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant4Note? Type2642 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type2642 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5? Type2643 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type2643 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5Note? Type2644 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3Visibility? Type2644 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2645 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant4? Type2645 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant1? Type2646 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant4Note? Type2646 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant1Plan? Type2647 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5? Type2647 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2? Type2648 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5Note? Type2648 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrg? Type2649 { get; set; } + public global::HuggingFace.OneOf? Type2649 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgPlan? Type2650 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant1? Type2650 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole? Type2651 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant1Plan? Type2651 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5Theme? Type2652 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2? Type2652 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6? Type2653 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrg? Type2653 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6Note? Type2654 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgPlan? Type2654 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6RepoType? Type2655 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole? Type2655 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6Disabled? Type2656 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5Theme? Type2656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2657 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6? Type2657 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegion? Type2658 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6Note? Type2658 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegionProvider? Type2659 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6RepoType? Type2659 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegionRegion? Type2660 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6Disabled? Type2660 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6ResourceGroup? Type2661 { get; set; } + public global::System.Collections.Generic.IList? Type2661 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponse? Type2662 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegion? Type2662 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseData? Type2663 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegionProvider? Type2663 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2664 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegionRegion? Type2664 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant2? Type2665 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6ResourceGroup? Type2665 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3? Type2666 { get; set; } + public global::HuggingFace.PatchCollectionsResponse? Type2666 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3Notifications? Type2667 { get; set; } + public global::HuggingFace.PatchCollectionsResponseData? Type2667 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3NotificationsMode? Type2668 { get; set; } + public global::HuggingFace.AnyOf? Type2668 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2669 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant2? Type2669 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant1? Type2670 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3? Type2670 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant1Plan? Type2671 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3Notifications? Type2671 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2? Type2672 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3NotificationsMode? Type2672 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrg? Type2673 { get; set; } + public global::HuggingFace.OneOf? Type2673 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrgPlan? Type2674 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant1? Type2674 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrgUserRole? Type2675 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant1Plan? Type2675 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataTheme? Type2676 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2? Type2676 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataResourceGroup? Type2677 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrg? Type2677 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1? Type2678 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrgPlan? Type2678 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1Note? Type2679 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrgUserRole? Type2679 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfo? Type2680 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataTheme? Type2680 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoViewer? Type2681 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataResourceGroup? Type2681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2682 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1? Type2682 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie? Type2683 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1Note? Type2683 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2684 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfo? Type2684 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoFormat? Type2685 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoViewer? Type2685 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2686 { get; set; } + public global::System.Collections.Generic.IList? Type2686 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoModalitie? Type2687 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie? Type2687 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2688 { get; set; } + public global::System.Collections.Generic.IList? Type2688 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1Gated? Type2689 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoFormat? Type2689 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1ResourceGroup? Type2690 { get; set; } + public global::System.Collections.Generic.IList? Type2690 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2? Type2691 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoModalitie? Type2691 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2Note? Type2692 { get; set; } + public global::HuggingFace.AnyOf? Type2692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2693 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1Gated? Type2693 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProvider? Type2694 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1ResourceGroup? Type2694 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderProvider? Type2695 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2? Type2695 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderProviderStatus? Type2696 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2Note? Type2696 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderModelStatus? Type2697 { get; set; } + public global::System.Collections.Generic.IList? Type2697 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderTask? Type2698 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProvider? Type2698 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderFeatures? Type2699 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderProvider? Type2699 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2700 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderProviderStatus? Type2700 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2Gated? Type2701 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderModelStatus? Type2701 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2ResourceGroup? Type2702 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderTask? Type2702 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant1? Type2703 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderFeatures? Type2703 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant1Plan? Type2704 { get; set; } + public global::HuggingFace.AnyOf? Type2704 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2? Type2705 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2Gated? Type2705 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrg? Type2706 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2ResourceGroup? Type2706 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type2707 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant1? Type2707 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type2708 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant1Plan? Type2708 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3? Type2709 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2? Type2709 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Note? Type2710 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrg? Type2710 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Sdk? Type2711 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type2711 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Runtime? Type2712 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type2712 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeStage? Type2713 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3? Type2713 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardware? Type2714 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Note? Type2714 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardwareCurrent? Type2715 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Sdk? Type2715 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardwareRequested? Type2716 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Runtime? Type2716 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeReplicas? Type2717 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeStage? Type2717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2718 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardware? Type2718 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeDomain? Type2719 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardwareCurrent? Type2719 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeDomainStage? Type2720 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardwareRequested? Type2720 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHotReloading? Type2721 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeReplicas? Type2721 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepo? Type2722 { get; set; } + public global::System.Collections.Generic.IList? Type2722 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant1? Type2723 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeDomain? Type2723 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant1Plan? Type2724 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeDomainStage? Type2724 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2? Type2725 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHotReloading? Type2725 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type2726 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepo? Type2726 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type2727 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant1? Type2727 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type2728 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant1Plan? Type2728 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3ResourceGroup? Type2729 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2? Type2729 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant1? Type2730 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type2730 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant1Plan? Type2731 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type2731 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2? Type2732 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type2732 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrg? Type2733 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3ResourceGroup? Type2733 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type2734 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant1? Type2734 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type2735 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant1Plan? Type2735 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Visibility? Type2736 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2? Type2736 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant4? Type2737 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrg? Type2737 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant4Note? Type2738 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type2738 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5? Type2739 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type2739 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5Note? Type2740 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Visibility? Type2740 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2741 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant4? Type2741 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant1? Type2742 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant4Note? Type2742 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant1Plan? Type2743 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5? Type2743 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2? Type2744 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5Note? Type2744 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrg? Type2745 { get; set; } + public global::HuggingFace.OneOf? Type2745 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrgPlan? Type2746 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant1? Type2746 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrgUserRole? Type2747 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant1Plan? Type2747 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5Theme? Type2748 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2? Type2748 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6? Type2749 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrg? Type2749 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6Note? Type2750 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrgPlan? Type2750 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6RepoType? Type2751 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrgUserRole? Type2751 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6Disabled? Type2752 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5Theme? Type2752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2753 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6? Type2753 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegion? Type2754 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6Note? Type2754 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegionProvider? Type2755 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6RepoType? Type2755 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegionRegion? Type2756 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6Disabled? Type2756 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6ResourceGroup? Type2757 { get; set; } + public global::System.Collections.Generic.IList? Type2757 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponse2? Type2758 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegion? Type2758 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2759 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegionProvider? Type2759 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant22? Type2760 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegionRegion? Type2760 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant32? Type2761 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6ResourceGroup? Type2761 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3Notifications2? Type2762 { get; set; } + public global::HuggingFace.GetCollectionsResponse2? Type2762 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3NotificationsMode2? Type2763 { get; set; } + public global::HuggingFace.AnyOf? Type2763 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2764 { get; set; } + public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant22? Type2764 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant12? Type2765 { get; set; } + public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant32? Type2765 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant1Plan2? Type2766 { get; set; } + public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3Notifications2? Type2766 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant22? Type2767 { get; set; } + public global::HuggingFace.GetCollectionsResponseGatingVariant2Variant3NotificationsMode2? Type2767 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrg2? Type2768 { get; set; } + public global::HuggingFace.OneOf? Type2768 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrgPlan2? Type2769 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant12? Type2769 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrgUserRole2? Type2770 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant1Plan2? Type2770 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseTheme2? Type2771 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant22? Type2771 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseResourceGroup2? Type2772 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrg2? Type2772 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant12? Type2773 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrgPlan2? Type2773 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1Note2? Type2774 { get; set; } + public global::HuggingFace.GetCollectionsResponseOwnerVariant2PrimaryOrgUserRole2? Type2774 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfo2? Type2775 { get; set; } + public global::HuggingFace.GetCollectionsResponseTheme2? Type2775 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoViewer2? Type2776 { get; set; } + public global::HuggingFace.GetCollectionsResponseResourceGroup2? Type2776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2777 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant12? Type2777 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2? Type2778 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1Note2? Type2778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2779 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfo2? Type2779 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoFormat2? Type2780 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoViewer2? Type2780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2781 { get; set; } + public global::System.Collections.Generic.IList? Type2781 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoModalitie2? Type2782 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2? Type2782 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2783 { get; set; } + public global::System.Collections.Generic.IList? Type2783 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1Gated2? Type2784 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoFormat2? Type2784 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant1ResourceGroup2? Type2785 { get; set; } + public global::System.Collections.Generic.IList? Type2785 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant22? Type2786 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1DatasetsServerInfoModalitie2? Type2786 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2Note2? Type2787 { get; set; } + public global::HuggingFace.AnyOf? Type2787 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2788 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1Gated2? Type2788 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProvider2? Type2789 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant1ResourceGroup2? Type2789 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderProvider2? Type2790 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant22? Type2790 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderProviderStatus2? Type2791 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2Note2? Type2791 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderModelStatus2? Type2792 { get; set; } + public global::System.Collections.Generic.IList? Type2792 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderTask2? Type2793 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProvider2? Type2793 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderFeatures2? Type2794 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderProvider2? Type2794 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2795 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderProviderStatus2? Type2795 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2Gated2? Type2796 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderModelStatus2? Type2796 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2ResourceGroup2? Type2797 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderTask2? Type2797 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2798 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AvailableInferenceProviderFeatures2? Type2798 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant12? Type2799 { get; set; } + public global::HuggingFace.AnyOf? Type2799 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant1Plan2? Type2800 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2Gated2? Type2800 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant22? Type2801 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2ResourceGroup2? Type2801 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrg2? Type2802 { get; set; } + public global::HuggingFace.OneOf? Type2802 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan2? Type2803 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant12? Type2803 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole2? Type2804 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant1Plan2? Type2804 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant32? Type2805 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant22? Type2805 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3Note2? Type2806 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrg2? Type2806 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3Sdk2? Type2807 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan2? Type2807 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3Runtime2? Type2808 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole2? Type2808 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeStage2? Type2809 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant32? Type2809 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardware2? Type2810 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3Note2? Type2810 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardwareCurrent2? Type2811 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3Sdk2? Type2811 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardwareRequested2? Type2812 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3Runtime2? Type2812 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeReplicas2? Type2813 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeStage2? Type2813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2814 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardware2? Type2814 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeDomain2? Type2815 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardwareCurrent2? Type2815 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeDomainStage2? Type2816 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHardwareRequested2? Type2816 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHotReloading2? Type2817 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeReplicas2? Type2817 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepo2? Type2818 { get; set; } + public global::System.Collections.Generic.IList? Type2818 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant12? Type2819 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeDomain2? Type2819 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant1Plan2? Type2820 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeDomainStage2? Type2820 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant22? Type2821 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3RuntimeHotReloading2? Type2821 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg2? Type2822 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepo2? Type2822 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan2? Type2823 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant12? Type2823 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole2? Type2824 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant1Plan2? Type2824 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3ResourceGroup2? Type2825 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant22? Type2825 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2826 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg2? Type2826 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant12? Type2827 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan2? Type2827 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant1Plan2? Type2828 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole2? Type2828 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant22? Type2829 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3ResourceGroup2? Type2829 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrg2? Type2830 { get; set; } + public global::HuggingFace.OneOf? Type2830 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan2? Type2831 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant12? Type2831 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole2? Type2832 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant1Plan2? Type2832 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant3Visibility2? Type2833 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant22? Type2833 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant42? Type2834 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrg2? Type2834 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant4Note2? Type2835 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan2? Type2835 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant52? Type2836 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole2? Type2836 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5Note2? Type2837 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant3Visibility2? Type2837 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2838 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant42? Type2838 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant12? Type2839 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant4Note2? Type2839 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant1Plan2? Type2840 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant52? Type2840 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant22? Type2841 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5Note2? Type2841 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrg2? Type2842 { get; set; } + public global::HuggingFace.OneOf? Type2842 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgPlan2? Type2843 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant12? Type2843 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole2? Type2844 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant1Plan2? Type2844 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant5Theme2? Type2845 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant22? Type2845 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant62? Type2846 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrg2? Type2846 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6Note2? Type2847 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgPlan2? Type2847 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6RepoType2? Type2848 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole2? Type2848 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6Disabled2? Type2849 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant5Theme2? Type2849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2850 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant62? Type2850 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegion2? Type2851 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6Note2? Type2851 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegionProvider2? Type2852 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6RepoType2? Type2852 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegionRegion2? Type2853 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6Disabled2? Type2853 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseItemVariant6ResourceGroup2? Type2854 { get; set; } + public global::System.Collections.Generic.IList? Type2854 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponse2? Type2855 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegion2? Type2855 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseData2? Type2856 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegionProvider2? Type2856 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant22? Type2857 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6CdnRegionRegion2? Type2857 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant32? Type2858 { get; set; } + public global::HuggingFace.GetCollectionsResponseItemVariant6ResourceGroup2? Type2858 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3Notifications2? Type2859 { get; set; } + public global::HuggingFace.PatchCollectionsResponse2? Type2859 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3NotificationsMode2? Type2860 { get; set; } + public global::HuggingFace.PatchCollectionsResponseData2? Type2860 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2861 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant22? Type2861 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant12? Type2862 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant32? Type2862 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant1Plan2? Type2863 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3Notifications2? Type2863 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant22? Type2864 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataGatingVariant2Variant3NotificationsMode2? Type2864 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrg2? Type2865 { get; set; } + public global::HuggingFace.OneOf? Type2865 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrgPlan2? Type2866 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant12? Type2866 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrgUserRole2? Type2867 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant1Plan2? Type2867 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataTheme2? Type2868 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant22? Type2868 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataResourceGroup2? Type2869 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrg2? Type2869 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant12? Type2870 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrgPlan2? Type2870 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1Note2? Type2871 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataOwnerVariant2PrimaryOrgUserRole2? Type2871 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfo2? Type2872 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataTheme2? Type2872 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoViewer2? Type2873 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataResourceGroup2? Type2873 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2874 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant12? Type2874 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2? Type2875 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1Note2? Type2875 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2876 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfo2? Type2876 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoFormat2? Type2877 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoViewer2? Type2877 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2878 { get; set; } + public global::System.Collections.Generic.IList? Type2878 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoModalitie2? Type2879 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2? Type2879 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2880 { get; set; } + public global::System.Collections.Generic.IList? Type2880 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1Gated2? Type2881 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoFormat2? Type2881 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant1ResourceGroup2? Type2882 { get; set; } + public global::System.Collections.Generic.IList? Type2882 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant22? Type2883 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoModalitie2? Type2883 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2Note2? Type2884 { get; set; } + public global::HuggingFace.AnyOf? Type2884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2885 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1Gated2? Type2885 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProvider2? Type2886 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant1ResourceGroup2? Type2886 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderProvider2? Type2887 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant22? Type2887 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderProviderStatus2? Type2888 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2Note2? Type2888 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderModelStatus2? Type2889 { get; set; } + public global::System.Collections.Generic.IList? Type2889 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderTask2? Type2890 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProvider2? Type2890 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderFeatures2? Type2891 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderProvider2? Type2891 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2892 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderProviderStatus2? Type2892 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2Gated2? Type2893 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderModelStatus2? Type2893 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2ResourceGroup2? Type2894 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderTask2? Type2894 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant12? Type2895 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AvailableInferenceProviderFeatures2? Type2895 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant1Plan2? Type2896 { get; set; } + public global::HuggingFace.AnyOf? Type2896 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant22? Type2897 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2Gated2? Type2897 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrg2? Type2898 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2ResourceGroup2? Type2898 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrgPlan2? Type2899 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant12? Type2899 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrgUserRole2? Type2900 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant1Plan2? Type2900 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant32? Type2901 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant22? Type2901 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Note2? Type2902 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrg2? Type2902 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Sdk2? Type2903 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrgPlan2? Type2903 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Runtime2? Type2904 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant2AuthorDataVariant2PrimaryOrgUserRole2? Type2904 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeStage2? Type2905 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant32? Type2905 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardware2? Type2906 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Note2? Type2906 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardwareCurrent2? Type2907 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Sdk2? Type2907 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardwareRequested2? Type2908 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Runtime2? Type2908 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeReplicas2? Type2909 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeStage2? Type2909 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2910 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardware2? Type2910 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeDomain2? Type2911 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardwareCurrent2? Type2911 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeDomainStage2? Type2912 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHardwareRequested2? Type2912 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHotReloading2? Type2913 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeReplicas2? Type2913 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepo2? Type2914 { get; set; } + public global::System.Collections.Generic.IList? Type2914 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant12? Type2915 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeDomain2? Type2915 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant1Plan2? Type2916 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeDomainStage2? Type2916 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant22? Type2917 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3RuntimeHotReloading2? Type2917 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrg2? Type2918 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepo2? Type2918 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan2? Type2919 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant12? Type2919 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole2? Type2920 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant1Plan2? Type2920 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3ResourceGroup2? Type2921 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant22? Type2921 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant12? Type2922 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrg2? Type2922 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant1Plan2? Type2923 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan2? Type2923 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant22? Type2924 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole2? Type2924 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrg2? Type2925 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3ResourceGroup2? Type2925 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrgPlan2? Type2926 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant12? Type2926 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrgUserRole2? Type2927 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant1Plan2? Type2927 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Visibility2? Type2928 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant22? Type2928 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant42? Type2929 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrg2? Type2929 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant4Note2? Type2930 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrgPlan2? Type2930 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant52? Type2931 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3AuthorDataVariant2PrimaryOrgUserRole2? Type2931 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5Note2? Type2932 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant3Visibility2? Type2932 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant12? Type2933 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant42? Type2933 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant1Plan2? Type2934 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant4Note2? Type2934 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant22? Type2935 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant52? Type2935 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrg2? Type2936 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5Note2? Type2936 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrgPlan2? Type2937 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant12? Type2937 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrgUserRole2? Type2938 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant1Plan2? Type2938 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant5Theme2? Type2939 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant22? Type2939 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant62? Type2940 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrg2? Type2940 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6Note2? Type2941 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrgPlan2? Type2941 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6RepoType2? Type2942 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5OwnerVariant2PrimaryOrgUserRole2? Type2942 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6Disabled2? Type2943 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant5Theme2? Type2943 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2944 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant62? Type2944 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegion2? Type2945 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6Note2? Type2945 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegionProvider2? Type2946 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6RepoType2? Type2946 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegionRegion2? Type2947 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6Disabled2? Type2947 { get; set; } /// /// /// - public global::HuggingFace.PatchCollectionsResponseDataItemVariant6ResourceGroup2? Type2948 { get; set; } + public global::System.Collections.Generic.IList? Type2948 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponse? Type2949 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegion2? Type2949 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant2? Type2950 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegionProvider2? Type2950 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3? Type2951 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6CdnRegionRegion2? Type2951 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3Notifications? Type2952 { get; set; } + public global::HuggingFace.PatchCollectionsResponseDataItemVariant6ResourceGroup2? Type2952 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3NotificationsMode? Type2953 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponse? Type2953 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type2954 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant2? Type2954 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant1? Type2955 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3? Type2955 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant1Plan? Type2956 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3Notifications? Type2956 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2? Type2957 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3NotificationsMode? Type2957 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrg? Type2958 { get; set; } + public global::HuggingFace.OneOf? Type2958 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrgPlan? Type2959 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant1? Type2959 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrgUserRole? Type2960 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant1Plan? Type2960 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseTheme? Type2961 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2? Type2961 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseResourceGroup? Type2962 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrg? Type2962 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1? Type2963 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrgPlan? Type2963 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1Note? Type2964 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrgUserRole? Type2964 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfo? Type2965 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseTheme? Type2965 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoViewer? Type2966 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseResourceGroup? Type2966 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2967 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1? Type2967 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie? Type2968 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1Note? Type2968 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2969 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfo? Type2969 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoFormat? Type2970 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoViewer? Type2970 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2971 { get; set; } + public global::System.Collections.Generic.IList? Type2971 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoModalitie? Type2972 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie? Type2972 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2973 { get; set; } + public global::System.Collections.Generic.IList? Type2973 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1Gated? Type2974 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoFormat? Type2974 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1ResourceGroup? Type2975 { get; set; } + public global::System.Collections.Generic.IList? Type2975 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2? Type2976 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoModalitie? Type2976 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2Note? Type2977 { get; set; } + public global::HuggingFace.AnyOf? Type2977 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2978 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1Gated? Type2978 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProvider? Type2979 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1ResourceGroup? Type2979 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderProvider? Type2980 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2? Type2980 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderProviderStatus? Type2981 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2Note? Type2981 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderModelStatus? Type2982 { get; set; } + public global::System.Collections.Generic.IList? Type2982 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderTask? Type2983 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProvider? Type2983 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderFeatures? Type2984 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderProvider? Type2984 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type2985 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderProviderStatus? Type2985 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2Gated? Type2986 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderModelStatus? Type2986 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2ResourceGroup? Type2987 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderTask? Type2987 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant1? Type2988 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderFeatures? Type2988 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant1Plan? Type2989 { get; set; } + public global::HuggingFace.AnyOf? Type2989 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2? Type2990 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2Gated? Type2990 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrg? Type2991 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2ResourceGroup? Type2991 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type2992 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant1? Type2992 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type2993 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant1Plan? Type2993 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3? Type2994 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2? Type2994 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Note? Type2995 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrg? Type2995 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Sdk? Type2996 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type2996 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Runtime? Type2997 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type2997 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeStage? Type2998 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3? Type2998 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardware? Type2999 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Note? Type2999 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardwareCurrent? Type3000 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Sdk? Type3000 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardwareRequested? Type3001 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Runtime? Type3001 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeReplicas? Type3002 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeStage? Type3002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3003 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardware? Type3003 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeDomain? Type3004 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardwareCurrent? Type3004 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeDomainStage? Type3005 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardwareRequested? Type3005 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHotReloading? Type3006 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeReplicas? Type3006 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepo? Type3007 { get; set; } + public global::System.Collections.Generic.IList? Type3007 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant1? Type3008 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeDomain? Type3008 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant1Plan? Type3009 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeDomainStage? Type3009 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2? Type3010 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHotReloading? Type3010 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type3011 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepo? Type3011 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type3012 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant1? Type3012 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type3013 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant1Plan? Type3013 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3ResourceGroup? Type3014 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2? Type3014 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant1? Type3015 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type3015 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant1Plan? Type3016 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type3016 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2? Type3017 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type3017 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrg? Type3018 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3ResourceGroup? Type3018 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type3019 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant1? Type3019 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type3020 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant1Plan? Type3020 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Visibility? Type3021 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2? Type3021 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant4? Type3022 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrg? Type3022 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant4Note? Type3023 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type3023 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5? Type3024 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type3024 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5Note? Type3025 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Visibility? Type3025 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant1? Type3026 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant4? Type3026 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant1Plan? Type3027 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant4Note? Type3027 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2? Type3028 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5? Type3028 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrg? Type3029 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5Note? Type3029 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrgPlan? Type3030 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant1? Type3030 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole? Type3031 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant1Plan? Type3031 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5Theme? Type3032 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2? Type3032 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6? Type3033 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrg? Type3033 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6Note? Type3034 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrgPlan? Type3034 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6RepoType? Type3035 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole? Type3035 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6Disabled? Type3036 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5Theme? Type3036 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3037 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6? Type3037 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegion? Type3038 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6Note? Type3038 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegionProvider? Type3039 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6RepoType? Type3039 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegionRegion? Type3040 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6Disabled? Type3040 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6ResourceGroup? Type3041 { get; set; } + public global::System.Collections.Generic.IList? Type3041 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponse2? Type3042 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegion? Type3042 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant22? Type3043 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegionProvider? Type3043 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant32? Type3044 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegionRegion? Type3044 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3Notifications2? Type3045 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6ResourceGroup? Type3045 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3NotificationsMode2? Type3046 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponse2? Type3046 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type3047 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant22? Type3047 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant12? Type3048 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant32? Type3048 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant1Plan2? Type3049 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3Notifications2? Type3049 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant22? Type3050 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseGatingVariant2Variant3NotificationsMode2? Type3050 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrg2? Type3051 { get; set; } + public global::HuggingFace.OneOf? Type3051 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrgPlan2? Type3052 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant12? Type3052 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrgUserRole2? Type3053 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant1Plan2? Type3053 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseTheme2? Type3054 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant22? Type3054 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseResourceGroup2? Type3055 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrg2? Type3055 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant12? Type3056 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrgPlan2? Type3056 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1Note2? Type3057 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseOwnerVariant2PrimaryOrgUserRole2? Type3057 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfo2? Type3058 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseTheme2? Type3058 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoViewer2? Type3059 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseResourceGroup2? Type3059 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3060 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant12? Type3060 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2? Type3061 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1Note2? Type3061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3062 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfo2? Type3062 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoFormat2? Type3063 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoViewer2? Type3063 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3064 { get; set; } + public global::System.Collections.Generic.IList? Type3064 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoModalitie2? Type3065 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2? Type3065 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3066 { get; set; } + public global::System.Collections.Generic.IList? Type3066 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1Gated2? Type3067 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoFormat2? Type3067 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1ResourceGroup2? Type3068 { get; set; } + public global::System.Collections.Generic.IList? Type3068 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant22? Type3069 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoModalitie2? Type3069 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2Note2? Type3070 { get; set; } + public global::HuggingFace.AnyOf? Type3070 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3071 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1Gated2? Type3071 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProvider2? Type3072 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant1ResourceGroup2? Type3072 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderProvider2? Type3073 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant22? Type3073 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderProviderStatus2? Type3074 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2Note2? Type3074 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderModelStatus2? Type3075 { get; set; } + public global::System.Collections.Generic.IList? Type3075 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderTask2? Type3076 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProvider2? Type3076 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderFeatures2? Type3077 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderProvider2? Type3077 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3078 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderProviderStatus2? Type3078 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2Gated2? Type3079 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderModelStatus2? Type3079 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2ResourceGroup2? Type3080 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderTask2? Type3080 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant12? Type3081 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AvailableInferenceProviderFeatures2? Type3081 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant1Plan2? Type3082 { get; set; } + public global::HuggingFace.AnyOf? Type3082 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant22? Type3083 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2Gated2? Type3083 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrg2? Type3084 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2ResourceGroup2? Type3084 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan2? Type3085 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant12? Type3085 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole2? Type3086 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant1Plan2? Type3086 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant32? Type3087 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant22? Type3087 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Note2? Type3088 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrg2? Type3088 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Sdk2? Type3089 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan2? Type3089 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Runtime2? Type3090 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole2? Type3090 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeStage2? Type3091 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant32? Type3091 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardware2? Type3092 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Note2? Type3092 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardwareCurrent2? Type3093 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Sdk2? Type3093 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardwareRequested2? Type3094 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Runtime2? Type3094 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeReplicas2? Type3095 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeStage2? Type3095 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3096 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardware2? Type3096 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeDomain2? Type3097 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardwareCurrent2? Type3097 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeDomainStage2? Type3098 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHardwareRequested2? Type3098 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHotReloading2? Type3099 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeReplicas2? Type3099 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepo2? Type3100 { get; set; } + public global::System.Collections.Generic.IList? Type3100 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant12? Type3101 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeDomain2? Type3101 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant1Plan2? Type3102 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeDomainStage2? Type3102 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant22? Type3103 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3RuntimeHotReloading2? Type3103 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg2? Type3104 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepo2? Type3104 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan2? Type3105 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant12? Type3105 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole2? Type3106 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant1Plan2? Type3106 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3ResourceGroup2? Type3107 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant22? Type3107 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant12? Type3108 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg2? Type3108 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant1Plan2? Type3109 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan2? Type3109 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant22? Type3110 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole2? Type3110 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrg2? Type3111 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3ResourceGroup2? Type3111 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan2? Type3112 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant12? Type3112 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole2? Type3113 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant1Plan2? Type3113 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Visibility2? Type3114 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant22? Type3114 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant42? Type3115 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrg2? Type3115 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant4Note2? Type3116 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan2? Type3116 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant52? Type3117 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole2? Type3117 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5Note2? Type3118 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant3Visibility2? Type3118 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant12? Type3119 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant42? Type3119 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant1Plan2? Type3120 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant4Note2? Type3120 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant22? Type3121 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant52? Type3121 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrg2? Type3122 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5Note2? Type3122 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrgPlan2? Type3123 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant12? Type3123 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole2? Type3124 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant1Plan2? Type3124 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5Theme2? Type3125 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant22? Type3125 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant62? Type3126 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrg2? Type3126 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6Note2? Type3127 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrgPlan2? Type3127 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6RepoType2? Type3128 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole2? Type3128 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6Disabled2? Type3129 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant5Theme2? Type3129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3130 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant62? Type3130 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegion2? Type3131 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6Note2? Type3131 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegionProvider2? Type3132 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6RepoType2? Type3132 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegionRegion2? Type3133 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6Disabled2? Type3133 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6ResourceGroup2? Type3134 { get; set; } + public global::System.Collections.Generic.IList? Type3134 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponse? Type3135 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegion2? Type3135 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3136 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegionProvider2? Type3136 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseGatingVariant2Variant2? Type3137 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6CdnRegionRegion2? Type3137 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseGatingVariant2Variant3? Type3138 { get; set; } + public global::HuggingFace.CreateCollectionsItemsResponseItemVariant6ResourceGroup2? Type3138 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseGatingVariant2Variant3Notifications? Type3139 { get; set; } + public global::HuggingFace.CreateCollectionsResponse? Type3139 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseGatingVariant2Variant3NotificationsMode? Type3140 { get; set; } + public global::HuggingFace.AnyOf? Type3140 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type3141 { get; set; } + public global::HuggingFace.CreateCollectionsResponseGatingVariant2Variant2? Type3141 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseOwnerVariant1? Type3142 { get; set; } + public global::HuggingFace.CreateCollectionsResponseGatingVariant2Variant3? Type3142 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseOwnerVariant1Plan? Type3143 { get; set; } + public global::HuggingFace.CreateCollectionsResponseGatingVariant2Variant3Notifications? Type3143 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseOwnerVariant2? Type3144 { get; set; } + public global::HuggingFace.CreateCollectionsResponseGatingVariant2Variant3NotificationsMode? Type3144 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseOwnerVariant2PrimaryOrg? Type3145 { get; set; } + public global::HuggingFace.OneOf? Type3145 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseOwnerVariant2PrimaryOrgPlan? Type3146 { get; set; } + public global::HuggingFace.CreateCollectionsResponseOwnerVariant1? Type3146 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseOwnerVariant2PrimaryOrgUserRole? Type3147 { get; set; } + public global::HuggingFace.CreateCollectionsResponseOwnerVariant1Plan? Type3147 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseTheme? Type3148 { get; set; } + public global::HuggingFace.CreateCollectionsResponseOwnerVariant2? Type3148 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseResourceGroup? Type3149 { get; set; } + public global::HuggingFace.CreateCollectionsResponseOwnerVariant2PrimaryOrg? Type3149 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1? Type3150 { get; set; } + public global::HuggingFace.CreateCollectionsResponseOwnerVariant2PrimaryOrgPlan? Type3150 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1Note? Type3151 { get; set; } + public global::HuggingFace.CreateCollectionsResponseOwnerVariant2PrimaryOrgUserRole? Type3151 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfo? Type3152 { get; set; } + public global::HuggingFace.CreateCollectionsResponseTheme? Type3152 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfoViewer? Type3153 { get; set; } + public global::HuggingFace.CreateCollectionsResponseResourceGroup? Type3153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3154 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1? Type3154 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie? Type3155 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1Note? Type3155 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3156 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfo? Type3156 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfoFormat? Type3157 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfoViewer? Type3157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3158 { get; set; } + public global::System.Collections.Generic.IList? Type3158 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfoModalitie? Type3159 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie? Type3159 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3160 { get; set; } + public global::System.Collections.Generic.IList? Type3160 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1Gated? Type3161 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfoFormat? Type3161 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant1ResourceGroup? Type3162 { get; set; } + public global::System.Collections.Generic.IList? Type3162 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2? Type3163 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1DatasetsServerInfoModalitie? Type3163 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2Note? Type3164 { get; set; } + public global::HuggingFace.AnyOf? Type3164 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3165 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1Gated? Type3165 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProvider? Type3166 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant1ResourceGroup? Type3166 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderProvider? Type3167 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2? Type3167 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderProviderStatus? Type3168 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2Note? Type3168 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderModelStatus? Type3169 { get; set; } + public global::System.Collections.Generic.IList? Type3169 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderTask? Type3170 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProvider? Type3170 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderFeatures? Type3171 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderProvider? Type3171 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3172 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderProviderStatus? Type3172 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2Gated? Type3173 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderModelStatus? Type3173 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2ResourceGroup? Type3174 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderTask? Type3174 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant1? Type3175 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AvailableInferenceProviderFeatures? Type3175 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant1Plan? Type3176 { get; set; } + public global::HuggingFace.AnyOf? Type3176 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant2? Type3177 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2Gated? Type3177 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrg? Type3178 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2ResourceGroup? Type3178 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type3179 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant1? Type3179 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type3180 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant1Plan? Type3180 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3? Type3181 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant2? Type3181 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3Note? Type3182 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrg? Type3182 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3Sdk? Type3183 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type3183 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3Runtime? Type3184 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type3184 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeStage? Type3185 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3? Type3185 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeHardware? Type3186 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3Note? Type3186 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeHardwareCurrent? Type3187 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3Sdk? Type3187 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeHardwareRequested? Type3188 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3Runtime? Type3188 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeReplicas? Type3189 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeStage? Type3189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3190 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeHardware? Type3190 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeDomain? Type3191 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeHardwareCurrent? Type3191 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeDomainStage? Type3192 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeHardwareRequested? Type3192 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeHotReloading? Type3193 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeReplicas? Type3193 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepo? Type3194 { get; set; } + public global::System.Collections.Generic.IList? Type3194 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant1? Type3195 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeDomain? Type3195 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant1Plan? Type3196 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeDomainStage? Type3196 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant2? Type3197 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3RuntimeHotReloading? Type3197 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type3198 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepo? Type3198 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type3199 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant1? Type3199 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type3200 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant1Plan? Type3200 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3ResourceGroup? Type3201 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant2? Type3201 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant1? Type3202 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type3202 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant1Plan? Type3203 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type3203 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant2? Type3204 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type3204 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrg? Type3205 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3ResourceGroup? Type3205 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type3206 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant1? Type3206 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type3207 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant1Plan? Type3207 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant3Visibility? Type3208 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant2? Type3208 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant4? Type3209 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrg? Type3209 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant4Note? Type3210 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type3210 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5? Type3211 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type3211 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5Note? Type3212 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant3Visibility? Type3212 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type3213 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant4? Type3213 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant1? Type3214 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant4Note? Type3214 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant1Plan? Type3215 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5? Type3215 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant2? Type3216 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5Note? Type3216 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant2PrimaryOrg? Type3217 { get; set; } + public global::HuggingFace.OneOf? Type3217 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgPlan? Type3218 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant1? Type3218 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole? Type3219 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant1Plan? Type3219 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant5Theme? Type3220 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant2? Type3220 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant6? Type3221 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant2PrimaryOrg? Type3221 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant6Note? Type3222 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgPlan? Type3222 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant6RepoType? Type3223 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5OwnerVariant2PrimaryOrgUserRole? Type3223 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant6Disabled? Type3224 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant5Theme? Type3224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3225 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant6? Type3225 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant6CdnRegion? Type3226 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant6Note? Type3226 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant6CdnRegionProvider? Type3227 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant6RepoType? Type3227 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant6CdnRegionRegion? Type3228 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant6Disabled? Type3228 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponseItemVariant6ResourceGroup? Type3229 { get; set; } + public global::System.Collections.Generic.IList? Type3229 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResponse2? Type3230 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant6CdnRegion? Type3230 { get; set; } /// /// /// - public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type3231 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant6CdnRegionProvider? Type3231 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3232 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant6CdnRegionRegion? Type3232 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1Item? Type3233 { get; set; } + public global::HuggingFace.CreateCollectionsResponseItemVariant6ResourceGroup? Type3233 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemGatingVariant2Variant2? Type3234 { get; set; } + public global::HuggingFace.CreateCollectionsResponse2? Type3234 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemGatingVariant2Variant3? Type3235 { get; set; } + public global::HuggingFace.AnyOf, global::System.Collections.Generic.IList>? Type3235 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemGatingVariant2Variant3Notifications? Type3236 { get; set; } + public global::System.Collections.Generic.IList? Type3236 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemGatingVariant2Variant3NotificationsMode? Type3237 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1Item? Type3237 { get; set; } /// /// /// - public global::HuggingFace.OneOf? Type3238 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemGatingVariant2Variant2? Type3238 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant1? Type3239 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemGatingVariant2Variant3? Type3239 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant1Plan? Type3240 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemGatingVariant2Variant3Notifications? Type3240 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant2? Type3241 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemGatingVariant2Variant3NotificationsMode? Type3241 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant2PrimaryOrg? Type3242 { get; set; } + public global::HuggingFace.OneOf? Type3242 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant2PrimaryOrgPlan? Type3243 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant1? Type3243 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant2PrimaryOrgUserRole? Type3244 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant1Plan? Type3244 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemTheme? Type3245 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant2? Type3245 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemResourceGroup? Type3246 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant2PrimaryOrg? Type3246 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1? Type3247 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant2PrimaryOrgPlan? Type3247 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1Note? Type3248 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemOwnerVariant2PrimaryOrgUserRole? Type3248 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfo? Type3249 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemTheme? Type3249 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoViewer? Type3250 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemResourceGroup? Type3250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3251 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1? Type3251 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie? Type3252 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1Note? Type3252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3253 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfo? Type3253 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoFormat? Type3254 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoViewer? Type3254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3255 { get; set; } + public global::System.Collections.Generic.IList? Type3255 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoModalitie? Type3256 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie? Type3256 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3257 { get; set; } + public global::System.Collections.Generic.IList? Type3257 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1Gated? Type3258 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoFormat? Type3258 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1ResourceGroup? Type3259 { get; set; } + public global::System.Collections.Generic.IList? Type3259 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2? Type3260 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoModalitie? Type3260 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2Note? Type3261 { get; set; } + public global::HuggingFace.AnyOf? Type3261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3262 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1Gated? Type3262 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProvider? Type3263 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant1ResourceGroup? Type3263 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderProvider? Type3264 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2? Type3264 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderProviderStatus? Type3265 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2Note? Type3265 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderModelStatus? Type3266 { get; set; } + public global::System.Collections.Generic.IList? Type3266 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderTask? Type3267 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProvider? Type3267 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderFeatures? Type3268 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderProvider? Type3268 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3269 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderProviderStatus? Type3269 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2Gated? Type3270 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderModelStatus? Type3270 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2ResourceGroup? Type3271 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderTask? Type3271 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant1? Type3272 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AvailableInferenceProviderFeatures? Type3272 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant1Plan? Type3273 { get; set; } + public global::HuggingFace.AnyOf? Type3273 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant2? Type3274 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2Gated? Type3274 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant2PrimaryOrg? Type3275 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2ResourceGroup? Type3275 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type3276 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant1? Type3276 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type3277 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant1Plan? Type3277 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3? Type3278 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant2? Type3278 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3Note? Type3279 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant2PrimaryOrg? Type3279 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3Sdk? Type3280 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant2PrimaryOrgPlan? Type3280 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3Runtime? Type3281 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant2AuthorDataVariant2PrimaryOrgUserRole? Type3281 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeStage? Type3282 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3? Type3282 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeHardware? Type3283 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3Note? Type3283 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeHardwareCurrent? Type3284 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3Sdk? Type3284 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeHardwareRequested? Type3285 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3Runtime? Type3285 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeReplicas? Type3286 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeStage? Type3286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3287 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeHardware? Type3287 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeDomain? Type3288 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeHardwareCurrent? Type3288 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeDomainStage? Type3289 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeHardwareRequested? Type3289 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeHotReloading? Type3290 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeReplicas? Type3290 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepo? Type3291 { get; set; } + public global::System.Collections.Generic.IList? Type3291 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant1? Type3292 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeDomain? Type3292 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant1Plan? Type3293 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeDomainStage? Type3293 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant2? Type3294 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3RuntimeHotReloading? Type3294 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type3295 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepo? Type3295 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type3296 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant1? Type3296 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type3297 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant1Plan? Type3297 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3ResourceGroup? Type3298 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant2? Type3298 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant1? Type3299 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant2PrimaryOrg? Type3299 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant1Plan? Type3300 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant2PrimaryOrgPlan? Type3300 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant2? Type3301 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3OriginRepoAuthorVariant2PrimaryOrgUserRole? Type3301 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant2PrimaryOrg? Type3302 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3ResourceGroup? Type3302 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type3303 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant1? Type3303 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type3304 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant1Plan? Type3304 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3Visibility? Type3305 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant2? Type3305 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant4? Type3306 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant2PrimaryOrg? Type3306 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant4Note? Type3307 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant2PrimaryOrgPlan? Type3307 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5? Type3308 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3AuthorDataVariant2PrimaryOrgUserRole? Type3308 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5Note? Type3309 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant3Visibility? Type3309 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant1? Type3310 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant4? Type3310 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant1Plan? Type3311 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant4Note? Type3311 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant2? Type3312 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5? Type3312 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant2PrimaryOrg? Type3313 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5Note? Type3313 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant2PrimaryOrgPlan? Type3314 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant1? Type3314 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant2PrimaryOrgUserRole? Type3315 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant1Plan? Type3315 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5Theme? Type3316 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant2? Type3316 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6? Type3317 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant2PrimaryOrg? Type3317 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6Note? Type3318 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant2PrimaryOrgPlan? Type3318 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6RepoType? Type3319 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5OwnerVariant2PrimaryOrgUserRole? Type3319 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6Disabled? Type3320 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant5Theme? Type3320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3321 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6? Type3321 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6CdnRegion? Type3322 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6Note? Type3322 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6CdnRegionProvider? Type3323 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6RepoType? Type3323 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6CdnRegionRegion? Type3324 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6Disabled? Type3324 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6ResourceGroup? Type3325 { get; set; } + public global::System.Collections.Generic.IList? Type3325 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3326 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6CdnRegion? Type3326 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant2Item? Type3327 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6CdnRegionProvider? Type3327 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResponseVariant2ItemResourceGroup? Type3328 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6CdnRegionRegion? Type3328 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResourceGroupResponse? Type3329 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant1ItemItemVariant6ResourceGroup? Type3329 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResourceGroupResponse? Type3330 { get; set; } + public global::System.Collections.Generic.IList? Type3330 { get; set; } /// /// /// - public global::HuggingFace.GetCollectionsResourceGroupResponse2? Type3331 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant2Item? Type3331 { get; set; } /// /// /// - public global::HuggingFace.CreateCollectionsResourceGroupResponse2? Type3332 { get; set; } + public global::HuggingFace.GetCollectionsResponseVariant2ItemResourceGroup? Type3332 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsResponse? Type3333 { get; set; } + public global::HuggingFace.GetCollectionsResourceGroupResponse? Type3333 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsResponse2? Type3334 { get; set; } + public global::HuggingFace.CreateCollectionsResourceGroupResponse? Type3334 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponse? Type3335 { get; set; } + public global::HuggingFace.GetCollectionsResourceGroupResponse2? Type3335 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseRepoType? Type3336 { get; set; } + public global::HuggingFace.CreateCollectionsResourceGroupResponse2? Type3336 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseDisabled? Type3337 { get; set; } + public global::HuggingFace.CreateBucketsResponse? Type3337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3338 { get; set; } + public global::HuggingFace.CreateBucketsResponse2? Type3338 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseCdnRegion? Type3339 { get; set; } + public global::HuggingFace.GetBucketsResponse? Type3339 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseCdnRegionProvider? Type3340 { get; set; } + public global::HuggingFace.GetBucketsResponseRepoType? Type3340 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseCdnRegionRegion? Type3341 { get; set; } + public global::HuggingFace.GetBucketsResponseDisabled? Type3341 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseResourceGroup? Type3342 { get; set; } + public global::System.Collections.Generic.IList? Type3342 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersResponse? Type3343 { get; set; } + public global::HuggingFace.GetBucketsResponseCdnRegion? Type3343 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersResponse2? Type3344 { get; set; } + public global::HuggingFace.GetBucketsResponseCdnRegionProvider? Type3344 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponse? Type3345 { get; set; } + public global::HuggingFace.GetBucketsResponseCdnRegionRegion? Type3345 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseRepoType? Type3346 { get; set; } + public global::HuggingFace.GetBucketsResponseResourceGroup? Type3346 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseDisabled? Type3347 { get; set; } + public global::HuggingFace.CreateContainersResponse? Type3347 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3348 { get; set; } + public global::HuggingFace.CreateContainersResponse2? Type3348 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseCdnRegion? Type3349 { get; set; } + public global::HuggingFace.GetContainersResponse? Type3349 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseCdnRegionProvider? Type3350 { get; set; } + public global::HuggingFace.GetContainersResponseRepoType? Type3350 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseCdnRegionRegion? Type3351 { get; set; } + public global::HuggingFace.GetContainersResponseDisabled? Type3351 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseResourceGroup? Type3352 { get; set; } + public global::System.Collections.Generic.IList? Type3352 { get; set; } /// /// /// - public global::HuggingFace.PutBucketsSettingsResponse? Type3353 { get; set; } + public global::HuggingFace.GetContainersResponseCdnRegion? Type3353 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3354 { get; set; } + public global::HuggingFace.GetContainersResponseCdnRegionProvider? Type3354 { get; set; } /// /// /// - public global::HuggingFace.PutBucketsSettingsResponseCdnRegion? Type3355 { get; set; } + public global::HuggingFace.GetContainersResponseCdnRegionRegion? Type3355 { get; set; } /// /// /// - public global::HuggingFace.PutBucketsSettingsResponseCdnRegionProvider? Type3356 { get; set; } + public global::HuggingFace.GetContainersResponseResourceGroup? Type3356 { get; set; } /// /// /// - public global::HuggingFace.PutBucketsSettingsResponseCdnRegionRegion? Type3357 { get; set; } + public global::HuggingFace.PutBucketsSettingsResponse? Type3357 { get; set; } /// /// /// - public global::HuggingFace.PutContainersSettingsResponse? Type3358 { get; set; } + public global::System.Collections.Generic.IList? Type3358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3359 { get; set; } + public global::HuggingFace.PutBucketsSettingsResponseCdnRegion? Type3359 { get; set; } /// /// /// - public global::HuggingFace.PutContainersSettingsResponseCdnRegion? Type3360 { get; set; } + public global::HuggingFace.PutBucketsSettingsResponseCdnRegionProvider? Type3360 { get; set; } /// /// /// - public global::HuggingFace.PutContainersSettingsResponseCdnRegionProvider? Type3361 { get; set; } + public global::HuggingFace.PutBucketsSettingsResponseCdnRegionRegion? Type3361 { get; set; } /// /// /// - public global::HuggingFace.PutContainersSettingsResponseCdnRegionRegion? Type3362 { get; set; } + public global::HuggingFace.PutContainersSettingsResponse? Type3362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3363 { get; set; } + public global::System.Collections.Generic.IList? Type3363 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseItem? Type3364 { get; set; } + public global::HuggingFace.PutContainersSettingsResponseCdnRegion? Type3364 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseItemRepoType? Type3365 { get; set; } + public global::HuggingFace.PutContainersSettingsResponseCdnRegionProvider? Type3365 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseItemDisabled? Type3366 { get; set; } + public global::HuggingFace.PutContainersSettingsResponseCdnRegionRegion? Type3366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3367 { get; set; } + public global::System.Collections.Generic.IList? Type3367 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseItemCdnRegion? Type3368 { get; set; } + public global::HuggingFace.GetBucketsResponseItem? Type3368 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseItemCdnRegionProvider? Type3369 { get; set; } + public global::HuggingFace.GetBucketsResponseItemRepoType? Type3369 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseItemCdnRegionRegion? Type3370 { get; set; } + public global::HuggingFace.GetBucketsResponseItemDisabled? Type3370 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResponseItemResourceGroup? Type3371 { get; set; } + public global::System.Collections.Generic.IList? Type3371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3372 { get; set; } + public global::HuggingFace.GetBucketsResponseItemCdnRegion? Type3372 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseItem? Type3373 { get; set; } + public global::HuggingFace.GetBucketsResponseItemCdnRegionProvider? Type3373 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseItemRepoType? Type3374 { get; set; } + public global::HuggingFace.GetBucketsResponseItemCdnRegionRegion? Type3374 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseItemDisabled? Type3375 { get; set; } + public global::HuggingFace.GetBucketsResponseItemResourceGroup? Type3375 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3376 { get; set; } + public global::System.Collections.Generic.IList? Type3376 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseItemCdnRegion? Type3377 { get; set; } + public global::HuggingFace.GetContainersResponseItem? Type3377 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseItemCdnRegionProvider? Type3378 { get; set; } + public global::HuggingFace.GetContainersResponseItemRepoType? Type3378 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseItemCdnRegionRegion? Type3379 { get; set; } + public global::HuggingFace.GetContainersResponseItemDisabled? Type3379 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResponseItemResourceGroup? Type3380 { get; set; } + public global::System.Collections.Generic.IList? Type3380 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResolveResponse? Type3381 { get; set; } + public global::HuggingFace.GetContainersResponseItemCdnRegion? Type3381 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResolveResponse3? Type3382 { get; set; } + public global::HuggingFace.GetContainersResponseItemCdnRegionProvider? Type3382 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsResolveResponse4? Type3383 { get; set; } + public global::HuggingFace.GetContainersResponseItemCdnRegionRegion? Type3383 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResolveResponse? Type3384 { get; set; } + public global::HuggingFace.GetContainersResponseItemResourceGroup? Type3384 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResolveResponse3? Type3385 { get; set; } + public global::HuggingFace.GetBucketsResolveResponse? Type3385 { get; set; } /// /// /// - public global::HuggingFace.GetContainersResolveResponse4? Type3386 { get; set; } + public global::HuggingFace.GetBucketsResolveResponse3? Type3386 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsBatchResponse? Type3387 { get; set; } + public global::HuggingFace.GetBucketsResolveResponse4? Type3387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3388 { get; set; } + public global::HuggingFace.GetContainersResolveResponse? Type3388 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsBatchResponseFailedItem? Type3389 { get; set; } + public global::HuggingFace.GetContainersResolveResponse3? Type3389 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsBatchResponse2? Type3390 { get; set; } + public global::HuggingFace.GetContainersResolveResponse4? Type3390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3391 { get; set; } + public global::HuggingFace.CreateBucketsBatchResponse? Type3391 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsBatchResponseFailedItem2? Type3392 { get; set; } + public global::System.Collections.Generic.IList? Type3392 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersBatchResponse? Type3393 { get; set; } + public global::HuggingFace.CreateBucketsBatchResponseFailedItem? Type3393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3394 { get; set; } + public global::HuggingFace.CreateBucketsBatchResponse2? Type3394 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersBatchResponseFailedItem? Type3395 { get; set; } + public global::System.Collections.Generic.IList? Type3395 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersBatchResponse2? Type3396 { get; set; } + public global::HuggingFace.CreateBucketsBatchResponseFailedItem2? Type3396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3397 { get; set; } + public global::HuggingFace.CreateContainersBatchResponse? Type3397 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersBatchResponseFailedItem2? Type3398 { get; set; } + public global::System.Collections.Generic.IList? Type3398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3399 { get; set; } + public global::HuggingFace.CreateContainersBatchResponseFailedItem? Type3399 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsTreeResponseItem? Type3400 { get; set; } + public global::HuggingFace.CreateContainersBatchResponse2? Type3400 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsTreeResponseItemType? Type3401 { get; set; } + public global::System.Collections.Generic.IList? Type3401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3402 { get; set; } + public global::HuggingFace.CreateContainersBatchResponseFailedItem2? Type3402 { get; set; } /// /// /// - public global::HuggingFace.GetContainersTreeResponseItem? Type3403 { get; set; } + public global::System.Collections.Generic.IList? Type3403 { get; set; } /// /// /// - public global::HuggingFace.GetContainersTreeResponseItemType? Type3404 { get; set; } + public global::HuggingFace.GetBucketsTreeResponseItem? Type3404 { get; set; } /// /// /// - public global::HuggingFace.GetBucketsEventsResponse? Type3405 { get; set; } + public global::HuggingFace.GetBucketsTreeResponseItemType? Type3405 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3406 { get; set; } + public global::System.Collections.Generic.IList? Type3406 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsPathsInfoResponseItem? Type3407 { get; set; } + public global::HuggingFace.GetContainersTreeResponseItem? Type3407 { get; set; } /// /// /// - public global::HuggingFace.CreateBucketsPathsInfoResponseItemType? Type3408 { get; set; } + public global::HuggingFace.GetContainersTreeResponseItemType? Type3408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3409 { get; set; } + public global::HuggingFace.GetBucketsEventsResponse? Type3409 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersPathsInfoResponseItem? Type3410 { get; set; } + public global::System.Collections.Generic.IList? Type3410 { get; set; } /// /// /// - public global::HuggingFace.CreateContainersPathsInfoResponseItemType? Type3411 { get; set; } + public global::HuggingFace.CreateBucketsPathsInfoResponseItem? Type3411 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3412 { get; set; } + public global::HuggingFace.CreateBucketsPathsInfoResponseItemType? Type3412 { get; set; } /// /// /// - public global::HuggingFace.GetJobsHardwareResponseItem? Type3413 { get; set; } + public global::System.Collections.Generic.IList? Type3413 { get; set; } /// /// /// - public global::HuggingFace.GetJobsHardwareResponseItemAccelerator? Type3414 { get; set; } + public global::HuggingFace.CreateContainersPathsInfoResponseItem? Type3414 { get; set; } /// /// /// - public global::HuggingFace.GetJobsHardwareResponseItemAcceleratorType? Type3415 { get; set; } + public global::HuggingFace.CreateContainersPathsInfoResponseItemType? Type3415 { get; set; } /// /// /// - public global::HuggingFace.GetJobsHardwareResponseItemAcceleratorManufacturer? Type3416 { get; set; } + public global::System.Collections.Generic.IList? Type3416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3417 { get; set; } + public global::HuggingFace.GetJobsHardwareResponseItem? Type3417 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItem? Type3418 { get; set; } + public global::HuggingFace.GetJobsHardwareResponseItemAccelerator? Type3418 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemArch? Type3419 { get; set; } + public global::HuggingFace.GetJobsHardwareResponseItemAcceleratorType? Type3419 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemFlavor? Type3420 { get; set; } + public global::HuggingFace.GetJobsHardwareResponseItemAcceleratorManufacturer? Type3420 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemCreatedBy? Type3421 { get; set; } + public global::System.Collections.Generic.IList? Type3421 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemDurations? Type3422 { get; set; } + public global::HuggingFace.GetJobsResponseItem? Type3422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3423 { get; set; } + public global::HuggingFace.GetJobsResponseItemArch? Type3423 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemVolume? Type3424 { get; set; } + public global::HuggingFace.GetJobsResponseItemFlavor? Type3424 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemExpose? Type3425 { get; set; } + public global::HuggingFace.GetJobsResponseItemCreatedBy? Type3425 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemNetwork? Type3426 { get; set; } + public global::HuggingFace.GetJobsResponseItemDurations? Type3426 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemOwner? Type3427 { get; set; } + public global::System.Collections.Generic.IList? Type3427 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemOwnerType? Type3428 { get; set; } + public global::HuggingFace.GetJobsResponseItemVolume? Type3428 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemResourceGroup? Type3429 { get; set; } + public global::HuggingFace.GetJobsResponseItemExpose? Type3429 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemInitiatorVariant1? Type3430 { get; set; } + public global::HuggingFace.GetJobsResponseItemNetwork? Type3430 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemInitiatorVariant1Type? Type3431 { get; set; } + public global::HuggingFace.GetJobsResponseItemOwner? Type3431 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemInitiatorVariant2? Type3432 { get; set; } + public global::HuggingFace.GetJobsResponseItemOwnerType? Type3432 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemInitiatorVariant3? Type3433 { get; set; } + public global::HuggingFace.GetJobsResponseItemResourceGroup? Type3433 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemInitiatorVariant4? Type3434 { get; set; } + public global::HuggingFace.GetJobsResponseItemInitiatorVariant1? Type3434 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemStatus? Type3435 { get; set; } + public global::HuggingFace.GetJobsResponseItemInitiatorVariant1Type? Type3435 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemStatusStage? Type3436 { get; set; } + public global::HuggingFace.GetJobsResponseItemInitiatorVariant2? Type3436 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3437 { get; set; } + public global::HuggingFace.GetJobsResponseItemInitiatorVariant3? Type3437 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemStatusCancelReason? Type3438 { get; set; } + public global::HuggingFace.GetJobsResponseItemInitiatorVariant4? Type3438 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemHfToken? Type3439 { get; set; } + public global::HuggingFace.GetJobsResponseItemStatus? Type3439 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseItemHfTokenTokenRole? Type3440 { get; set; } + public global::HuggingFace.GetJobsResponseItemStatusStage? Type3440 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponse? Type3441 { get; set; } + public global::HuggingFace.AnyOf? Type3441 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseArch? Type3442 { get; set; } + public global::HuggingFace.GetJobsResponseItemStatusCancelReason? Type3442 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseFlavor? Type3443 { get; set; } + public global::HuggingFace.GetJobsResponseItemHfToken? Type3443 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseCreatedBy? Type3444 { get; set; } + public global::HuggingFace.GetJobsResponseItemHfTokenTokenRole? Type3444 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseDurations? Type3445 { get; set; } + public global::HuggingFace.CreateJobsResponse? Type3445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3446 { get; set; } + public global::HuggingFace.CreateJobsResponseArch? Type3446 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseVolume? Type3447 { get; set; } + public global::HuggingFace.CreateJobsResponseFlavor? Type3447 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseExpose? Type3448 { get; set; } + public global::HuggingFace.CreateJobsResponseCreatedBy? Type3448 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseNetwork? Type3449 { get; set; } + public global::HuggingFace.CreateJobsResponseDurations? Type3449 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseOwner? Type3450 { get; set; } + public global::System.Collections.Generic.IList? Type3450 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseOwnerType? Type3451 { get; set; } + public global::HuggingFace.CreateJobsResponseVolume? Type3451 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseResourceGroup? Type3452 { get; set; } + public global::HuggingFace.CreateJobsResponseExpose? Type3452 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseInitiatorVariant1? Type3453 { get; set; } + public global::HuggingFace.CreateJobsResponseNetwork? Type3453 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseInitiatorVariant1Type? Type3454 { get; set; } + public global::HuggingFace.CreateJobsResponseOwner? Type3454 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseInitiatorVariant2? Type3455 { get; set; } + public global::HuggingFace.CreateJobsResponseOwnerType? Type3455 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseInitiatorVariant3? Type3456 { get; set; } + public global::HuggingFace.CreateJobsResponseResourceGroup? Type3456 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseInitiatorVariant4? Type3457 { get; set; } + public global::HuggingFace.CreateJobsResponseInitiatorVariant1? Type3457 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseStatus? Type3458 { get; set; } + public global::HuggingFace.CreateJobsResponseInitiatorVariant1Type? Type3458 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseStatusStage? Type3459 { get; set; } + public global::HuggingFace.CreateJobsResponseInitiatorVariant2? Type3459 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3460 { get; set; } + public global::HuggingFace.CreateJobsResponseInitiatorVariant3? Type3460 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseStatusCancelReason? Type3461 { get; set; } + public global::HuggingFace.CreateJobsResponseInitiatorVariant4? Type3461 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseHfToken? Type3462 { get; set; } + public global::HuggingFace.CreateJobsResponseStatus? Type3462 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsResponseHfTokenTokenRole? Type3463 { get; set; } + public global::HuggingFace.CreateJobsResponseStatusStage? Type3463 { get; set; } /// /// /// - public global::HuggingFace.GetJobsCountResponse? Type3464 { get; set; } + public global::HuggingFace.AnyOf? Type3464 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponse? Type3465 { get; set; } + public global::HuggingFace.CreateJobsResponseStatusCancelReason? Type3465 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseArch? Type3466 { get; set; } + public global::HuggingFace.CreateJobsResponseHfToken? Type3466 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseFlavor? Type3467 { get; set; } + public global::HuggingFace.CreateJobsResponseHfTokenTokenRole? Type3467 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseCreatedBy? Type3468 { get; set; } + public global::HuggingFace.GetJobsCountResponse? Type3468 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseDurations? Type3469 { get; set; } + public global::HuggingFace.GetJobsResponse? Type3469 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3470 { get; set; } + public global::HuggingFace.GetJobsResponseArch? Type3470 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseVolume? Type3471 { get; set; } + public global::HuggingFace.GetJobsResponseFlavor? Type3471 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseExpose? Type3472 { get; set; } + public global::HuggingFace.GetJobsResponseCreatedBy? Type3472 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseNetwork? Type3473 { get; set; } + public global::HuggingFace.GetJobsResponseDurations? Type3473 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseOwner? Type3474 { get; set; } + public global::System.Collections.Generic.IList? Type3474 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseOwnerType? Type3475 { get; set; } + public global::HuggingFace.GetJobsResponseVolume? Type3475 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseResourceGroup? Type3476 { get; set; } + public global::HuggingFace.GetJobsResponseExpose? Type3476 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseInitiatorVariant1? Type3477 { get; set; } + public global::HuggingFace.GetJobsResponseNetwork? Type3477 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseInitiatorVariant1Type? Type3478 { get; set; } + public global::HuggingFace.GetJobsResponseOwner? Type3478 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseInitiatorVariant2? Type3479 { get; set; } + public global::HuggingFace.GetJobsResponseOwnerType? Type3479 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseInitiatorVariant3? Type3480 { get; set; } + public global::HuggingFace.GetJobsResponseResourceGroup? Type3480 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseInitiatorVariant4? Type3481 { get; set; } + public global::HuggingFace.GetJobsResponseInitiatorVariant1? Type3481 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseStatus? Type3482 { get; set; } + public global::HuggingFace.GetJobsResponseInitiatorVariant1Type? Type3482 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseStatusStage? Type3483 { get; set; } + public global::HuggingFace.GetJobsResponseInitiatorVariant2? Type3483 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3484 { get; set; } + public global::HuggingFace.GetJobsResponseInitiatorVariant3? Type3484 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseStatusCancelReason? Type3485 { get; set; } + public global::HuggingFace.GetJobsResponseInitiatorVariant4? Type3485 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseHfToken? Type3486 { get; set; } + public global::HuggingFace.GetJobsResponseStatus? Type3486 { get; set; } /// /// /// - public global::HuggingFace.GetJobsResponseHfTokenTokenRole? Type3487 { get; set; } + public global::HuggingFace.GetJobsResponseStatusStage? Type3487 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponse? Type3488 { get; set; } + public global::HuggingFace.AnyOf? Type3488 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseArch? Type3489 { get; set; } + public global::HuggingFace.GetJobsResponseStatusCancelReason? Type3489 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseFlavor? Type3490 { get; set; } + public global::HuggingFace.GetJobsResponseHfToken? Type3490 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseCreatedBy? Type3491 { get; set; } + public global::HuggingFace.GetJobsResponseHfTokenTokenRole? Type3491 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseDurations? Type3492 { get; set; } + public global::HuggingFace.CreateJobsCancelResponse? Type3492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3493 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseArch? Type3493 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseVolume? Type3494 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseFlavor? Type3494 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseExpose? Type3495 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseCreatedBy? Type3495 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseNetwork? Type3496 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseDurations? Type3496 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseOwner? Type3497 { get; set; } + public global::System.Collections.Generic.IList? Type3497 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseOwnerType? Type3498 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseVolume? Type3498 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseResourceGroup? Type3499 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseExpose? Type3499 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant1? Type3500 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseNetwork? Type3500 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant1Type? Type3501 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseOwner? Type3501 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant2? Type3502 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseOwnerType? Type3502 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant3? Type3503 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseResourceGroup? Type3503 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant4? Type3504 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant1? Type3504 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseStatus? Type3505 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant1Type? Type3505 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseStatusStage? Type3506 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant2? Type3506 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3507 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant3? Type3507 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseStatusCancelReason? Type3508 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseInitiatorVariant4? Type3508 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseHfToken? Type3509 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseStatus? Type3509 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsCancelResponseHfTokenTokenRole? Type3510 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseStatusStage? Type3510 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponse? Type3511 { get; set; } + public global::HuggingFace.AnyOf? Type3511 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseArch? Type3512 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseStatusCancelReason? Type3512 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseFlavor? Type3513 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseHfToken? Type3513 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseCreatedBy? Type3514 { get; set; } + public global::HuggingFace.CreateJobsCancelResponseHfTokenTokenRole? Type3514 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseDurations? Type3515 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponse? Type3515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3516 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseArch? Type3516 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseVolume? Type3517 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseFlavor? Type3517 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseExpose? Type3518 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseCreatedBy? Type3518 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseNetwork? Type3519 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseDurations? Type3519 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseOwner? Type3520 { get; set; } + public global::System.Collections.Generic.IList? Type3520 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseOwnerType? Type3521 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseVolume? Type3521 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseResourceGroup? Type3522 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseExpose? Type3522 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant1? Type3523 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseNetwork? Type3523 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant1Type? Type3524 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseOwner? Type3524 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant2? Type3525 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseOwnerType? Type3525 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant3? Type3526 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseResourceGroup? Type3526 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant4? Type3527 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant1? Type3527 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseStatus? Type3528 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant1Type? Type3528 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseStatusStage? Type3529 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant2? Type3529 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3530 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant3? Type3530 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseStatusCancelReason? Type3531 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseInitiatorVariant4? Type3531 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseHfToken? Type3532 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseStatus? Type3532 { get; set; } /// /// /// - public global::HuggingFace.CreateJobsDuplicateResponseHfTokenTokenRole? Type3533 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseStatusStage? Type3533 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponse? Type3534 { get; set; } + public global::HuggingFace.AnyOf? Type3534 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseArch? Type3535 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseStatusCancelReason? Type3535 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseFlavor? Type3536 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseHfToken? Type3536 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseCreatedBy? Type3537 { get; set; } + public global::HuggingFace.CreateJobsDuplicateResponseHfTokenTokenRole? Type3537 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseDurations? Type3538 { get; set; } + public global::HuggingFace.PutJobsLabelsResponse? Type3538 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3539 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseArch? Type3539 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseVolume? Type3540 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseFlavor? Type3540 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseExpose? Type3541 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseCreatedBy? Type3541 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseNetwork? Type3542 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseDurations? Type3542 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseOwner? Type3543 { get; set; } + public global::System.Collections.Generic.IList? Type3543 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseOwnerType? Type3544 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseVolume? Type3544 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseResourceGroup? Type3545 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseExpose? Type3545 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant1? Type3546 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseNetwork? Type3546 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant1Type? Type3547 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseOwner? Type3547 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant2? Type3548 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseOwnerType? Type3548 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant3? Type3549 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseResourceGroup? Type3549 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant4? Type3550 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant1? Type3550 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseStatus? Type3551 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant1Type? Type3551 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseStatusStage? Type3552 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant2? Type3552 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3553 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant3? Type3553 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseStatusCancelReason? Type3554 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseInitiatorVariant4? Type3554 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseHfToken? Type3555 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseStatus? Type3555 { get; set; } /// /// /// - public global::HuggingFace.PutJobsLabelsResponseHfTokenTokenRole? Type3556 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseStatusStage? Type3556 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponse? Type3557 { get; set; } + public global::HuggingFace.AnyOf? Type3557 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseArch? Type3558 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseStatusCancelReason? Type3558 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseFlavor? Type3559 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseHfToken? Type3559 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseCreatedBy? Type3560 { get; set; } + public global::HuggingFace.PutJobsLabelsResponseHfTokenTokenRole? Type3560 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseDurations? Type3561 { get; set; } + public global::HuggingFace.PutJobsExposeResponse? Type3561 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3562 { get; set; } + public global::HuggingFace.PutJobsExposeResponseArch? Type3562 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseVolume? Type3563 { get; set; } + public global::HuggingFace.PutJobsExposeResponseFlavor? Type3563 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseExpose? Type3564 { get; set; } + public global::HuggingFace.PutJobsExposeResponseCreatedBy? Type3564 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseNetwork? Type3565 { get; set; } + public global::HuggingFace.PutJobsExposeResponseDurations? Type3565 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseOwner? Type3566 { get; set; } + public global::System.Collections.Generic.IList? Type3566 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseOwnerType? Type3567 { get; set; } + public global::HuggingFace.PutJobsExposeResponseVolume? Type3567 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseResourceGroup? Type3568 { get; set; } + public global::HuggingFace.PutJobsExposeResponseExpose? Type3568 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseInitiatorVariant1? Type3569 { get; set; } + public global::HuggingFace.PutJobsExposeResponseNetwork? Type3569 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseInitiatorVariant1Type? Type3570 { get; set; } + public global::HuggingFace.PutJobsExposeResponseOwner? Type3570 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseInitiatorVariant2? Type3571 { get; set; } + public global::HuggingFace.PutJobsExposeResponseOwnerType? Type3571 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseInitiatorVariant3? Type3572 { get; set; } + public global::HuggingFace.PutJobsExposeResponseResourceGroup? Type3572 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseInitiatorVariant4? Type3573 { get; set; } + public global::HuggingFace.PutJobsExposeResponseInitiatorVariant1? Type3573 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseStatus? Type3574 { get; set; } + public global::HuggingFace.PutJobsExposeResponseInitiatorVariant1Type? Type3574 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseStatusStage? Type3575 { get; set; } + public global::HuggingFace.PutJobsExposeResponseInitiatorVariant2? Type3575 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3576 { get; set; } + public global::HuggingFace.PutJobsExposeResponseInitiatorVariant3? Type3576 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseStatusCancelReason? Type3577 { get; set; } + public global::HuggingFace.PutJobsExposeResponseInitiatorVariant4? Type3577 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseHfToken? Type3578 { get; set; } + public global::HuggingFace.PutJobsExposeResponseStatus? Type3578 { get; set; } /// /// /// - public global::HuggingFace.PutJobsExposeResponseHfTokenTokenRole? Type3579 { get; set; } + public global::HuggingFace.PutJobsExposeResponseStatusStage? Type3579 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponse? Type3580 { get; set; } + public global::HuggingFace.AnyOf? Type3580 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseStatus? Type3581 { get; set; } + public global::HuggingFace.PutJobsExposeResponseStatusCancelReason? Type3581 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseStatusLastJob? Type3582 { get; set; } + public global::HuggingFace.PutJobsExposeResponseHfToken? Type3582 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseOwner? Type3583 { get; set; } + public global::HuggingFace.PutJobsExposeResponseHfTokenTokenRole? Type3583 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseOwnerType? Type3584 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponse? Type3584 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseInitiator? Type3585 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseStatus? Type3585 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseInitiatorType? Type3586 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseStatusLastJob? Type3586 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpec? Type3587 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseOwner? Type3587 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecArch? Type3588 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseOwnerType? Type3588 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecFlavor? Type3589 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseInitiator? Type3589 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecDurations? Type3590 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseInitiatorType? Type3590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3591 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpec? Type3591 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecVolume? Type3592 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecArch? Type3592 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecExpose? Type3593 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecFlavor? Type3593 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecNetwork? Type3594 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecDurations? Type3594 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecResourceGroup? Type3595 { get; set; } + public global::System.Collections.Generic.IList? Type3595 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecHfToken? Type3596 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecVolume? Type3596 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsResponseJobSpecHfTokenTokenRole? Type3597 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecExpose? Type3597 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3598 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecNetwork? Type3598 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItem? Type3599 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecResourceGroup? Type3599 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemStatus? Type3600 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecHfToken? Type3600 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemStatusLastJob? Type3601 { get; set; } + public global::HuggingFace.CreateScheduledJobsResponseJobSpecHfTokenTokenRole? Type3601 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemOwner? Type3602 { get; set; } + public global::System.Collections.Generic.IList? Type3602 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemOwnerType? Type3603 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItem? Type3603 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemInitiator? Type3604 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemStatus? Type3604 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemInitiatorType? Type3605 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemStatusLastJob? Type3605 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpec? Type3606 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemOwner? Type3606 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecArch? Type3607 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemOwnerType? Type3607 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecFlavor? Type3608 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemInitiator? Type3608 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecDurations? Type3609 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemInitiatorType? Type3609 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3610 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpec? Type3610 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecVolume? Type3611 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecArch? Type3611 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecExpose? Type3612 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecFlavor? Type3612 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecNetwork? Type3613 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecDurations? Type3613 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecResourceGroup? Type3614 { get; set; } + public global::System.Collections.Generic.IList? Type3614 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecHfToken? Type3615 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecVolume? Type3615 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseItemJobSpecHfTokenTokenRole? Type3616 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecExpose? Type3616 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponse? Type3617 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecNetwork? Type3617 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseStatus? Type3618 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecResourceGroup? Type3618 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseStatusLastJob? Type3619 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecHfToken? Type3619 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseOwner? Type3620 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseItemJobSpecHfTokenTokenRole? Type3620 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseOwnerType? Type3621 { get; set; } + public global::HuggingFace.GetScheduledJobsResponse? Type3621 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseInitiator? Type3622 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseStatus? Type3622 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseInitiatorType? Type3623 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseStatusLastJob? Type3623 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpec? Type3624 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseOwner? Type3624 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecArch? Type3625 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseOwnerType? Type3625 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecFlavor? Type3626 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseInitiator? Type3626 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecDurations? Type3627 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseInitiatorType? Type3627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3628 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpec? Type3628 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecVolume? Type3629 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecArch? Type3629 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecExpose? Type3630 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecFlavor? Type3630 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecNetwork? Type3631 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecDurations? Type3631 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecResourceGroup? Type3632 { get; set; } + public global::System.Collections.Generic.IList? Type3632 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecHfToken? Type3633 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecVolume? Type3633 { get; set; } /// /// /// - public global::HuggingFace.GetScheduledJobsResponseJobSpecHfTokenTokenRole? Type3634 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecExpose? Type3634 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponse? Type3635 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecNetwork? Type3635 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseArch? Type3636 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecResourceGroup? Type3636 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseFlavor? Type3637 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecHfToken? Type3637 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseCreatedBy? Type3638 { get; set; } + public global::HuggingFace.GetScheduledJobsResponseJobSpecHfTokenTokenRole? Type3638 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseDurations? Type3639 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponse? Type3639 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3640 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseArch? Type3640 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseVolume? Type3641 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseFlavor? Type3641 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseExpose? Type3642 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseCreatedBy? Type3642 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseNetwork? Type3643 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseDurations? Type3643 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseOwner? Type3644 { get; set; } + public global::System.Collections.Generic.IList? Type3644 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseOwnerType? Type3645 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseVolume? Type3645 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseResourceGroup? Type3646 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseExpose? Type3646 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant1? Type3647 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseNetwork? Type3647 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant1Type? Type3648 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseOwner? Type3648 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant2? Type3649 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseOwnerType? Type3649 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant3? Type3650 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseResourceGroup? Type3650 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant4? Type3651 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant1? Type3651 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseStatus? Type3652 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant1Type? Type3652 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseStatusStage? Type3653 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant2? Type3653 { get; set; } /// /// /// - public global::HuggingFace.AnyOf? Type3654 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant3? Type3654 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseStatusCancelReason? Type3655 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseInitiatorVariant4? Type3655 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseHfToken? Type3656 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseStatus? Type3656 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponseHfTokenTokenRole? Type3657 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseStatusStage? Type3657 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsRunResponse2? Type3658 { get; set; } + public global::HuggingFace.AnyOf? Type3658 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponse? Type3659 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseStatusCancelReason? Type3659 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseStatus? Type3660 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseHfToken? Type3660 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseStatusLastJob? Type3661 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponseHfTokenTokenRole? Type3661 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseOwner? Type3662 { get; set; } + public global::HuggingFace.CreateScheduledJobsRunResponse2? Type3662 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseOwnerType? Type3663 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponse? Type3663 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseInitiator? Type3664 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseStatus? Type3664 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseInitiatorType? Type3665 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseStatusLastJob? Type3665 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpec? Type3666 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseOwner? Type3666 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecArch? Type3667 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseOwnerType? Type3667 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecFlavor? Type3668 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseInitiator? Type3668 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecDurations? Type3669 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseInitiatorType? Type3669 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3670 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpec? Type3670 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecVolume? Type3671 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecArch? Type3671 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecExpose? Type3672 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecFlavor? Type3672 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecNetwork? Type3673 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecDurations? Type3673 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecResourceGroup? Type3674 { get; set; } + public global::System.Collections.Generic.IList? Type3674 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecHfToken? Type3675 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecVolume? Type3675 { get; set; } /// /// /// - public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecHfTokenTokenRole? Type3676 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecExpose? Type3676 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponse? Type3677 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecNetwork? Type3677 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseStatus? Type3678 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecResourceGroup? Type3678 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseStatusLastJob? Type3679 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecHfToken? Type3679 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseOwner? Type3680 { get; set; } + public global::HuggingFace.CreateScheduledJobsScheduleResponseJobSpecHfTokenTokenRole? Type3680 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseOwnerType? Type3681 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponse? Type3681 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseInitiator? Type3682 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseStatus? Type3682 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseInitiatorType? Type3683 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseStatusLastJob? Type3683 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpec? Type3684 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseOwner? Type3684 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecArch? Type3685 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseOwnerType? Type3685 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecFlavor? Type3686 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseInitiator? Type3686 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecDurations? Type3687 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseInitiatorType? Type3687 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3688 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpec? Type3688 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecVolume? Type3689 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecArch? Type3689 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecExpose? Type3690 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecFlavor? Type3690 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecNetwork? Type3691 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecDurations? Type3691 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecResourceGroup? Type3692 { get; set; } + public global::System.Collections.Generic.IList? Type3692 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecHfToken? Type3693 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecVolume? Type3693 { get; set; } /// /// /// - public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecHfTokenTokenRole? Type3694 { get; set; } + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecExpose? Type3694 { get; set; } + /// + /// + /// + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecNetwork? Type3695 { get; set; } + /// + /// + /// + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecResourceGroup? Type3696 { get; set; } + /// + /// + /// + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecHfToken? Type3697 { get; set; } + /// + /// + /// + public global::HuggingFace.PutScheduledJobsLabelsResponseJobSpecHfTokenTokenRole? Type3698 { get; set; } /// /// diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs index 4cba7e99..758361ab 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this CreateCollectionsItemsResponseItemVarian { return value switch { + CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.Agentenv => "agentenv", CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.Argilla => "argilla", CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.Dask => "dask", CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this CreateCollectionsItemsResponseItemVarian { return value switch { + "agentenv" => CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.Agentenv, "argilla" => CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.Argilla, "dask" => CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.Dask, "datadesigner" => CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.g.cs index 8f05db14..4eb0bdc5 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2 { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this CreateCollectionsItemsResponseItemVarian { return value switch { + CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.Agentenv => "agentenv", CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.Argilla => "argilla", CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.Dask => "dask", CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this CreateCollectionsItemsResponseItemVarian { return value switch { + "agentenv" => CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.Agentenv, "argilla" => CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.Argilla, "dask" => CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.Dask, "datadesigner" => CreateCollectionsItemsResponseItemVariant1DatasetsServerInfoLibrarie2.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs index f1ea43da..3a37b473 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this CreateCollectionsResponseItemVariant1Dat { return value switch { + CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Agentenv => "agentenv", CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Argilla => "argilla", CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Dask => "dask", CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this CreateCollectionsResponseItemVariant1Dat { return value switch { + "agentenv" => CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Agentenv, "argilla" => CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Argilla, "dask" => CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Dask, "datadesigner" => CreateCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateQuicksearchLibrary2.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateQuicksearchLibrary2.g.cs index 287910ef..438f52d6 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateQuicksearchLibrary2.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateQuicksearchLibrary2.g.cs @@ -271,6 +271,10 @@ public enum CreateQuicksearchLibrary2 /// /// /// + Ensomi, + /// + /// + /// Espnet, /// /// @@ -1127,6 +1131,7 @@ public static string ToValueString(this CreateQuicksearchLibrary2 value) CreateQuicksearchLibrary2.Edsnlp => "edsnlp", CreateQuicksearchLibrary2.Elm => "elm", CreateQuicksearchLibrary2.Encoderfile => "encoderfile", + CreateQuicksearchLibrary2.Ensomi => "ensomi", CreateQuicksearchLibrary2.Espnet => "espnet", CreateQuicksearchLibrary2.Eupe => "eupe", CreateQuicksearchLibrary2.F5Tts => "f5-tts", @@ -1397,6 +1402,7 @@ public static string ToValueString(this CreateQuicksearchLibrary2 value) "edsnlp" => CreateQuicksearchLibrary2.Edsnlp, "elm" => CreateQuicksearchLibrary2.Elm, "encoderfile" => CreateQuicksearchLibrary2.Encoderfile, + "ensomi" => CreateQuicksearchLibrary2.Ensomi, "espnet" => CreateQuicksearchLibrary2.Espnet, "eupe" => CreateQuicksearchLibrary2.Eupe, "f5-tts" => CreateQuicksearchLibrary2.F5Tts, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateQuicksearchRequestLibrary.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateQuicksearchRequestLibrary.g.cs index ed3d2615..0154c7bc 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateQuicksearchRequestLibrary.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.CreateQuicksearchRequestLibrary.g.cs @@ -271,6 +271,10 @@ public enum CreateQuicksearchRequestLibrary /// /// /// + Ensomi, + /// + /// + /// Espnet, /// /// @@ -1127,6 +1131,7 @@ public static string ToValueString(this CreateQuicksearchRequestLibrary value) CreateQuicksearchRequestLibrary.Edsnlp => "edsnlp", CreateQuicksearchRequestLibrary.Elm => "elm", CreateQuicksearchRequestLibrary.Encoderfile => "encoderfile", + CreateQuicksearchRequestLibrary.Ensomi => "ensomi", CreateQuicksearchRequestLibrary.Espnet => "espnet", CreateQuicksearchRequestLibrary.Eupe => "eupe", CreateQuicksearchRequestLibrary.F5Tts => "f5-tts", @@ -1397,6 +1402,7 @@ public static string ToValueString(this CreateQuicksearchRequestLibrary value) "edsnlp" => CreateQuicksearchRequestLibrary.Edsnlp, "elm" => CreateQuicksearchRequestLibrary.Elm, "encoderfile" => CreateQuicksearchRequestLibrary.Encoderfile, + "ensomi" => CreateQuicksearchRequestLibrary.Ensomi, "espnet" => CreateQuicksearchRequestLibrary.Espnet, "eupe" => CreateQuicksearchRequestLibrary.Eupe, "f5-tts" => CreateQuicksearchRequestLibrary.F5Tts, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs index 6c86a051..b0c0796b 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this GetCollectionsResponseItemVariant1Datase { return value switch { + GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Agentenv => "agentenv", GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Argilla => "argilla", GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Dask => "dask", GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this GetCollectionsResponseItemVariant1Datase { return value switch { + "agentenv" => GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Agentenv, "argilla" => GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Argilla, "dask" => GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Dask, "datadesigner" => GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.g.cs index 930c3a89..4b97f459 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2 { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this GetCollectionsResponseItemVariant1Datase { return value switch { + GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.Agentenv => "agentenv", GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.Argilla => "argilla", GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.Dask => "dask", GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this GetCollectionsResponseItemVariant1Datase { return value switch { + "agentenv" => GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.Agentenv, "argilla" => GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.Argilla, "dask" => GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.Dask, "datadesigner" => GetCollectionsResponseItemVariant1DatasetsServerInfoLibrarie2.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.g.cs index 55f4ce21..05b8a243 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this GetCollectionsResponseVariant1ItemItemVa { return value switch { + GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.Agentenv => "agentenv", GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.Argilla => "argilla", GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.Dask => "dask", GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this GetCollectionsResponseVariant1ItemItemVa { return value switch { + "agentenv" => GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.Agentenv, "argilla" => GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.Argilla, "dask" => GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.Dask, "datadesigner" => GetCollectionsResponseVariant1ItemItemVariant1DatasetsServerInfoLibrarie.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponse.Json.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponse.Json.g.cs new file mode 100644 index 00000000..b4d07339 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace HuggingFace +{ + public sealed partial class GetModelsSafetensorsMetadataResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponse), + jsonSerializerContext) as global::HuggingFace.GetModelsSafetensorsMetadataResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponse? FromJson( + string json) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::HuggingFace.GetModelsSafetensorsMetadataResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::HuggingFace.GetModelsSafetensorsMetadataResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponse.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponse.g.cs new file mode 100644 index 00000000..1ab13008 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponse.g.cs @@ -0,0 +1,102 @@ + +#nullable enable + +namespace HuggingFace +{ + /// + /// + /// + public sealed partial class GetModelsSafetensorsMetadataResponse + { + /// + /// + /// + /// true + [global::System.Text.Json.Serialization.JsonPropertyName("sharded")] + public bool Sharded { get; set; } = true; + + /// + /// The index file, without its `weight_map`: each shard header lists its tensors + /// + [global::System.Text.Json.Serialization.JsonPropertyName("index")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex Index { get; set; } + + /// + /// The header of each shard, by shard file name: `__metadata__`, then the `dtype`, `shape` and `data_offsets` of each tensor + /// + [global::System.Text.Json.Serialization.JsonPropertyName("headers")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Headers { get; set; } + + /// + /// Number of parameters per dtype + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parameterCount")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary ParameterCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parameterTotal")] + public int? ParameterTotal { get; set; } + + /// + /// The index file, then every shard file + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filepaths")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Filepaths { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The index file, without its `weight_map`: each shard header lists its tensors + /// + /// + /// The header of each shard, by shard file name: `__metadata__`, then the `dtype`, `shape` and `data_offsets` of each tensor + /// + /// + /// Number of parameters per dtype + /// + /// + /// The index file, then every shard file + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetModelsSafetensorsMetadataResponse( + global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex index, + global::System.Collections.Generic.Dictionary headers, + global::System.Collections.Generic.Dictionary parameterCount, + global::System.Collections.Generic.IList filepaths, + int? parameterTotal, + bool sharded = true) + { + this.Sharded = sharded; + this.Index = index ?? throw new global::System.ArgumentNullException(nameof(index)); + this.Headers = headers ?? throw new global::System.ArgumentNullException(nameof(headers)); + this.ParameterCount = parameterCount ?? throw new global::System.ArgumentNullException(nameof(parameterCount)); + this.ParameterTotal = parameterTotal; + this.Filepaths = filepaths ?? throw new global::System.ArgumentNullException(nameof(filepaths)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetModelsSafetensorsMetadataResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders.Json.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders.Json.g.cs new file mode 100644 index 00000000..e6f5faa7 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace HuggingFace +{ + public sealed partial class GetModelsSafetensorsMetadataResponseHeaders + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders), + jsonSerializerContext) as global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders? FromJson( + string json) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders), + jsonSerializerContext).ConfigureAwait(false)) as global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders.g.cs new file mode 100644 index 00000000..924c4e30 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace HuggingFace +{ + /// + /// The header of each shard, by shard file name: `__metadata__`, then the `dtype`, `shape` and `data_offsets` of each tensor + /// + public sealed partial class GetModelsSafetensorsMetadataResponseHeaders + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders2.Json.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders2.Json.g.cs new file mode 100644 index 00000000..d886f760 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace HuggingFace +{ + public sealed partial class GetModelsSafetensorsMetadataResponseHeaders2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders2), + jsonSerializerContext) as global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders2? FromJson( + string json) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders2), + jsonSerializerContext).ConfigureAwait(false)) as global::HuggingFace.GetModelsSafetensorsMetadataResponseHeaders2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders2.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders2.g.cs new file mode 100644 index 00000000..926afb15 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeaders2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace HuggingFace +{ + /// + /// + /// + public sealed partial class GetModelsSafetensorsMetadataResponseHeaders2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant1.Json.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant1.Json.g.cs new file mode 100644 index 00000000..e0fd79ea --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace HuggingFace +{ + public sealed partial class GetModelsSafetensorsMetadataResponseHeadersVariant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1), + jsonSerializerContext) as global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1? FromJson( + string json) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant1.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant1.g.cs new file mode 100644 index 00000000..1dfd85b4 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant1.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace HuggingFace +{ + /// + /// + /// + public sealed partial class GetModelsSafetensorsMetadataResponseHeadersVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dtype")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Dtype { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("shape")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Shape { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data_offsets")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList DataOffsets { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetModelsSafetensorsMetadataResponseHeadersVariant1( + string dtype, + global::System.Collections.Generic.IList shape, + global::System.Collections.Generic.IList dataOffsets) + { + this.Dtype = dtype ?? throw new global::System.ArgumentNullException(nameof(dtype)); + this.Shape = shape ?? throw new global::System.ArgumentNullException(nameof(shape)); + this.DataOffsets = dataOffsets ?? throw new global::System.ArgumentNullException(nameof(dataOffsets)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetModelsSafetensorsMetadataResponseHeadersVariant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant2.Json.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant2.Json.g.cs new file mode 100644 index 00000000..781236ce --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace HuggingFace +{ + public sealed partial class GetModelsSafetensorsMetadataResponseHeadersVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant2), + jsonSerializerContext) as global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant2? FromJson( + string json) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant2.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant2.g.cs new file mode 100644 index 00000000..1d7b803b --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseHeadersVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace HuggingFace +{ + /// + /// + /// + public sealed partial class GetModelsSafetensorsMetadataResponseHeadersVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndex.Json.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndex.Json.g.cs new file mode 100644 index 00000000..9e90e44d --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndex.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace HuggingFace +{ + public sealed partial class GetModelsSafetensorsMetadataResponseIndex + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex), + jsonSerializerContext) as global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex? FromJson( + string json) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex), + jsonSerializerContext).ConfigureAwait(false)) as global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndex.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndex.g.cs new file mode 100644 index 00000000..f05f43b5 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndex.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace HuggingFace +{ + /// + /// The index file, without its `weight_map`: each shard header lists its tensors + /// + public sealed partial class GetModelsSafetensorsMetadataResponseIndex + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetModelsSafetensorsMetadataResponseIndex( + global::System.Collections.Generic.Dictionary? metadata) + { + this.Metadata = metadata; + } + + /// + /// Initializes a new instance of the class. + /// + public GetModelsSafetensorsMetadataResponseIndex() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndexMetadata.Json.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndexMetadata.Json.g.cs new file mode 100644 index 00000000..a0397706 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndexMetadata.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace HuggingFace +{ + public sealed partial class GetModelsSafetensorsMetadataResponseIndexMetadata + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseIndexMetadata? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseIndexMetadata), + jsonSerializerContext) as global::HuggingFace.GetModelsSafetensorsMetadataResponseIndexMetadata; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseIndexMetadata? FromJson( + string json) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseIndexMetadata? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseIndexMetadata), + jsonSerializerContext).ConfigureAwait(false)) as global::HuggingFace.GetModelsSafetensorsMetadataResponseIndexMetadata; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndexMetadata.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndexMetadata.g.cs new file mode 100644 index 00000000..d09f7d5a --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseIndexMetadata.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace HuggingFace +{ + /// + /// + /// + public sealed partial class GetModelsSafetensorsMetadataResponseIndexMetadata + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseParameterCount.Json.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseParameterCount.Json.g.cs new file mode 100644 index 00000000..9377d6cf --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseParameterCount.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace HuggingFace +{ + public sealed partial class GetModelsSafetensorsMetadataResponseParameterCount + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseParameterCount? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseParameterCount), + jsonSerializerContext) as global::HuggingFace.GetModelsSafetensorsMetadataResponseParameterCount; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseParameterCount? FromJson( + string json) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::HuggingFace.GetModelsSafetensorsMetadataResponseParameterCount? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseParameterCount), + jsonSerializerContext).ConfigureAwait(false)) as global::HuggingFace.GetModelsSafetensorsMetadataResponseParameterCount; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::HuggingFace.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseParameterCount.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseParameterCount.g.cs new file mode 100644 index 00000000..381c1d85 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetModelsSafetensorsMetadataResponseParameterCount.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace HuggingFace +{ + /// + /// Number of parameters per dtype + /// + public sealed partial class GetModelsSafetensorsMetadataResponseParameterCount + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.g.cs index 0d2c7eeb..a5c6454f 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this GetPapersResponseLinkedDatasetDatasetsSe { return value switch { + GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.Agentenv => "agentenv", GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.Argilla => "argilla", GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.Dask => "dask", GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this GetPapersResponseLinkedDatasetDatasetsSe { return value switch { + "agentenv" => GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.Agentenv, "argilla" => GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.Argilla, "dask" => GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.Dask, "datadesigner" => GetPapersResponseLinkedDatasetDatasetsServerInfoLibrarie.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetQuicksearchLibrary2.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetQuicksearchLibrary2.g.cs index 382c0ca6..ee70de29 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetQuicksearchLibrary2.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetQuicksearchLibrary2.g.cs @@ -271,6 +271,10 @@ public enum GetQuicksearchLibrary2 /// /// /// + Ensomi, + /// + /// + /// Espnet, /// /// @@ -1127,6 +1131,7 @@ public static string ToValueString(this GetQuicksearchLibrary2 value) GetQuicksearchLibrary2.Edsnlp => "edsnlp", GetQuicksearchLibrary2.Elm => "elm", GetQuicksearchLibrary2.Encoderfile => "encoderfile", + GetQuicksearchLibrary2.Ensomi => "ensomi", GetQuicksearchLibrary2.Espnet => "espnet", GetQuicksearchLibrary2.Eupe => "eupe", GetQuicksearchLibrary2.F5Tts => "f5-tts", @@ -1397,6 +1402,7 @@ public static string ToValueString(this GetQuicksearchLibrary2 value) "edsnlp" => GetQuicksearchLibrary2.Edsnlp, "elm" => GetQuicksearchLibrary2.Elm, "encoderfile" => GetQuicksearchLibrary2.Encoderfile, + "ensomi" => GetQuicksearchLibrary2.Ensomi, "espnet" => GetQuicksearchLibrary2.Espnet, "eupe" => GetQuicksearchLibrary2.Eupe, "f5-tts" => GetQuicksearchLibrary2.F5Tts, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.g.cs index a30756c3..91ca046d 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this GetTrendingResponseRecentlyTrendingItemV { return value switch { + GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.Agentenv => "agentenv", GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.Argilla => "argilla", GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.Dask => "dask", GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this GetTrendingResponseRecentlyTrendingItemV { return value switch { + "agentenv" => GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.Agentenv, "argilla" => GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.Argilla, "dask" => GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.Dask, "datadesigner" => GetTrendingResponseRecentlyTrendingItemVariant1RepoDataDatasetsServerInfoLibrarie.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.JsonSerializerContext.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.JsonSerializerContext.g.cs index 5160ce98..3f961d6a 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.JsonSerializerContext.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.JsonSerializerContext.g.cs @@ -51,6 +51,7 @@ namespace HuggingFace [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetModelsTagsByTypeType), TypeInfoPropertyName = "GetModelsTagsByTypeType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetModelsUserAccessRequestStatus), TypeInfoPropertyName = "GetModelsUserAccessRequestStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetModelsTreesizeResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetModelsLfsFilesResponseItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetModelsLfsFilesResponseItemPusher))] diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.g.cs index 2793a751..f995a3fd 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this PatchCollectionsResponseDataItemVariant1 { return value switch { + PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.Agentenv => "agentenv", PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.Argilla => "argilla", PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.Dask => "dask", PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this PatchCollectionsResponseDataItemVariant1 { return value switch { + "agentenv" => PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.Agentenv, "argilla" => PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.Argilla, "dask" => PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.Dask, "datadesigner" => PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.Models.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.Models.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.g.cs index 3770541a..31122e9f 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.Models.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.Models.PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.g.cs @@ -8,6 +8,10 @@ namespace HuggingFace /// public enum PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2 { + /// + /// + /// + Agentenv, /// /// /// @@ -86,6 +90,7 @@ public static string ToValueString(this PatchCollectionsResponseDataItemVariant1 { return value switch { + PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.Agentenv => "agentenv", PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.Argilla => "argilla", PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.Dask => "dask", PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.Datadesigner => "datadesigner", @@ -112,6 +117,7 @@ public static string ToValueString(this PatchCollectionsResponseDataItemVariant1 { return value switch { + "agentenv" => PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.Agentenv, "argilla" => PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.Argilla, "dask" => PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.Dask, "datadesigner" => PatchCollectionsResponseDataItemVariant1DatasetsServerInfoLibrarie2.Datadesigner, diff --git a/src/libs/HuggingFace/Generated/HuggingFace.ModelsClient.GetModelsByNamespaceByRepoSafetensorsMetadataByPath.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.ModelsClient.GetModelsByNamespaceByRepoSafetensorsMetadataByPath.g.cs new file mode 100644 index 00000000..21a27253 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.ModelsClient.GetModelsByNamespaceByRepoSafetensorsMetadataByPath.g.cs @@ -0,0 +1,452 @@ + +#nullable enable + +namespace HuggingFace +{ + public partial class ModelsClient + { + + + private static readonly global::HuggingFace.EndPointSecurityRequirement s_GetModelsByNamespaceByRepoSafetensorsMetadataByPathSecurityRequirement0 = + new global::HuggingFace.EndPointSecurityRequirement + { + Authorizations = new global::HuggingFace.EndPointAuthorizationRequirement[] + { new global::HuggingFace.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::HuggingFace.EndPointSecurityRequirement[] s_GetModelsByNamespaceByRepoSafetensorsMetadataByPathSecurityRequirements = + new global::HuggingFace.EndPointSecurityRequirement[] + { s_GetModelsByNamespaceByRepoSafetensorsMetadataByPathSecurityRequirement0, + }; + partial void PrepareGetModelsByNamespaceByRepoSafetensorsMetadataByPathArguments( + global::System.Net.Http.HttpClient httpClient, + ref string @namespace, + ref string repo, + ref string path); + partial void PrepareGetModelsByNamespaceByRepoSafetensorsMetadataByPathRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string @namespace, + string repo, + string path); + partial void ProcessGetModelsByNamespaceByRepoSafetensorsMetadataByPathResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetModelsByNamespaceByRepoSafetensorsMetadataByPathResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get safetensors metadata
+ /// Get the parsed headers of all the shards of a sharded safetensors model in a single request, instead of reading the index and then the header of every shard.
+ /// Only the `main` revision is served: the `ETag` is the commit sha of `main`, and requests with a matching `If-None-Match` get a 304. Returns 400 when the path isn't a `.safetensors.index.json` file and 422 when the files can't be parsed.
+ /// The response is brotli-compressed when the client accepts it, otherwise gzip-compressed or plain JSON. + ///
+ /// + /// + /// + /// Wildcard path parameter + /// + /// 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 GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsync( + string @namespace, + string repo, + string path, + global::HuggingFace.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsResponseAsync( + @namespace: @namespace, + repo: repo, + path: path, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get safetensors metadata
+ /// Get the parsed headers of all the shards of a sharded safetensors model in a single request, instead of reading the index and then the header of every shard.
+ /// Only the `main` revision is served: the `ETag` is the commit sha of `main`, and requests with a matching `If-None-Match` get a 304. Returns 400 when the path isn't a `.safetensors.index.json` file and 422 when the files can't be parsed.
+ /// The response is brotli-compressed when the client accepts it, otherwise gzip-compressed or plain JSON. + ///
+ /// + /// + /// + /// Wildcard path parameter + /// + /// 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> GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsResponseAsync( + string @namespace, + string repo, + string path, + global::HuggingFace.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareGetModelsByNamespaceByRepoSafetensorsMetadataByPathArguments( + httpClient: HttpClient, + @namespace: ref @namespace, + repo: ref repo, + path: ref path); + + + var __authorizations = global::HuggingFace.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetModelsByNamespaceByRepoSafetensorsMetadataByPathSecurityRequirements, + operationName: "GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsync"); + + using var __timeoutCancellationTokenSource = global::HuggingFace.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::HuggingFace.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::HuggingFace.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::HuggingFace.PathBuilder( + path: $"/api/models/{@namespace}/{repo}/safetensors-metadata/{path}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::HuggingFace.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::HuggingFace.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareGetModelsByNamespaceByRepoSafetensorsMetadataByPathRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + @namespace: @namespace, + repo: repo, + path: path); + + 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::HuggingFace.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::HuggingFace.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getModelsByNamespaceByRepoSafetensorsMetadataByPath", + methodName: "GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsync", + pathTemplate: "$\"/api/models/{@namespace}/{repo}/safetensors-metadata/{path}\"", + 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::HuggingFace.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::HuggingFace.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::HuggingFace.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getModelsByNamespaceByRepoSafetensorsMetadataByPath", + methodName: "GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsync", + pathTemplate: "$\"/api/models/{@namespace}/{repo}/safetensors-metadata/{path}\"", + 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::HuggingFace.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::HuggingFace.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::HuggingFace.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::HuggingFace.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::HuggingFace.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getModelsByNamespaceByRepoSafetensorsMetadataByPath", + methodName: "GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsync", + pathTemplate: "$\"/api/models/{@namespace}/{repo}/safetensors-metadata/{path}\"", + 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::HuggingFace.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); + ProcessGetModelsByNamespaceByRepoSafetensorsMetadataByPathResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::HuggingFace.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::HuggingFace.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getModelsByNamespaceByRepoSafetensorsMetadataByPath", + methodName: "GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsync", + pathTemplate: "$\"/api/models/{@namespace}/{repo}/safetensors-metadata/{path}\"", + 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::HuggingFace.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::HuggingFace.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "getModelsByNamespaceByRepoSafetensorsMetadataByPath", + methodName: "GetModelsByNamespaceByRepoSafetensorsMetadataByPathAsync", + pathTemplate: "$\"/api/models/{@namespace}/{repo}/safetensors-metadata/{path}\"", + 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); + ProcessGetModelsByNamespaceByRepoSafetensorsMetadataByPathResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::HuggingFace.GetModelsSafetensorsMetadataResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::HuggingFace.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::HuggingFace.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::HuggingFace.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(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::HuggingFace.GetModelsSafetensorsMetadataResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::HuggingFace.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::HuggingFace.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + 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::HuggingFace.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/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageByInferenceSession.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageByInferenceSession.g.cs index 11b473f9..4193dce9 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageByInferenceSession.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageByInferenceSession.g.cs @@ -54,7 +54,7 @@ partial void ProcessGetOrganizationsByNameBillingUsageByInferenceSessionResponse /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -85,7 +85,7 @@ partial void ProcessGetOrganizationsByNameBillingUsageByInferenceSessionResponse /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// 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/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageByResourceGroup.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageByResourceGroup.g.cs index 26b52688..58453a87 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageByResourceGroup.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageByResourceGroup.g.cs @@ -54,7 +54,7 @@ partial void ProcessGetOrganizationsByNameBillingUsageByResourceGroupResponseCon /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.042Z + /// Default Value: 2026-10-15T09:38:55.296Z /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -85,7 +85,7 @@ partial void ProcessGetOrganizationsByNameBillingUsageByResourceGroupResponseCon /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.042Z + /// Default Value: 2026-10-15T09:38:55.296Z /// /// 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/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageInference.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageInference.g.cs index 69e31860..b0b4a887 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageInference.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.OrgsClient.GetOrganizationsByNameBillingUsageInference.g.cs @@ -56,7 +56,7 @@ partial void ProcessGetOrganizationsByNameBillingUsageInferenceResponseContent( /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// /// Number of daily periods per page
@@ -93,7 +93,7 @@ partial void ProcessGetOrganizationsByNameBillingUsageInferenceResponseContent( /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// /// Number of daily periods per page
diff --git a/src/libs/HuggingFace/Generated/HuggingFace.PartitionCore.JsonSerializerContext.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.PartitionCore.JsonSerializerContext.g.cs index a2a23aed..88f25c94 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.PartitionCore.JsonSerializerContext.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.PartitionCore.JsonSerializerContext.g.cs @@ -244,6 +244,10 @@ namespace HuggingFace [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetOrganizationsScimV2SchemasResponseItemMeta))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetOrganizationsScimV2SchemasResponseMeta))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseIndex))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.AnyOf>), TypeInfoPropertyName = "AnyOfGetModelsSafetensorsMetadataResponseHeadersVariant1DictionaryStringString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetModelsSafetensorsMetadataResponseHeadersVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.AnyOf, bool?>), TypeInfoPropertyName = "AnyOfIListStringBoolean2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.AnyOf), TypeInfoPropertyName = "AnyOfBooleanStringString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetKernelsResponseItemBuildMetadata))] @@ -505,10 +509,6 @@ namespace HuggingFace [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.PutJobsExposeResponseHfTokenTokenRole), TypeInfoPropertyName = "PutJobsExposeResponseHfTokenTokenRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseStatus))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseStatusLastJob))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseOwner))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseOwnerType), TypeInfoPropertyName = "CreateScheduledJobsResponseOwnerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseInitiator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseInitiatorType), TypeInfoPropertyName = "CreateScheduledJobsResponseInitiatorType2")] internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -552,6 +552,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.OneOf?), TypeInfoPropertyName = "CreateScheduledJobsRunResponseInitiatorVariant4_844475dccb0c0e89")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "PatchOrganizationsScimProvisioningV2GroupsRequestOperationVariant2_73a114b1b1cf4050")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "GetTrendingResponseRecentlyTrendingItemVariant3_e8c9ffcd0d741b89")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseOwner))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseOwnerType), TypeInfoPropertyName = "CreateScheduledJobsResponseOwnerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseInitiator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseInitiatorType), TypeInfoPropertyName = "CreateScheduledJobsResponseInitiatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseJobSpec))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseJobSpecArch), TypeInfoPropertyName = "CreateScheduledJobsResponseJobSpecArch2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.CreateScheduledJobsResponseJobSpecFlavor), TypeInfoPropertyName = "CreateScheduledJobsResponseJobSpecFlavor2")] @@ -731,6 +735,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetOrganizationsAuditLogExportResponseItemType?), TypeInfoPropertyName = "NullableGetOrganizationsAuditLogExportResponseItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetOrganizationsAuditLogExportResponseItemAuthorType?), TypeInfoPropertyName = "NullableGetOrganizationsAuditLogExportResponseItemAuthorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetOrganizationsAuditLogExportResponseItemTokenRole?), TypeInfoPropertyName = "NullableGetOrganizationsAuditLogExportResponseItemTokenRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfGetModelsSafetensorsMetadataResponseHeadersVariant1DictionaryStringString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.AnyOf, bool?>?), TypeInfoPropertyName = "NullableAnyOfIListStringBoolean2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.AnyOf?), TypeInfoPropertyName = "NullableAnyOfBooleanStringString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::HuggingFace.GetKernelsResponseItemBuildMetadataCompatibilityTorchItem?), TypeInfoPropertyName = "NullableGetKernelsResponseItemBuildMetadataCompatibilityTorchItem2")] @@ -1012,6 +1017,7 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::HuggingFace.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter>()); options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter, bool?>()); options.Converters.Add(new global::HuggingFace.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::HuggingFace.JsonConverters.OneOfJsonConverter()); diff --git a/src/libs/HuggingFace/Generated/HuggingFace.UsersClient.GetSettingsBillingUsageByInferenceSession.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.UsersClient.GetSettingsBillingUsageByInferenceSession.g.cs index bed92385..d3adce9a 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.UsersClient.GetSettingsBillingUsageByInferenceSession.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.UsersClient.GetSettingsBillingUsageByInferenceSession.g.cs @@ -51,7 +51,7 @@ partial void ProcessGetSettingsBillingUsageByInferenceSessionResponseContent( /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -79,7 +79,7 @@ partial void ProcessGetSettingsBillingUsageByInferenceSessionResponseContent( /// Default Value: 2026-10-01T00:00:00.000Z /// /// - /// Default Value: 2026-10-14T15:09:29.043Z + /// Default Value: 2026-10-15T09:38:55.297Z /// /// 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/HuggingFace/openapi.json b/src/libs/HuggingFace/openapi.json index 14940e60..4eef328b 100644 --- a/src/libs/HuggingFace/openapi.json +++ b/src/libs/HuggingFace/openapi.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"Hub API Endpoints","version":"0.0.1","description":"We have open endpoints that you can use to retrieve information from the Hub as well as perform certain actions such as creating model, dataset or Space repos. We offer a wrapper Python client, [`huggingface_hub`](https://github.com/huggingface/huggingface_hub), and a JS client, [`huggingface.js`](https://github.com/huggingface/huggingface.js), that allow easy access to these endpoints. We also provide [webhooks](https://huggingface.co/docs/hub/webhooks) to receive real-time incremental info about repos. Enjoy!\n\nThe base URL for those endpoints below is `https://huggingface.co`. For example, to construct the `/api/models` call below, one can call the URL [https://huggingface.co/api/models](https://huggingface.co/api/models).\n\nIf you're an Agent, you might prefer the [markdown version OpenAPI spec](https://huggingface.co/.well-known/openapi.md).\n"},"servers":[{"url":"https://huggingface.co","description":"Hub"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"RepoId":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","examples":["deepseek-ai/DeepSeek-R1","black-forest-labs/FLUX.1-dev"]},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]}},"required":["name","type"],"additionalProperties":false},"Job":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"owner":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"null"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false}},"required":["id","createdAt","owner","environment","flavor","status","createdBy"],"additionalProperties":false}}},"security":[{"bearerAuth":[]}],"tags":[{"name":"auth","x-displayName":"Auth","description":"The following endpoints get information about your currently used user based on the passed token."},{"name":"models","x-displayName":"Models","description":"Get information from all models on the Hub."},{"name":"kernels","x-displayName":"Kernels","description":"Get information from all kernels on the Hub."},{"name":"datasets","x-displayName":"Datasets","description":"Get information from all datasets on the Hub."},{"name":"sql-console","x-displayName":"SQL Console","description":"Get information from SQL Console embeds from a dataset."},{"name":"discussions","x-displayName":"Discussions","description":"The following endpoints manage discussions."},{"name":"spaces","x-displayName":"Spaces","description":"Get information from all Spaces on the Hub."},{"name":"repo-search","x-displayName":"Repository Search","description":"The following endpoints help get information about models, datasets, and Spaces stored on the Hub."},{"name":"repos","x-displayName":"Repositories","description":"The following endpoints manage repository settings like creating and deleting a repository."},{"name":"users","x-displayName":"Users","description":"User accounts are the base authoring entity on the Hub"},{"name":"orgs","x-displayName":"Organizations","description":"The following endpoints let you interact with Hub Organizations and their members."},{"name":"service-accounts","x-displayName":"Service Accounts","description":"The following endpoints manage service accounts and their tokens."},{"name":"jobs","x-displayName":"Jobs","description":"The following endpoints manage jobs."},{"name":"resource-groups","x-displayName":"Resource groups","description":"The following endpoints manage resource groups. Resource groups are a Team or Enterprise feature."},{"name":"papers","x-displayName":"Paper pages","description":"The following endpoint gets information about papers."},{"name":"collections","x-displayName":"Collections","description":"Use Collections to group repositories from the Hub (Models, Datasets, Spaces and Papers) on a dedicated page.\n\nYou can learn more about it in the Collections [guide](https://huggingface.co/docs/hub/collections). Collections can also be managed using the Python client (see [guide](https://huggingface.co/docs/huggingface_hub/main/en/guides/collections))."},{"name":"buckets","x-displayName":"Buckets","description":"Git-free storage buckets for files, powered by Xet. Buckets provide simple file storage without git versioning."},{"name":"containers","x-displayName":"Containers","description":"Container image repositories, usable with the Hugging Face container registry (`docker push` / `docker pull`). Backed by bucket storage: the file endpoints mirror the bucket ones. Also includes the registry token endpoint used by `docker login`."},{"name":"notifications","x-displayName":"Notifications","description":"The following endpoints fetch Hub notifications."},{"name":"inference-providers","x-displayName":"Inference Providers","description":"Run inference from one of our inference providers."},{"name":"inference-endpoints","x-displayName":"Inference Endpoints","description":"Manage inference endpoints."},{"name":"mcp","x-displayName":"MCP","description":"The following endpoints are for use with the MCP server."},{"name":"oauth","x-displayName":"OAuth","description":"The following endpoints are for use with OAuth."},{"name":"docs","x-displayName":"Documentation","description":"The following endpoints are for interacting with the Hub's documentation."},{"name":"webhooks","x-displayName":"Webhooks","description":"The following endpoints are for use with webhooks."},{"name":"scim","x-displayName":"SCIM","description":"Use the SCIM API to control and manage your hub Enterprise organization manage members' access.\n## Authentication\n\n- Must be organization owner\n- Use Access token with write permission on organization\n- Organization must be Enterprise Plus\n\n## Key Attribute Matching\n\n- Microsoft Entra ID (Azure AD)\n\t* SAML: `http://schemas.microsoft.com/identity/claims/objectidentifier`\n\t* SCIM: `externalId`\n- Other Identity Providers\n\t* SAML: `NameID` or `unique identifier`\n\t* SCIM: `externalId`\n\n## Supported SCIM User Attributes\n\n| Attribute | Description |\n|---|---|\n| `userName` | Username for the user |\n| `name.givenName` | First name |\n| `name.familyName` | Last name |\n| `emails` | Array of user emails; we don't support email types |\n| `externalId` | IDP provider's unique identifier |\n| `id` | Hugging Face SCIM endpoint identifier |\n| `active` | Boolean for provisioning status |\n\n"},{"name":"agents","x-displayName":"Agents","description":"The following endpoints provide information about AI agents using the Hub."}],"paths":{"/api/notifications":{"get":{"description":"List notifications for the user","summary":"List notifications","tags":["notifications"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"notifications":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"paper"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read":{"type":"boolean"},"discussionEventId":{"type":"string"},"paper":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"title":{"type":"string"}},"required":["_id","title"],"additionalProperties":false},"paperDiscussion":{"type":"object","properties":{"id":{"type":"string"},"participating":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatar":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatar","user"],"additionalProperties":false}},"paperId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["id","participating","paperId"],"additionalProperties":false}},"required":["type","updatedAt","read","paper","paperDiscussion"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"repo"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read":{"type":"boolean"},"discussionEventId":{"type":"string"},"repo":{"$ref":"#/components/schemas/RepoId"},"discussion":{"type":"object","properties":{"num":{"type":"number"},"title":{"type":"string"},"status":{"type":"string","enum":["draft","open","closed","merged"]},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"isPullRequest":{"type":"boolean"},"participating":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatar":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatar","user"],"additionalProperties":false}}},"required":["num","title","status","id","isPullRequest","participating"],"additionalProperties":false}},"required":["type","updatedAt","read","repo","discussion"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"post"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read":{"type":"boolean"},"discussionEventId":{"type":"string"},"post":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"authorName":{"type":"string"},"title":{"type":"string"},"participating":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatar":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatar","user"],"additionalProperties":false}}},"required":["id","slug","authorName","title","participating"],"additionalProperties":false}},"required":["type","updatedAt","read","post"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"community_blog"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read":{"type":"boolean"},"discussionEventId":{"type":"string"},"blog":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"canonical":{"type":"boolean"},"authorName":{"type":"string"},"participating":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatar":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatar","user"],"additionalProperties":false}}},"required":["id","slug","title","canonical","participating"],"additionalProperties":false}},"required":["type","updatedAt","read","blog"],"additionalProperties":false}]}},"count":{"type":"object","properties":{"view":{"type":"number"},"unread":{"type":"number"},"all":{"type":"number"}},"required":["view","unread","all"],"additionalProperties":false},"start":{"type":"number"}},"required":["notifications","count","start"],"additionalProperties":false}}},"description":"The notifications for the user"}},"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"readStatus","in":"query","schema":{"default":"all","type":"string","enum":["all","unread"]},"required":false},{"name":"repoType","in":"query","schema":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"postAuthor","in":"query","schema":{"type":"string"},"required":false},{"name":"paperId","in":"query","schema":{"type":"string"},"required":false},{"name":"articleId","in":"query","schema":{"type":"string"},"required":false},{"name":"mention","in":"query","schema":{"default":"all","type":"string","enum":["all","participating","mentions"]},"required":false},{"name":"lastUpdate","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]},"delete":{"description":"Delete notifications, either by specifying discussionIds or by applying to all notifications with search parameters","summary":"Delete notifications","tags":["notifications"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"discussionIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}}}}}}},"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"readStatus","in":"query","schema":{"default":"all","type":"string","enum":["all","unread"]},"required":false},{"name":"repoType","in":"query","schema":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"postAuthor","in":"query","schema":{"type":"string"},"required":false},{"name":"paperId","in":"query","schema":{"type":"string"},"required":false},{"name":"articleId","in":"query","schema":{"type":"string"},"required":false},{"name":"mention","in":"query","schema":{"default":"all","type":"string","enum":["all","participating","mentions"]},"required":false},{"name":"lastUpdate","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"applyToAll","in":"query","schema":{"type":"string"},"required":false}]}},"/api/notifications/mark-as-read":{"post":{"description":"Mark discussions as read or unread. If `applyToAll` is true, all notifications for the user matching the search parameters will be marked as read or unread.","summary":"Change read status","tags":["notifications"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"discussionIds":{"default":[],"type":"array","items":{"type":"string"}},"read":{"default":true,"type":"boolean"}}}}}},"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"readStatus","in":"query","schema":{"default":"all","type":"string","enum":["all","unread"]},"required":false},{"name":"repoType","in":"query","schema":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"postAuthor","in":"query","schema":{"type":"string"},"required":false},{"name":"paperId","in":"query","schema":{"type":"string"},"required":false},{"name":"articleId","in":"query","schema":{"type":"string"},"required":false},{"name":"mention","in":"query","schema":{"default":"all","type":"string","enum":["all","participating","mentions"]},"required":false},{"name":"lastUpdate","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"applyToAll","in":"query","schema":{"type":"string"},"required":false}]}},"/api/credentials/revoke":{"post":{"description":"Publicly invalidate leaked Hugging Face access tokens. Possession of the raw token value is the only proof required: no authentication is needed, and no rights over the owning account or org are necessary. Each raw token is fully invalidated, the owning user is notified by email. Always returns 202, whether or not any of the provided tokens existed, so the response cannot be used to probe token validity.","summary":"Revoke leaked tokens","tags":["tokens"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"credentials":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"description":"Raw access token values to invalidate, at most 1000.","examples":[["hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"]]}},"required":["credentials"]}}}},"security":[]}},"/api/settings/mcp":{"get":{"description":"Get the MCP tools for the current user","summary":"Get MCP tools","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"builtInTools":{"type":"array","items":{"type":"string"}},"spaceTools":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"emoji":{"type":"string"},"subdomain":{"type":"string"}},"required":["_id","name","emoji","subdomain"],"additionalProperties":false}}},"required":["builtInTools","spaceTools"],"additionalProperties":false}}},"description":"The MCP tools for the current user"}}}},"/api/settings/notifications":{"patch":{"description":"Update notification settings for the user","summary":"Update notification settings","tags":["notifications"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"notifications":{"type":"object","properties":{"announcements":{"type":"boolean"},"arxiv_paper_activity":{"type":"boolean"},"content_access_policy_request":{"type":"boolean"},"daily_papers_digest":{"type":"boolean"},"discussions_participating":{"type":"boolean"},"discussions_watched":{"type":"boolean"},"gated_user_access_request":{"type":"boolean"},"inference_endpoint_status":{"type":"boolean"},"job_status":{"type":"boolean"},"launch_autonlp":{"type":"boolean"},"launch_spaces":{"type":"boolean"},"launch_prepaid_credits":{"type":"boolean"},"launch_training_cluster":{"type":"boolean"},"org_request":{"type":"boolean"},"org_suggestions":{"type":"boolean"},"org_verified_suggestions":{"type":"boolean"},"org_suggestions_to_create":{"type":"boolean"},"posts_participating":{"type":"boolean"},"user_follows":{"type":"boolean"},"secret_detected":{"type":"boolean"},"web_discussions_participating":{"type":"boolean"},"web_discussions_watched":{"type":"boolean"},"web_posts_participating":{"type":"boolean"},"product_updates_after":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"api_inference_sunset":{"type":"boolean"},"locked_out":{"type":"boolean"},"repo_release":{"type":"boolean"}}},"prepaidAmount":{"description":"To be provided when enabling launch_prepaid_credits","type":"string","maxLength":24}},"required":["notifications"]}}}}}},"/api/settings/watch":{"patch":{"description":"Update watch settings for the user. Get notified when discussions happen on your watched items.","summary":"Update watch settings","tags":["notifications"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"delete":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["org","user","repo"]}},"required":["id","type"]}},"add":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["org","user","repo"]}},"required":["id","type"]}}}}}}}}},"/api/settings/webhooks":{"get":{"summary":"List webhooks","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false}}}},"description":"Webhooks"}}},"post":{"summary":"Create webhook","tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"watched":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"name":{"type":"string"}},"required":["type","name"]}},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"dockerImage":{"type":"string"},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","spaceId"]},{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","dockerImage"]}]},"jobSourceId":{"type":"string"},"secrets":{"description":"Secrets of the job started by the webhook, used together with `jobSourceId`: the source job's own secrets are never copied. On update, listed keys are replaced, an empty value removes a secret, and omitted keys keep their stored value.","type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"domains":{"minItems":1,"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"secret":{"type":"string","pattern":"^[\\x20-\\x7F]*$"}},"required":["watched","domains"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false}},"required":["webhook"],"additionalProperties":false}}},"description":"Created webhook"}}}},"/api/settings/webhooks/{webhookId}":{"get":{"summary":"Get webhook","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false,"description":"Webhook"}},"required":["webhook"],"additionalProperties":false}}},"description":"Webhook"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"summary":"Update webhook","tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"watched":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"name":{"type":"string"}},"required":["type","name"]}},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"dockerImage":{"type":"string"},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","spaceId"]},{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","dockerImage"]}]},"jobSourceId":{"type":"string"},"secrets":{"description":"Secrets of the job started by the webhook, used together with `jobSourceId`: the source job's own secrets are never copied. On update, listed keys are replaced, an empty value removes a secret, and omitted keys keep their stored value.","type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"domains":{"minItems":1,"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"secret":{"type":"string","pattern":"^[\\x20-\\x7F]*$"}},"required":["watched","domains"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false,"description":"Webhook"}},"required":["webhook"],"additionalProperties":false}}},"description":"Updated webhook"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete webhook","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"Deleted webhook"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/settings/webhooks/{webhookId}/{action}":{"post":{"summary":"Enable/disable webhook","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false,"description":"Webhook"}},"required":["webhook"],"additionalProperties":false}}},"description":"Updated webhook"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","enum":["enable","disable"]}}]}},"/api/settings/webhooks/{webhookId}/replay/{logId}":{"post":{"summary":"Replay webhook log","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"number","description":"Replay HTTP status"}},"required":["status"],"additionalProperties":false}}},"description":"Replay response"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}},{"name":"logId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/settings/papers/claim":{"post":{"summary":"Claim paper authorship","tags":["papers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paperId":{"description":"ArXiv paper identifier being claimed.","type":"string","pattern":"^\\d{4}\\.\\d{4,5}$"},"claimAuthorId":{"description":"Author entry on the paper being claimed.","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"targetUserId":{"description":"HF user who should receive the claim.","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["paperId","claimAuthorId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean"},"claimedPaperId":{"type":"string"}},"required":["ok","claimedPaperId"],"additionalProperties":false}}},"description":"Paper authorship claim result, including the claimed paper id"}}}},"/api/settings/inference-providers":{"post":{"summary":"Reorder inference providers","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["enabled","position"]}}}}}}},"/api/settings/inference-providers/api-key":{"post":{"summary":"Set provider key","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"provider":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"apiKey":{"type":"string","maxLength":1024}},"required":["provider","apiKey"]}}}}}},"/api/settings/inference-providers/default-billing-entity":{"put":{"summary":"Default billing entity","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"orgId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}}}}}}}},"/api/settings/inference-providers/usage-limits":{"put":{"summary":"Set spending limit","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spendingLimitCents":{"type":"integer","minimum":0,"maximum":200000}},"required":["spendingLimitCents"]}}}}}},"/api/settings/repositories":{"get":{"summary":"List user repositories","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"updatedAt":{"type":"string"},"visibility":{"type":"string","enum":["public","private","protected"]},"storage":{"type":"number"},"storagePercent":{"type":"number"}},"required":["id","type","updatedAt","visibility","storage","storagePercent"],"additionalProperties":false}}}},"description":"Repositories with storage usage"}},"parameters":[{"name":"search","in":"query","schema":{"description":"Filter repositories by name (case-insensitive substring match)","type":"string"},"required":false},{"name":"type","in":"query","schema":{"description":"Filter by repository type","type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"limit","in":"query","schema":{"description":"Max number of repositories to return","type":"integer","minimum":1,"maximum":9007199254740991},"required":false},{"name":"sort","in":"query","schema":{"default":"storage","description":"Sort field (default: storage)","type":"string","enum":["storage","updatedAt"]},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","description":"Sort direction (default: desc)","type":"string","enum":["asc","desc"]},"required":false}]}},"/api/organizations/{name}/settings/tokens":{"get":{"description":"List the access tokens of the organization's members. Team or Enterprise only.","summary":"Member access tokens","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"displayName":{"type":"string","description":"Name the owner gave the token. Provided when the organization requires administrator approval of member tokens"},"role":{"type":"string","enum":["read","write","fineGrained"],"description":"Kind of access the token carries. `read` and `write` reach everything their owner can reach, while `fineGrained` is limited to the permissions listed under `fineGrained`"},"last4":{"description":"Last 4 characters of the token's value, the only part of it ever returned. Absent on tokens created before this was recorded","type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Date the token was created, or the date it was last rotated"},"lastUsedAt":{"description":"Date the token last authenticated a request. Absent on tokens that have never been used","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"owner":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string","description":"Username of the member"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["_id","name","fullname","avatarUrl"],"additionalProperties":false,"description":"Organization member the token belongs to"},"authorization":{"description":"Where the token stands in the organization's approval flow. Reported by organizations that require administrator approval of member tokens, and on any token whose access has been revoked","type":"object","properties":{"status":{"type":"string","enum":["pending","approved","revoked","denied"],"description":"`pending` while the token awaits an administrator's decision, `approved` once it may act on the organization, `denied` if an administrator refused it, and `revoked` if an administrator withdrew access it had already been granted"},"requestedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Date the token first requested access to the organization"},"authorizedAt":{"description":"Date the token was granted access, recorded when the organization grants it automatically because the owner already holds write access","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"authorizer":{"description":"User who granted the token its access. Absent when `authorizedAt` is, and when that account has since been deleted","type":"object","properties":{"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["name","fullname","avatarUrl"],"additionalProperties":false}},"required":["status","requestedAt"],"additionalProperties":false},"fineGrained":{"description":"Permissions carried by a `fineGrained` token, narrowed to those that bear on the organization. Absent on `read` and `write` tokens, whose access is not expressed as a permission list, and never covering the account-wide permissions the token may hold elsewhere","type":"object","properties":{"scoped":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","collection","org","user","resource-group","oauth-app"]}},"required":["_id","type"],"additionalProperties":false,"description":"Entity the permissions apply to the organization itself, or one of its repositories"},"permissions":{"type":"array","items":{"type":"string","enum":["repo.read","repo.content.read","repo.content.metadata.read","repo.content.write","repo.lfs.read","repo.devMode.read","repo.config.read","repo.config.write","repo.config.doi.write","repo.config.visibility.write","repo.config.variables.write","repo.config.secrets.write","repo.access.read","repo.access.write","repo.contribute.write","repo.write","discussion.write","post.write","collection.write","collection.read","user.write","user.preferences.write","user.settings.notifications.write","user.notifications.read","user.notifications.write","user.org.write","user.membership.read","user.membership.write","user.oauth.authorizations.write","user.webhooks.read","user.webhooks.write","user.mcp.read","user.read","user.social.likes.write","user.social.follows.write","user.social.blocks.write","user.social.upvotes.write","user.tokens.read","user.tokens.write","user.billing.read","user.billing.write","user.email.read","user.email.write","user.papers.write","user.cryptoKeys.write","user.inference-providers.write","user.authentication.read","user.authentication.write","user.info.write","user.gated-repos-requests.read","user.gated-repos-requests.write","oauthApp.read","oauthApp.write","org.read","org.billing.read","org.billing.write","org.providerMappings.write","org.serviceAccounts.read","org.serviceAccounts.write","org.members.read","org.members.write","org.networkSecurity.read","org.networkSecurity.write","org.analytics.read","org.repos.read","org.auditLog.write","org.repoSettings.write","org.write","blog.read","blog.write","resourceGroup.read","resourceGroup.write","resourceGroup.settings.write","resourceGroup.resources.write","inference.serverless.write","inference.endpoints.read","inference.endpoints.write","inference.endpoints.infer.write","sql-console.embed.read","sql-console.embed.write","job.read","job.write"]},"description":"Permissions the token holds on the entity"}},"required":["entity","permissions"],"additionalProperties":false},"description":"Permissions the token holds on individual entities, limited to the organization and the repositories it owns. Scopes pointing elsewhere are omitted"}},"required":["scoped"],"additionalProperties":false}},"required":["_id","displayName","role","createdAt","owner"],"additionalProperties":false}}}},"description":"Array of organization member access tokens","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor from the `Link` header","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"limit","in":"query","schema":{"default":100,"type":"integer","minimum":1,"maximum":100},"required":false},{"name":"q","in":"query","schema":{"default":"-status:revoked","description":"Filter on `owner:`, `role:`, `status:` and `token:` (last 4 characters), negatable with `-`. Pass `status:all` to include revoked tokens.","type":"string"},"required":false}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/settings/tokens/{tokenId}/revoke":{"post":{"description":"An org admin can revoke a token's access to the org. The token itself isn't deleted, it still works outside the org. The token id is the one displayed in the org token settings page or through the tokens listing API endpoint. Enterprise only.","summary":"Revoke member token","tags":["orgs"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/settings/repositories":{"get":{"summary":"List organization repositories","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"updatedAt":{"type":"string"},"visibility":{"type":"string","enum":["public","private","protected"]},"storage":{"type":"number"},"storagePercent":{"type":"number"}},"required":["id","type","updatedAt","visibility","storage","storagePercent"],"additionalProperties":false}}}},"description":"Organization repositories with storage usage"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","schema":{"description":"Filter repositories by name (case-insensitive substring match)","type":"string"},"required":false},{"name":"type","in":"query","schema":{"description":"Filter by repository type","type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"limit","in":"query","schema":{"description":"Max number of repositories to return","type":"integer","minimum":1,"maximum":9007199254740991},"required":false},{"name":"sort","in":"query","schema":{"default":"storage","description":"Sort field (default: storage)","type":"string","enum":["storage","updatedAt"]},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","description":"Sort direction (default: desc)","type":"string","enum":["asc","desc"]},"required":false}]}},"/api/organizations/{name}/settings/sso/credentials":{"put":{"description":"Update SSO credentials of the organization's SSO configuration. SSO stays enabled and does not need to be re-tested, so rotation causes no downtime. Requires a paid plan.","summary":"Rotate SSO credentials","tags":["orgs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"clientSecret":{"type":"string","minLength":1,"maxLength":1024}},"required":["clientSecret"],"description":"OIDC client secret"},{"type":"object","properties":{"x509Cert":{"type":"string","minLength":1,"maxLength":10000}},"required":["x509Cert"],"description":"SAML IdP x509 certificate"}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"The SSO credentials were rotated"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/audit-log/export":{"get":{"description":"Export the audit log events in JSON format for a Team or Enterprise organization. The export is limited to the last 100,000 events.","summary":"Export audit log","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"type":{"type":"string","enum":["billing.update_payment_method","billing.create_customer","billing.remove_payment_method","billing.aws_add","billing.aws_remove","billing.gcp_add","billing.gcp_remove","billing.marketplace_approve","billing.cancel_subscription","billing.renew_subscription","billing.start_subscription","billing.un_cancel_subscription","billing.update_subscription","billing.update_subscription_plan","collection.create","collection.delete","collection.update_resource_group","org.add_user","org.change_role","org.create","org.delete","org.restore","org.invite_user","org.invite.accept","org.invite.email","org.join.from_domain","org.join.automatic","org.leave","org.remove_user","org.rename","org.rotate_token","org.sso_login","org.sso_join","org.update_join_settings","org.update_settings","org.settings.regions","org.settings.profile","org.settings.resource_groups","org.settings.publisher_gating","org.settings.inference_providers","org.settings.inference_providers.keys.add","org.settings.inference_providers.keys.remove","org.settings.inference_providers.usage","org.settings.sso","org.settings.sso.enable","org.settings.sso.disable","org.settings.security.repo_visibility","org.settings.security.2fa.enable","org.settings.security.2fa.disable","org.settings.security.auto_join.enable","org.settings.security.auto_join.disable","org.settings.security.members_privacy.enable","org.settings.security.members_privacy.disable","org.settings.network","org.settings.network.ip_restriction.enable","org.settings.network.ip_restriction.disable","org.settings.network.auth_enforcement.enable","org.settings.network.auth_enforcement.disable","org.token_approval.enabled","org.token_approval.disabled","org.token_approval.authorization_request","org.token_approval.authorization_request.authorized","org.token_approval.authorization_request.revoked","org.token_approval.authorization_request.denied","org.audit_log.export","org.repo_analytics.export","repo.add_secrets","repo.remove_secrets","repo.add_secret","repo.update_secret","repo.remove_secret","repo.create","repo.delete","repo.disable","repo.removeDisable","repo.duplication","repo.delete_doi","repo.move","repo.update_resource_group","repo.update_settings","repo.add_variable","repo.update_variable","repo.remove_variable","repo.add_variables","repo.remove_variables","repo.delete_lfs_file","repo.add_trusted_publisher","repo.remove_trusted_publisher","spaces.add_storage","spaces.remove_storage","spaces.set_volumes","spaces.remove_volumes","spaces.update_hardware","spaces.update_sleep_time","resource_group.create","resource_group.add_users","resource_group.remove_users","resource_group.change_role","resource_group.settings","resource_group.delete","jobs.create","jobs.cancel","jobs.update_labels","jobs.update_expose","scheduled_job.create","scheduled_job.delete","scheduled_job.resume","scheduled_job.suspend","scheduled_job.run","scheduled_job.update_schedule","scheduled_job.update_labels","org.service_account.create","org.service_account.delete","org.service_account.token.create","org.service_account.token.delete","org.service_account.token.rotate","org.service_account.token.update","oauth.token"]},"data":{},"message":{"type":"string"},"ip":{"type":"string"},"location":{"type":"object","properties":{"formatted":{"type":"string"},"country":{"type":"string"},"city":{"type":"string"}},"required":["formatted"],"additionalProperties":false},"userAgent":{"type":"string"},"author":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"user":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","system"]},"deleted":{"type":"boolean"}},"required":["_id","user","avatarUrl","type"],"additionalProperties":false},"token":{"type":"object","properties":{"type":{"type":"string","const":"access_token"},"id":{"type":"string"},"role":{"type":"string","enum":["read","write","fineGrained"]},"last4":{"type":"string"},"deleted":{"type":"boolean"}},"required":["type","id","deleted"],"additionalProperties":false},"oauth":{"type":"object","properties":{"clientId":{"type":"string"},"name":{"type":"string"}},"required":["clientId"],"additionalProperties":false}},"required":["_id","createdAt","type","message","author"],"additionalProperties":false}}}},"description":"Array of audit log events","headers":{"Content-Disposition":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"The filename of the exported audit log"}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","schema":{"examples":["author:huggingface","ip:127.0.0.0","type:repo.create"],"type":"string"},"required":false}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups/{resourceGroupId}":{"patch":{"description":"Update the name, description and/or monthly spend limits (in cents, `null` to remove) of a resource group.\n\n`spendLimits.total` caps the group's combined spend across every product; the per-product limits cap each product on top of it.\n\nRequires the org to have a Team plan or higher.","summary":"Update resource group","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":500},"spendLimits":{"type":"object","properties":{"total":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"inferenceProviders":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"spaces":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"jobs":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"endpoints":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}}}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"delete":{"description":"Delete a resource group from the organization.\n\nRequires the org to have a Team plan or higher.","summary":"Delete resource group","tags":["resource-groups"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}},"description":"Whether the resource group was deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"get":{"description":"Retrieve a single resource group by id.\n\nRequires the org to have a Team plan or higher.","summary":"Get resource group","tags":["resource-groups"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups/{resourceGroupId}/settings":{"post":{"description":"Configure the auto-join settings of a resource group.\n\nRequires the org to have a Team plan or higher.","summary":"Configure auto-join","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"autoJoin":{"oneOf":[{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean","const":true},{"type":"string","const":"true"}]},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"]},{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean","const":false},{"type":"string","const":"false"}]}},"required":["enabled"]}]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups/{resourceGroupId}/users":{"post":{"description":"Add one or more organization members to a resource group.\n\nRequires the org to have a Team plan or higher.","summary":"Add users","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"users":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["name","role"]},{"type":"object","properties":{"user":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["user","role"]}]}}},"required":["users"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups/{resourceGroupId}/users/{username}":{"delete":{"description":"Remove a user from a resource group, revoking the access granted through it.\n\nRequires the org to have a Team plan or higher.","summary":"Remove user","tags":["resource-groups"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"username","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Change the role of a user in a resource group. In a SCIM-managed resource group, pass `resetToScimRole` to undo a manual role change and restore the role mapped from the user's SCIM groups.\n\nRequires the org to have a Team plan or higher.","summary":"Change user role","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["role"]},{"type":"object","properties":{"resetToScimRole":{"type":"boolean","const":true}},"required":["resetToScimRole"],"description":"Reset the role to the one mapped from SCIM groups"}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"username","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups":{"get":{"description":"Retrieve accessible resource groups. Get all resource groups the user has access to.\n\nRequires the org to have a Team plan or higher.","summary":"Get resource groups","tags":["resource-groups"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}}},"description":"Resource groups the user has access to"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"post":{"description":"Create a new resource group in the organization.\n\nRequires the org to have a Team plan or higher.","summary":"Create resource group","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":500},"users":{"default":[],"type":"array","items":{"type":"object","properties":{"user":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["user","role"]}},"repos":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/RepoId"}},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"]},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"]}]}},"required":["name"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The created resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/settings/network-security":{"get":{"description":"Get the network security settings for an organization.","summary":"Network security settings","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enforceAuth":{"type":"boolean"},"areCidrRangesApproved":{"type":"boolean","description":"Whether the declared ipRanges match the admin-validated CIDR ranges"},"enforceIpRestriction":{"type":"boolean"},"highRateLimits":{"type":"boolean"},"ipRanges":{"type":"array","items":{"type":"string"}},"blockedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"],"additionalProperties":false}},"allowedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"],"additionalProperties":false}},"keepReposMetadataVisible":{"type":"boolean"}},"required":["enforceAuth","areCidrRangesApproved","enforceIpRestriction","highRateLimits","ipRanges","blockedContents","allowedContents","keepReposMetadataVisible"],"additionalProperties":false}}},"description":"Network security settings"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Update the network security settings for an organization.","summary":"Update network security","tags":["orgs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enforceAuth":{"type":"boolean"},"enforceIpRestriction":{"type":"boolean"},"highRateLimits":{"type":"boolean"},"ipRanges":{"type":"array","items":{"anyOf":[{"type":"string","format":"cidrv4","pattern":"^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$"},{"type":"string","format":"cidrv6","pattern":"^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$"}]}},"blockedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"]}},"allowedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"]}},"keepReposMetadataVisible":{"type":"boolean"}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enforceAuth":{"anyOf":[{"type":"boolean"},{"type":"string","const":"pending"}]},"enforceIpRestriction":{"type":"boolean"},"highRateLimits":{"type":"boolean"},"ipRanges":{"type":"array","items":{"type":"string"}},"blockedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"],"additionalProperties":false}},"allowedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"],"additionalProperties":false}},"keepReposMetadataVisible":{"type":"boolean"},"areCidrRangesApproved":{"type":"boolean","description":"Whether the declared ipRanges match the admin-validated CIDR ranges"}},"required":["enforceAuth","enforceIpRestriction","highRateLimits","ipRanges","blockedContents","allowedContents","keepReposMetadataVisible","areCidrRangesApproved"],"additionalProperties":false}}},"description":"Updated network security settings"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts":{"get":{"description":"List all service accounts for the organization.","summary":"List service accounts","tags":["service-accounts"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"user":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"description":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["_id","user","name","email","createdAt"],"additionalProperties":false}}}},"description":"List of service accounts"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"post":{"description":"Create a new service account for the organization.","summary":"Create service account","tags":["service-accounts"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50,"description":"Display name for the service account"},"description":{"description":"Optional description of what this service account is used for","type":"string","maxLength":500}},"required":["name"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string"},"user":{"type":"string"},"fullname":{"type":"string"},"description":{"type":"string"},"createdAt":{"type":"string"}},"required":["_id","user","fullname","createdAt"],"additionalProperties":false}}},"description":"Created service account"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts/{serviceAccountId}":{"get":{"description":"Retrieve a single service account and its access token metadata. Token secrets are never returned.","summary":"Get service account","tags":["service-accounts"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"user":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"description":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"accessTokens":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"displayName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"lastUsedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiration":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"role":{"type":"string","enum":["read","write","fineGrained"]},"permissions":{"type":"array","items":{"type":"string","enum":["repo.content.read","repo.contribute.write","repo.write","inference.serverless.write","inference.endpoints.infer.write","inference.endpoints.write","org.read","org.write","collection.read","collection.write","resourceGroup.write","job.write","org.serviceAccounts.read","org.serviceAccounts.write","org.auditLog.write"]}},"repoIds":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"repoPermissions":{"type":"array","items":{"type":"string","enum":["repo.content.read","repo.write"]}},"endpointPatterns":{"type":"array","items":{"type":"string"}},"last4":{"type":"string"},"skipNetworkSecurity":{"type":"boolean"}},"required":["_id","displayName","createdAt","role","permissions","repoIds","repoPermissions","endpointPatterns"],"additionalProperties":false}}},"required":["_id","user","name","email","createdAt"],"additionalProperties":false}}},"description":"Service account"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"delete":{"description":"Delete a service account and all its tokens. This action cannot be undone.","summary":"Delete service account","tags":["service-accounts"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Service account deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens":{"post":{"description":"Create a new access token for a service account. Store the token securely - it cannot be retrieved later.","summary":"Create service-account token","tags":["service-accounts"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"default":"API Token","description":"Display name for the token","type":"string","minLength":1,"maxLength":100},"permissions":{"default":[],"description":"Org-wide permissions for this token","type":"array","items":{"type":"string","enum":["repo.content.read","repo.contribute.write","repo.write","inference.serverless.write","inference.endpoints.infer.write","inference.endpoints.write","org.read","org.write","collection.read","collection.write","resourceGroup.write","job.write","org.serviceAccounts.read","org.serviceAccounts.write","org.auditLog.write"]}},"repoIds":{"description":"Repositories to grant `repoPermissions` on. Can be repositories owned by the organization or any public repository. These override the org-wide permissions.","type":"array","items":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"repoPermissions":{"default":[],"description":"Permissions granted on the selected `repoIds`.","type":"array","items":{"type":"string","enum":["repo.content.read","repo.write"]}},"endpointPatterns":{"default":[],"description":"Inference endpoint name patterns (wildcards allowed, e.g. `gpt2-*`) restricting the token's org-wide Inference Endpoint permissions to matching endpoints. Empty means all endpoints.","maxItems":20,"type":"array","items":{"type":"string","maxLength":256,"pattern":"^[^.?()\\]\\\\[{}]+$"}},"skipNetworkSecurity":{"default":false,"description":"Exempt this token from the org's Network Security enforcement (IP allowlist and content access policy). Enterprise Plus only, and requires the `org.networkSecurity.write` permission.","type":"boolean"}}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"The access token - store this securely, it cannot be retrieved later"},"tokenInfo":{"type":"object","properties":{"_id":{"type":"string"},"displayName":{"type":"string"},"createdAt":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"repoIds":{"type":"array","items":{"type":"string"}},"repoPermissions":{"type":"array","items":{"type":"string"}},"endpointPatterns":{"type":"array","items":{"type":"string"}},"skipNetworkSecurity":{"type":"boolean"}},"required":["_id","displayName","createdAt","repoIds","repoPermissions","endpointPatterns","skipNetworkSecurity"],"additionalProperties":false}},"required":["token","tokenInfo"],"additionalProperties":false}}},"description":"Created token"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}":{"delete":{"description":"Delete an access token from a service account. This action cannot be undone.","summary":"Delete service-account token","tags":["service-accounts"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Token deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Update the name and/or permissions of an existing service account token.","summary":"Update service-account token","tags":["service-accounts"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"description":"New display name for the token","type":"string","minLength":1,"maxLength":100},"permissions":{"type":"array","items":{"type":"string","enum":["repo.content.read","repo.contribute.write","repo.write","inference.serverless.write","inference.endpoints.infer.write","inference.endpoints.write","org.read","org.write","collection.read","collection.write","resourceGroup.write","job.write","org.serviceAccounts.read","org.serviceAccounts.write","org.auditLog.write"]},"description":"Org-wide permissions for this token"},"repoIds":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"description":"Repositories to grant `repoPermissions` on. Can be repositories owned by the organization or any public repository. These override the org-wide permissions."},"repoPermissions":{"type":"array","items":{"type":"string","enum":["repo.content.read","repo.write"]},"description":"Permissions granted on the selected `repoIds`."},"endpointPatterns":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":256,"pattern":"^[^.?()\\]\\\\[{}]+$"},"description":"Inference endpoint name patterns (wildcards allowed, e.g. `gpt2-*`) restricting the token's org-wide Inference Endpoint permissions to matching endpoints. Empty means all endpoints."},"skipNetworkSecurity":{"type":"boolean","description":"Exempt this token from the org's Network Security enforcement (IP allowlist and content access policy). Enterprise Plus only, and requires the `org.networkSecurity.write` permission."}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string"},"displayName":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"repoIds":{"type":"array","items":{"type":"string"}},"repoPermissions":{"type":"array","items":{"type":"string"}},"endpointPatterns":{"type":"array","items":{"type":"string"}},"skipNetworkSecurity":{"type":"boolean"}},"required":["_id","displayName","permissions","repoIds","repoPermissions","endpointPatterns","skipNetworkSecurity"],"additionalProperties":false}}},"description":"Updated token info"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}/rotate":{"post":{"description":"Invalidate an existing token and generate a new one with the same permissions. The old token will stop working immediately.","summary":"Rotate service-account token","tags":["service-accounts"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"The new access token"},"tokenInfo":{"type":"object","properties":{"_id":{"type":"string"},"displayName":{"type":"string"},"createdAt":{"type":"string"},"last4":{"type":"string"}},"required":["_id","displayName","createdAt"],"additionalProperties":false}},"required":["token","tokenInfo"],"additionalProperties":false}}},"description":"Rotated token"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/avatar":{"get":{"description":"Retrieve organization avatar. This endpoint returns a JSON with the avatar URL for the organization.\n\nIf called with the `Sec-Fetch-Dest: image` header, it instead redirects to the avatar URL","summary":"Get avatar","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"avatarUrl":{"type":"string","format":"uri"}},"required":["avatarUrl"],"additionalProperties":false}}},"description":"Avatar URL"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"redirect","in":"query","schema":{"description":"Redirect to the avatar url instead of returning it","type":"string"},"required":false}]}},"/api/organizations/{name}/members":{"get":{"description":"Get a list of members for the organization with optional search and pagination.","summary":"Get organization members","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"type":{"type":"string","const":"user"},"isFollowing":{"type":"boolean"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"},"numUsers":{"type":"number"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["name","id","numUsers","role"],"additionalProperties":false}},"twoFaEnabled":{"type":"boolean"},"verifiedEmail":{"description":"The user's SSO email, if the org has a Team or Enterprise plan and the requester is an admin","type":["string","null"]},"isExternalCollaborator":{"type":"boolean"}},"required":["avatarUrl","fullname","isPro","user","type","_id"],"additionalProperties":false}}}},"description":"Array of organization members","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","schema":{"type":"string"},"required":false},{"name":"email","in":"query","schema":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"default":500,"type":"integer","minimum":10,"maximum":10000},"required":false}]}},"/api/organizations/{name}/members/{username}/role":{"put":{"description":"Change the role of a member in the organization. Need a paid plan.","summary":"Change member role","tags":["orgs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["id","role"]}}},"required":["role"]}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"username","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/scim/v2/ServiceProviderConfig":{"get":{"description":"Returns the SCIM 2.0 Service Provider configuration, describing the server's capabilities and supported authentication schemes.","summary":"Get SCIM Configuration","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"documentationUri":{"type":"string"},"patch":{"type":"object","properties":{"supported":{"type":"boolean"}},"required":["supported"],"additionalProperties":false},"bulk":{"type":"object","properties":{"supported":{"type":"boolean"},"maxOperations":{"type":"number"},"maxPayloadSize":{"type":"number"}},"required":["supported","maxOperations","maxPayloadSize"],"additionalProperties":false},"filter":{"type":"object","properties":{"supported":{"type":"boolean"},"maxResults":{"type":"number"}},"required":["supported","maxResults"],"additionalProperties":false},"changePassword":{"type":"object","properties":{"supported":{"type":"boolean"}},"required":["supported"],"additionalProperties":false},"sort":{"type":"object","properties":{"supported":{"type":"boolean"}},"required":["supported"],"additionalProperties":false},"etag":{"type":"object","properties":{"supported":{"type":"boolean"}},"required":["supported"],"additionalProperties":false},"authenticationSchemes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"specUri":{"type":"string"},"documentationUri":{"type":"string"}},"required":["type","name","description","specUri","documentationUri"],"additionalProperties":false}},"meta":{"type":"object","properties":{"resourceType":{"type":"string"},"location":{"type":"string"}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","documentationUri","patch","bulk","filter","changePassword","sort","etag","authenticationSchemes","meta"],"additionalProperties":false}}},"description":"SCIM Service Provider Configuration"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/ResourceTypes":{"get":{"description":"Returns the list of SCIM 2.0 resource types supported by this server (User and Group).","summary":"SCIM resource types","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"endpoint":{"type":"string"},"schema":{"type":"string"},"meta":{"type":"object","properties":{"resourceType":{"type":"string"},"location":{"type":"string"}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","name","description","endpoint","schema","meta"],"additionalProperties":false}}}},"description":"SCIM Resource Types"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Schemas":{"get":{"description":"Returns the SCIM 2.0 schema definitions for User and Group resources.","summary":"Get SCIM Schemas","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"attributes":{"type":"array","items":{}},"meta":{"type":"object","properties":{"resourceType":{"type":"string"},"location":{"type":"string"}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","name","description","attributes","meta"],"additionalProperties":false}}}},"description":"SCIM Schema Definitions"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Schemas/{schemaId}":{"get":{"description":"Returns a single SCIM 2.0 schema definition by its schema URI.","summary":"Get SCIM schema","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"attributes":{"type":"array","items":{}},"meta":{"type":"object","properties":{"resourceType":{"type":"string"},"location":{"type":"string"}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","name","description","attributes","meta"],"additionalProperties":false}}},"description":"SCIM Schema Definition"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"schemaId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Users":{"get":{"description":"Retrieves a paginated list of all organization members who have been set up, including disabled users. If you provide the filter parameter, the resources for all matching members are returned.","summary":"List SCIM users","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"examples":[["urn:ietf:params:scim:api:messages:2.0:ListResponse"]]},"totalResults":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"itemsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"startIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[1]},"Resources":{"type":"array","items":{"type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"required":["schemas","totalResults","itemsPerPage","startIndex","Resources"],"additionalProperties":false}}},"description":"SCIM User List"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startIndex","in":"query","schema":{"default":1,"type":"number","minimum":1},"required":false},{"name":"count","in":"query","schema":{"default":1000,"type":"number","minimum":1,"maximum":1000},"required":false},{"name":"filter","in":"query","schema":{"default":"","description":"You can filter results using the equals operator (eq) to find items that match specific values like `id`, `userName`, `emails`, and `externalId`. For example, to find a user named Bob, use this search: `?filter=userName%20eq%20Bob`","type":"string"},"required":false}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"post":{"description":"Creates a new user in the organization. If the user already exists, only `active` field will be updated to provision the user.","summary":"Create SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"userName":{"type":"string","minLength":2,"maxLength":42,"pattern":"^\\b(?!\\d+$)(?![0-9a-fA-F]{24}$)([a-zA-Z0-9]|-(?!-))+\\b$","description":"Username for the user, it should respect the hub rules: No consecutive dashes, No digit-only, Does not start or end with a dash, Only dashes, letters or numbers, Not 24 chars hex string"},"emails":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["value"]}},"name":{"type":"object","properties":{"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1}},"required":["givenName","familyName"]},"active":{"default":true,"type":"boolean"},"externalId":{"type":"string","description":"External ID for the user, it must be unique within the organization and is required for managed users"}},"required":["schemas","userName","emails","name","externalId"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"SCIM User already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Users/{userId}":{"get":{"description":"Retrieves a SCIM user by their ID.","summary":"Get SCIM user","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"patch":{"description":"Update an attribute of a SCIM user. Modify individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `externalId` is supported), or replace operations.\n If you set `active` to `false`, the user will be deprovisioned from the organization. \nComplicated SCIM `path` values are not supported like `emails[type eq 'work'].value`.","summary":"Update SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:api:messages:2.0:PatchOp"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]},"Operations":{"type":"array","items":{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string","enum":["active","externalId","userName","emails[type eq 'work'].value","name.givenName","name.familyName"]},"value":{}},"required":["op","value"]}}},"required":["schemas","Operations"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"put":{"description":"Updates a provisioned user, you'll need to provide all their information fresh - just like setting them up for the first time. Any details you don't include will be automatically removed, so make sure to include everything they need to keep their account running smoothly. Setting `active` to `false` will deprovision the user from the organization.","summary":"Update SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"userName":{"type":"string","minLength":2,"maxLength":42,"pattern":"^\\b(?!\\d+$)(?![0-9a-fA-F]{24}$)([a-zA-Z0-9]|-(?!-))+\\b$","description":"Username for the user, it should respect the hub rules: No consecutive dashes, No digit-only, Does not start or end with a dash, Only dashes, letters or numbers, Not 24 chars hex string"},"emails":{"maxItems":1,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["value"]}},"name":{"type":"object","properties":{"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1}},"required":["givenName","familyName"]},"active":{"default":true,"type":"boolean"},"externalId":{"type":"string"}},"required":["schemas","userName","emails","name","externalId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"delete":{"summary":"Delete SCIM user","tags":["scim"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Groups":{"get":{"description":"Get a list of SCIM groups. Retrieves a paginated list of all organization groups. If you provide the filter parameter, the resources for all matching groups are returned.","summary":"List SCIM groups","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"examples":[["urn:ietf:params:scim:api:messages:2.0:ListResponse"]]},"totalResults":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"itemsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"startIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[1]},"Resources":{"type":"array","items":{"type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","meta"],"additionalProperties":false}}},"required":["schemas","totalResults","itemsPerPage","startIndex","Resources"],"additionalProperties":false}}},"description":"SCIM Group List"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startIndex","in":"query","schema":{"default":1,"type":"number","minimum":1},"required":false},{"name":"count","in":"query","schema":{"default":1000,"type":"number","minimum":1,"maximum":1000},"required":false},{"name":"filter","in":"query","schema":{"default":"","type":"string"},"required":false},{"name":"excludedAttributes","in":"query","schema":{"type":"string","const":"members"},"required":false}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"post":{"description":"Creates a new group in the organization. The group name must be unique within the organization.","summary":"Create SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["value"]},"description":"Array of SCIM user ids"}},"required":["displayName","members"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Group already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Groups/{groupId}":{"get":{"description":"Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.","summary":"Get SCIM group","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"excludedAttributes","in":"query","schema":{"type":"string","const":"members"},"required":false}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"put":{"description":"Updates a group by its ID. The group name must be unique within the organization.","summary":"Update SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:schemas:core:2.0:Group"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["value"]}}},"required":["schemas","displayName","members"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"patch":{"description":"Update attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.","summary":"Update SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:api:messages:2.0:PatchOp"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]},"Operations":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string"},"value":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]}}},"required":["op","path"]},{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string"},"value":{}},"required":["op","value"]}]}}},"required":["schemas","Operations"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"delete":{"summary":"Delete SCIM group","tags":["scim"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"SCIM Group deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim-provisioning/v2/Users":{"get":{"description":"Retrieves a paginated list of organization members and pending invitations managed by SCIM for non-managed organizations.","summary":"List SCIM-managed users","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"examples":[["urn:ietf:params:scim:api:messages:2.0:ListResponse"]]},"totalResults":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"itemsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"startIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[1]},"Resources":{"type":"array","items":{"type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"required":["schemas","totalResults","itemsPerPage","startIndex","Resources"],"additionalProperties":false}}},"description":"SCIM User List"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startIndex","in":"query","schema":{"default":1,"type":"number","minimum":1},"required":false},{"name":"count","in":"query","schema":{"default":1000,"type":"number","minimum":1,"maximum":1000},"required":false},{"name":"filter","in":"query","schema":{"default":"","description":"You can filter results using the equals operator (eq) to find items that match specific values like `id`, `userName`, `emails`, and `externalId`. For example, to find a user named Bob, use this search: `?filter=userName%20eq%20Bob`","type":"string"},"required":false}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"post":{"description":"Creates an invitation for a user to join the organization. The user must have an existing Hugging Face account.","summary":"Create SCIM invitation","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"userName":{"type":"string","description":"IdP username. Ignored: the user is matched by confirmed email"},"emails":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["value"]}},"active":{"default":true,"type":"boolean"},"externalId":{"type":"string","description":"SSO unique identifier (SAML nameid or OIDC sub claim) - required for SSO login"}},"required":["schemas","userName","emails","externalId"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/scim-provisioning/v2/Users/{userId}":{"get":{"description":"Retrieves a SCIM user by their ID for non-managed organizations.","summary":"SCIM provisioning user","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Modify individual attributes for non-managed organizations. Only the `active` field can be modified. User profile fields are not editable via SCIM.","summary":"Update SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:api:messages:2.0:PatchOp"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]},"Operations":{"type":"array","items":{"type":"object","properties":{"op":{"description":"`remove` operation is not supported for non-managed organizations","type":"string"},"path":{"type":"string","enum":["active","externalId","userName","emails[type eq 'work'].value","name.givenName","name.familyName"]},"value":{}},"required":["op","value"]}}},"required":["schemas","Operations"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"put":{"description":"Updates a provisioned user's invitation for non-managed organizations. User profile fields are not editable via SCIM for non-managed organizations.","summary":"Update SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"active":{"default":true,"type":"boolean"},"externalId":{"type":"string"}},"required":["schemas","externalId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"delete":{"description":"Removes a user from the organization and deletes any pending invitations for non-managed organizations.","summary":"Delete SCIM user","tags":["scim"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User removed from organization"},"404":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User not found or not provisioned"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/scim-provisioning/v2/Groups":{"get":{"description":"Get a list of SCIM groups. Retrieves a paginated list of all organization groups. If you provide the filter parameter, the resources for all matching groups are returned.","summary":"List SCIM groups","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"examples":[["urn:ietf:params:scim:api:messages:2.0:ListResponse"]]},"totalResults":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"itemsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"startIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[1]},"Resources":{"type":"array","items":{"type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","meta"],"additionalProperties":false}}},"required":["schemas","totalResults","itemsPerPage","startIndex","Resources"],"additionalProperties":false}}},"description":"SCIM Group List"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startIndex","in":"query","schema":{"default":1,"type":"number","minimum":1},"required":false},{"name":"count","in":"query","schema":{"default":1000,"type":"number","minimum":1,"maximum":1000},"required":false},{"name":"filter","in":"query","schema":{"default":"","type":"string"},"required":false},{"name":"excludedAttributes","in":"query","schema":{"type":"string","const":"members"},"required":false}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"post":{"description":"Creates a new group in the organization. The group name must be unique within the organization.","summary":"Create SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["value"]},"description":"Array of SCIM user ids"}},"required":["displayName","members"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Group already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/scim-provisioning/v2/Groups/{groupId}":{"get":{"description":"Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.","summary":"Get SCIM group","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"excludedAttributes","in":"query","schema":{"type":"string","const":"members"},"required":false}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"put":{"description":"Updates a group by its ID. The group name must be unique within the organization.","summary":"Update SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:schemas:core:2.0:Group"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["value"]}}},"required":["schemas","displayName","members"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Update attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.","summary":"Update SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:api:messages:2.0:PatchOp"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]},"Operations":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string"},"value":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]}}},"required":["op","path"]},{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string"},"value":{}},"required":["op","value"]}]}}},"required":["schemas","Operations"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"delete":{"summary":"Delete SCIM group","tags":["scim"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"SCIM Group deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/oauth/register":{"post":{"summary":"Register OAuth app","tags":["oauth"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_uris":{"type":"array","items":{"type":"string","format":"uri"}},"client_name":{"type":"string"},"client_uri":{"type":"string","format":"uri"},"logo_uri":{"type":"string","format":"uri"},"scope":{"type":"string"},"contacts":{"type":"array","items":{"type":"string"}},"token_endpoint_auth_method":{"type":"string","enum":["client_secret_basic","none","client_secret_post"]},"software_id":{"type":"string"},"software_version":{"type":"string"}}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_id":{"type":"string"},"client_secret":{"type":"string"},"client_id_issued_at":{"type":"number"},"client_secret_expires_at":{"type":"number"},"redirect_uris":{"type":"array","items":{"type":"string","format":"uri"}},"client_name":{"type":"string"},"client_uri":{"type":"string","format":"uri"},"logo_uri":{"type":"string","format":"uri"},"scope":{"type":"string"},"grant_types":{"readOnly":true,"type":"array","items":{"type":"string","enum":["urn:ietf:params:oauth:grant-type:token-exchange","urn:ietf:params:oauth:grant-type:device_code","authorization_code","refresh_token"]}},"contacts":{"type":"array","items":{"type":"string"}},"token_endpoint_auth_method":{"type":"string","enum":["client_secret_basic","none","client_secret_post"]},"software_id":{"type":"string"},"software_version":{"type":"string"}},"required":["client_id","client_id_issued_at","client_secret_expires_at","redirect_uris","scope","grant_types"],"additionalProperties":false}}},"description":"Details of the OAuth app that was created"}}}},"/oauth/device":{"post":{"summary":"Initiate device authorization","tags":["oauth"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_id":{"type":"string"},"scope":{"type":"string"}},"required":["client_id"],"description":"Initiate device authorization as per https://datatracker.ietf.org/doc/html/rfc8628#section-3.1"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"device_code":{"type":"string"},"user_code":{"type":"string"},"verification_uri":{"type":"string"},"expires_in":{"type":"number"}},"required":["device_code","user_code","verification_uri","expires_in"],"additionalProperties":false}}},"description":"Details of the device code that was created as per https://datatracker.ietf.org/doc/html/rfc8628#section-3.2"}}}},"/oauth/userinfo":{"get":{"description":"Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.","summary":"Get user info","tags":["oauth"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sub":{"type":"string","description":"ID of the user"},"name":{"description":"Full name of the user","type":"string"},"preferred_username":{"description":"Username of the user","type":"string"},"profile":{"description":"Profile URL of the user","type":"string","format":"uri"},"picture":{"description":"Avatar URL of the user","type":"string","format":"uri"},"website":{"description":"Website of the user","type":"string","format":"uri"},"email":{"description":"Email of the user","type":"string"},"email_verified":{"description":"Whether the email is verified","type":"boolean"},"hardwareItems":{"description":"The user's hardware items, if the `profile` scope is granted and the user did not set them as private","type":"array","items":{"type":"object","properties":{"sku":{"type":"array","prefixItems":[{"type":"string"},{"type":"string"},{"type":"string"}],"items":false,"minItems":3,"maxItems":3,"description":"Hardware SKU as [type, vendor, model]"},"mem":{"type":"number","description":"Memory in GB"},"num":{"type":"number","description":"Number of units"},"isPrimary":{"type":"boolean","const":true}},"required":["sku","mem","num"],"additionalProperties":false}},"isPro":{"type":"boolean","description":"Whether the user is a Pro user"},"canPay":{"description":"Whether the user has access to billing. You should check `canPay` first.","type":"boolean"},"billingMode":{"description":"Whether the user is on prepaid or postpaid billing","type":"string","enum":["prepaid","postpaid"]},"orgs":{"type":"array","items":{"type":"object","properties":{"sub":{"type":"string","description":"ID of the organization"},"name":{"type":"string","description":"Name of the organization"},"picture":{"type":"string","format":"uri","description":"Avatar URL of the organization"},"preferred_username":{"type":"string","description":"Username of the organization"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"canPay":{"type":"boolean"},"billingMode":{"type":"string","enum":["prepaid","postpaid"]},"roleInOrg":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"securityRestrictions":{"description":"Current security restrictions for accessing data in this organization with current authentication method","type":"array","items":{"type":"string","enum":["mfa","token-policy","token-revoked","sso","ip"]}},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"sub":{"type":"string"},"name":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["sub","name","role"],"additionalProperties":false}}},"required":["sub","name","picture","preferred_username"],"additionalProperties":false}}},"required":["sub","isPro","orgs"],"additionalProperties":false}}},"description":"User info"}}},"post":{"description":"Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.","summary":"Get user info","tags":["oauth"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sub":{"type":"string","description":"ID of the user"},"name":{"description":"Full name of the user","type":"string"},"preferred_username":{"description":"Username of the user","type":"string"},"profile":{"description":"Profile URL of the user","type":"string","format":"uri"},"picture":{"description":"Avatar URL of the user","type":"string","format":"uri"},"website":{"description":"Website of the user","type":"string","format":"uri"},"email":{"description":"Email of the user","type":"string"},"email_verified":{"description":"Whether the email is verified","type":"boolean"},"hardwareItems":{"description":"The user's hardware items, if the `profile` scope is granted and the user did not set them as private","type":"array","items":{"type":"object","properties":{"sku":{"type":"array","prefixItems":[{"type":"string"},{"type":"string"},{"type":"string"}],"items":false,"minItems":3,"maxItems":3,"description":"Hardware SKU as [type, vendor, model]"},"mem":{"type":"number","description":"Memory in GB"},"num":{"type":"number","description":"Number of units"},"isPrimary":{"type":"boolean","const":true}},"required":["sku","mem","num"],"additionalProperties":false}},"isPro":{"type":"boolean","description":"Whether the user is a Pro user"},"canPay":{"description":"Whether the user has access to billing. You should check `canPay` first.","type":"boolean"},"billingMode":{"description":"Whether the user is on prepaid or postpaid billing","type":"string","enum":["prepaid","postpaid"]},"orgs":{"type":"array","items":{"type":"object","properties":{"sub":{"type":"string","description":"ID of the organization"},"name":{"type":"string","description":"Name of the organization"},"picture":{"type":"string","format":"uri","description":"Avatar URL of the organization"},"preferred_username":{"type":"string","description":"Username of the organization"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"canPay":{"type":"boolean"},"billingMode":{"type":"string","enum":["prepaid","postpaid"]},"roleInOrg":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"securityRestrictions":{"description":"Current security restrictions for accessing data in this organization with current authentication method","type":"array","items":{"type":"string","enum":["mfa","token-policy","token-revoked","sso","ip"]}},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"sub":{"type":"string"},"name":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["sub","name","role"],"additionalProperties":false}}},"required":["sub","name","picture","preferred_username"],"additionalProperties":false}}},"required":["sub","isPro","orgs"],"additionalProperties":false}}},"description":"User info"}}}},"/api/registry/token":{"get":{"description":"Mints a short-lived EdDSA JWT for the HuggingFace container registry, verifiable via the JWK at `/api/keys/jwt`.","summary":"Registry token","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"EdDSA JWT signed by the moon JWT key, carrying `access[]`."},"access_token":{"type":"string","description":"Identical to `token` \u2014 Docker Distribution v2 accepts either field."},"expires_in":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"JWT lifetime in seconds."},"issued_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"ISO-8601 timestamp at which the JWT was minted."}},"required":["token","access_token","expires_in","issued_at"],"additionalProperties":false}}},"description":"Docker Distribution v2 token response \u2014 see https://distribution.github.io/distribution/spec/auth/jwt/"}},"parameters":[{"name":"service","in":"query","schema":{"type":"string","minLength":1,"description":"Registry service identifier \u2014 placed in the JWT `aud` claim."},"required":true},{"name":"scope","in":"query","schema":{"description":"Docker Distribution scope(s), e.g. `repository:org/img:push,pull`. May be repeated.","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false}]}},"/api/blog/{slug}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{slug}/comment/{commentId}/reply":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{slug}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{slug}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{slug}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment/{commentId}/reply":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/resource-group":{"get":{"summary":"Blog resource group","tags":["blogs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group the blog currently belongs to"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"description":"Assign, move, or unassign an organization-owned blog to a resource group. Pass null to unassign. User-owned blogs are not eligible.","summary":"Blog resource group","tags":["blogs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to assign the blog to. If null, the blog is removed from any resource group."}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},{"type":"null"}]},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["resourceGroupId","id","slug","title","private","addedBy"],"additionalProperties":false}}},"description":"The blog and its resource group after the assignment"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/zh":{"get":{"summary":"List blogs","tags":["blogs"],"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"community_sort","in":"query","schema":{"default":"trending","type":"string","enum":["trending","recent"]},"required":false},{"name":"tag","in":"query","schema":{"type":"string"},"required":false}]}},"/api/docs":{"get":{"description":"Get list of available documentation","summary":"List docs","tags":["docs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"category":{"type":"string"}},"required":["id","url"],"additionalProperties":false}}}},"description":"List of available documentation"}}}},"/api/docs/search":{"get":{"description":"Search any Hugging Face documentation","summary":"Search docs","tags":["docs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"_vectors":{"type":"object","properties":{"embeddings":{"type":"array","items":{"type":"number"}}},"required":["embeddings"],"additionalProperties":false},"heading1":{"type":"string"},"text":{"type":"string"},"text_plain":{"type":"string"},"product":{"type":"string"},"source_page_url":{"type":"string"},"source_page_title":{"type":"string"},"heading2":{"type":"string"},"heading3":{"type":"string"},"heading4":{"type":"string"},"heading5":{"type":"string"}},"required":["id","_vectors","heading1","text","text_plain","product","source_page_url","source_page_title"],"additionalProperties":false}}}},"description":"Search results"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":250},"required":true},{"name":"product","in":"query","schema":{"type":"string","enum":["hub","transformers","diffusers","datasets","gradio","trackio","smolagents","huggingface_hub","cli","huggingface.js","transformers.js","inference-providers","inference-endpoints","peft","accelerate","optimum","optimum-habana","optimum-neuron","optimum-intel","optimum-executorch","optimum-tpu","tokenizers","llm-course","context-course","robotics-course","mcp-course","smol-course","agents-course","deep-rl-course","computer-vision-course","evaluate","tasks","dataset-viewer","trl","openenv","simulate","sagemaker","timm","safetensors","tgi","setfit","audio-course","lerobot","reachy_mini","autotrain","tei","bitsandbytes","cookbook","sentence_transformers","ml-games-course","diffusion-course","ml-for-3d-course","chat-ui","leaderboards","lighteval","argilla","distilabel","microsoft-azure","kernels","google-cloud","xet"]},"required":false},{"name":"limit","in":"query","schema":{"default":10,"type":"integer","minimum":1,"maximum":25},"required":false}]}},"/api/docs/search/full-text":{"get":{"description":"Full-text search across Hugging Face documentation","summary":"Full-text search docs","tags":["docs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hits":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"hierarchy_lvl0":{"type":"string"},"hierarchy_lvl1":{"type":"string"},"hierarchy_lvl2":{"type":"string"},"hierarchy_lvl3":{"type":"string"},"hierarchy_lvl4":{"type":"string"},"hierarchy_lvl5":{"type":"string"},"hierarchy_lvl6":{"type":"string"},"_formatted":{"type":"object","properties":{"url":{"type":"string"},"hierarchy_lvl0":{"type":"string"},"hierarchy_lvl1":{"type":"string"},"hierarchy_lvl2":{"type":"string"},"hierarchy_lvl3":{"type":"string"},"hierarchy_lvl4":{"type":"string"},"hierarchy_lvl5":{"type":"string"},"hierarchy_lvl6":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},"required":["url"],"additionalProperties":false}}},"required":["hits"],"additionalProperties":false}}},"description":"Full-text search results"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":250},"required":true},{"name":"limit","in":"query","schema":{"default":9,"type":"integer","minimum":1,"maximum":100},"required":false},{"name":"domain","in":"query","schema":{"type":"string","maxLength":100},"required":false}]}},"/api/whoami-v2":{"get":{"description":"Get information about the user and auth method used","summary":"Get user info","tags":["auth"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"auth":{"type":"object","properties":{"type":{"type":"string"},"accessToken":{"type":"object","properties":{"displayName":{"type":"string"},"role":{"type":"string","enum":["read","write","god","fineGrained"]},"fineGrained":{"type":"object","properties":{"scoped":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","collection","org","user","resource-group","oauth-app"]}},"required":["_id","type"],"additionalProperties":false},"permissions":{"type":"array","items":{"type":"string"}}},"required":["entity","permissions"],"additionalProperties":false}},"global":{"type":"array","items":{"type":"string","enum":["discussion.write","post.write"]}},"canReadGatedRepos":{"description":"Allow access to all public gated repos to which the user has access","type":"boolean"}},"required":["scoped"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["displayName","role","createdAt"],"additionalProperties":false},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resource":{"type":"object","properties":{"sub":{"type":"string"}},"required":["sub"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},"type":{"type":"string","const":"user"},"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"email":{"type":["string","null"]},"canPay":{"type":"boolean"},"billingMode":{"type":"string","enum":["prepaid","postpaid"]},"avatarUrl":{"type":"string"},"periodEnd":{"type":["number","null"]},"emailVerified":{"type":"boolean"},"isPro":{"type":"boolean"},"orgs":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"org"},"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"email":{"type":["string","null"]},"canPay":{"type":"boolean"},"spendLimitReached":{"type":"boolean"},"billingMode":{"type":"string","enum":["prepaid","postpaid"]},"avatarUrl":{"type":"string"},"periodEnd":{"type":["number","null"]},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"roleInOrg":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"securityRestrictions":{"description":"Current security restrictions for accessing data in this organization with current authentication method","type":"array","items":{"type":"string","enum":["mfa","token-policy","token-revoked","sso","ip"]}},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["id","name","role"],"additionalProperties":false}}},"required":["type","id","name","fullname","avatarUrl"],"additionalProperties":false}}},"required":["auth","type","id","name","fullname","avatarUrl","isPro","orgs"],"additionalProperties":false}]}}},"description":"Auth information"}}}},"/api/organizations/{name}/billing/usage-v2":{"get":{"description":"Get org usage for a given period","summary":"Get org usage","tags":["orgs"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true},{"name":"endDate","in":"query","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true}]}},"/api/organizations/{name}/billing/usage-by-resource-group":{"get":{"description":"Get org usage breakdown per resource group, returned as a time-series of monthly periods. Window is [startDate, endDate], defaults to the current month. Both dates must fall within the last 12 months. Storage values are the peak observed within each monthly period.","summary":"Resource group usage","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"currency":{"type":"string"},"periods":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"storage":{"type":"object","properties":{"privateGB":{"type":"number"},"publicGB":{"type":"number"}},"required":["privateGB","publicGB"],"additionalProperties":false},"inference":{"type":"object","properties":{"requestCount":{"type":"number"},"costCents":{"type":"number"}},"required":["requestCount","costCents"],"additionalProperties":false},"compute":{"type":"object","properties":{"spaces":{"type":"object","properties":{"uptimeSec":{"type":"number"},"costCents":{"type":"number"}},"required":["uptimeSec","costCents"],"additionalProperties":false},"endpoints":{"type":"object","properties":{"uptimeSec":{"type":"number"},"costCents":{"type":"number"}},"required":["uptimeSec","costCents"],"additionalProperties":false},"jobs":{"type":"object","properties":{"uptimeSec":{"type":"number"},"costCents":{"type":"number"}},"required":["uptimeSec","costCents"],"additionalProperties":false}},"required":["spaces","endpoints","jobs"],"additionalProperties":false}},"required":["id","name","storage","inference","compute"],"additionalProperties":false}}},"required":["period","resourceGroups"],"additionalProperties":false}}},"required":["currency","periods"],"additionalProperties":false}}},"description":"Org usage breakdown per resource group, indexed by monthly period"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","schema":{"default":"2026-10-01T00:00:00.000Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"endDate","in":"query","schema":{"default":"2026-10-14T15:09:29.042Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]}},"/api/organizations/{name}/billing/usage-by-inference-session":{"get":{"description":"Get org inference-provider usage broken down per session id, as a time-series of monthly periods.","summary":"Session inference usage","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"currency":{"type":"string"},"periods":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"sessions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"requestCount":{"type":"number"},"costCents":{"type":"number"}},"required":["id","requestCount","costCents"],"additionalProperties":false}}},"required":["period","sessions"],"additionalProperties":false}}},"required":["currency","periods"],"additionalProperties":false}}},"description":"Inference-provider usage breakdown per session, indexed by monthly period"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","schema":{"default":"2026-10-01T00:00:00.000Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"endDate","in":"query","schema":{"default":"2026-10-14T15:09:29.043Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]}},"/api/organizations/{name}/billing/usage/inference":{"get":{"description":"Get org inference-provider usage per member, model and provider, returned as a time-series of daily periods. Window is [startDate, endDate], defaults to the current month. Both dates must fall within the last 12 months. Returns up to `limit` periods, follow the `Link` header for the next ones. Requests are included up to 2 hours after they are made.","summary":"Inference usage","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"period":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"usage":{"type":"array","items":{"type":"object","properties":{"user":{"type":["string","null"]},"model":{"type":["string","null"]},"provider":{"type":"string"},"requestCount":{"type":"number"},"costCents":{"type":"number"},"inputTokens":{"type":"number"},"outputTokens":{"type":"number"},"cachedInputTokens":{"type":"number"}},"required":["user","model","provider","requestCount","costCents","inputTokens","outputTokens","cachedInputTokens"],"additionalProperties":false}}},"required":["period","usage"],"additionalProperties":false}}}},"description":"Org inference-provider usage per member, model and provider, indexed by daily period","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","schema":{"default":"2026-10-01T00:00:00.000Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"endDate","in":"query","schema":{"default":"2026-10-14T15:09:29.043Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"limit","in":"query","schema":{"default":7,"description":"Number of daily periods per page","type":"integer","minimum":1,"maximum":31},"required":false}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/billing/usage/live":{"get":{"description":"Get live usage for org","summary":"Stream usage","tags":["orgs"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/settings/billing/usage-v2":{"get":{"description":"Get user usage for a given period","summary":"Get user usage","tags":["users"],"parameters":[{"name":"startDate","in":"query","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true},{"name":"endDate","in":"query","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true}]}},"/api/settings/billing/usage-by-inference-session":{"get":{"description":"Get user inference-provider usage broken down per session id","summary":"Session inference usage","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"currency":{"type":"string"},"periods":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"sessions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"requestCount":{"type":"number"},"costCents":{"type":"number"}},"required":["id","requestCount","costCents"],"additionalProperties":false}}},"required":["period","sessions"],"additionalProperties":false}}},"required":["currency","periods"],"additionalProperties":false}}},"description":"Inference-provider usage breakdown per session, indexed by monthly period"}},"parameters":[{"name":"startDate","in":"query","schema":{"default":"2026-10-01T00:00:00.000Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"endDate","in":"query","schema":{"default":"2026-10-14T15:09:29.043Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]}},"/api/settings/billing/usage/jobs":{"get":{"description":"Get user Jobs usage for current subscription period","summary":"Get jobs usage","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"usage":{"type":"object","properties":{"usedMicroUsd":{"type":"number"},"totalMinutes":{"type":"number"},"periodStart":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"periodEnd":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"jobDetails":{"type":"array","items":{"type":"object","properties":{"jobId":{"type":"string"},"hardwareFlavor":{"type":"string"},"totalMinutes":{"type":"number"},"totalCostMicroUsd":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"completedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["jobId","hardwareFlavor","totalMinutes","totalCostMicroUsd","startedAt"],"additionalProperties":false}}},"required":["usedMicroUsd","totalMinutes","periodStart","periodEnd","jobDetails"],"additionalProperties":false},"hasAccess":{"type":"boolean"}},"required":["usage","hasAccess"],"additionalProperties":false}}},"description":"Jobs usage information"}}}},"/api/settings/billing/usage/live":{"get":{"description":"Get live usage for user","summary":"Stream usage","tags":["users"]}},"/api/settings/metrics/live":{"get":{"description":"Get live usage and running jobs count for the logged-in user, over a single SSE connection","summary":"Stream metrics","tags":["users"]}},"/api/users/{username}/billing/usage/live":{"get":{"description":"Get live usage for user","summary":"Stream usage","tags":["users"],"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/users/{username}/overview":{"get":{"summary":"User overview","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"hardwareItems":{"description":"The user's hardware items, unless the user set them as private","type":"array","items":{"type":"object","properties":{"sku":{"type":"array","prefixItems":[{"type":"string"},{"type":"string"},{"type":"string"}],"items":false,"minItems":3,"maxItems":3,"description":"Hardware SKU as [type, vendor, model]"},"mem":{"type":"number","description":"Memory in GB"},"num":{"type":"number","description":"Number of units"},"isPrimary":{"type":"boolean","const":true}},"required":["sku","mem","num"],"additionalProperties":false}}},"required":["_id","avatarUrl","fullname","isPro","user","type","createdAt"],"additionalProperties":false}}},"description":"User overview data including their organizations, stats, and creation date"}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/users/{username}/socials":{"get":{"description":"Get a user's social media handles","summary":"Get social handles","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string"},"user":{"type":"string"},"socialHandles":{"type":"object","properties":{"twitter":{"type":"string"},"github":{"type":"string"},"linkedin":{"type":"string"},"bluesky":{"type":"string"}},"additionalProperties":false}},"required":["_id","user","socialHandles"],"additionalProperties":false}}},"description":"The user's social media handles. Only includes handles that the user has provided."}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/users/{username}/avatar":{"get":{"description":"This endpoint returns a JSON with the avatar URL for the user.\n\nIf called with the `Sec-Fetch-Dest: image` header, it instead redirects to the avatar URL","summary":"Retrieve user avatar","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"avatarUrl":{"type":"string","format":"uri"}},"required":["avatarUrl"],"additionalProperties":false}}},"description":"Avatar URL"}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"redirect","in":"query","schema":{"description":"Redirect to the avatar url instead of returning it","type":"string"},"required":false}]}},"/api/users/{username}/likes":{"get":{"description":"List public repos liked by a user","summary":"List user likes","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"repo":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]}},"required":["name","type"],"additionalProperties":false}},"required":["createdAt","repo"],"additionalProperties":false}}}},"description":"Likes on public repositories","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"description":"Max number of likes to return","type":"integer","minimum":1,"maximum":9007199254740991},"required":false},{"name":"cursor","in":"query","schema":{"description":"Cursor for pagination. Always check to see if more results, a page can be empty or not filled.","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false}]}},"/api/users/{username}/followers":{"get":{"summary":"List user followers","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"anyOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"}},"required":["_id","avatarUrl","fullname","isPro","user","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"followedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["_id","followedAt"],"additionalProperties":false,"description":"Returned when `expand=followedAt` is set"}]}}}},"description":"The users following the given user","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Cursor for pagination","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"limit","in":"query","schema":{"default":500,"description":"Max number of followers to return","type":"integer","minimum":10,"maximum":10000},"required":false},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["followedAt"]}},"required":false}]}},"/api/users/{username}/following":{"get":{"summary":"List followed users","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"}},"required":["_id","avatarUrl","fullname","isPro","user","type"],"additionalProperties":false}}}},"description":"The users followed by the given user","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Cursor for pagination","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false}]}},"/api/users/{username}/following/orgs":{"get":{"summary":"List followed organizations","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"orgType":{"type":"string","enum":["company","university","classroom","non-profit","government","community"]},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isFollowing":{"type":"boolean"},"numModels":{"type":"number"},"followerCount":{"type":"number"},"reasonToFollow":{"type":"string"},"emailDomains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"verified":{"type":"boolean"}},"required":["domain"],"additionalProperties":false}}},"required":["_id","avatarUrl","name","fullname","type","isHf"],"additionalProperties":false}}}},"description":"The organizations followed by the given user","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Cursor for pagination","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false}]}},"/api/organizations/{name}/socials":{"get":{"description":"Get an organization's social media handles","summary":"Get social handles","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string"},"org":{"type":"string"},"socialHandles":{"type":"object","properties":{"twitter":{"type":"string"},"github":{"type":"string"},"linkedin":{"type":"string"}},"additionalProperties":false}},"required":["_id","org","socialHandles"],"additionalProperties":false}}},"description":"The organization's social media handles. Only includes handles that the organization has provided."}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/avatars/{namespace}":{"get":{"description":"Display the avatar for any user or organization. This endpoint redirects to the avatar URL for either a user or an organization","summary":"Get avatar","tags":["users","orgs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/inference-endpoints/{namespace}/auth-check/{perms}":{"post":{"description":"Check if the user has access to the inference endpoint","summary":"Check access","tags":["inference-endpoints"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hasHfLevelAccess":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"}},"required":["namespace","user"],"additionalProperties":false}}},"description":"The user has access to the inference endpoint/resource"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hasHfLevelAccess":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false},"patternRestrictions":{"type":"array","items":{"type":"string"}},"resourceGroupId":{"type":"string"}},"required":["namespace","user","patternRestrictions"],"additionalProperties":false}}},"description":"The user has access to the resource, but the endpoint name is restricted by pattern restrictions. Can only be returned if `endpoint` is not provided in the path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"perms","in":"path","required":true,"schema":{"type":"string","enum":["read","write","infer"]}},{"name":"own","in":"query","schema":{"type":"string"},"required":false},{"name":"is_creator","in":"query","schema":{"type":"string"},"required":false},{"name":"creator_id","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"incur_cost","in":"query","schema":{"type":"string"},"required":false},{"name":"resource_group_id","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"repo_id","in":"query","schema":{"type":"string"},"required":false}]}},"/api/inference-endpoints/{namespace}/{endpoint}/auth-check/{perms}":{"post":{"description":"Check if the user has access to the inference endpoint","summary":"Check access","tags":["inference-endpoints"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hasHfLevelAccess":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"}},"required":["namespace","user"],"additionalProperties":false}}},"description":"The user has access to the inference endpoint/resource"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hasHfLevelAccess":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false},"patternRestrictions":{"type":"array","items":{"type":"string"}},"resourceGroupId":{"type":"string"}},"required":["namespace","user","patternRestrictions"],"additionalProperties":false}}},"description":"The user has access to the resource, but the endpoint name is restricted by pattern restrictions. Can only be returned if `endpoint` is not provided in the path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"endpoint","in":"path","required":true,"schema":{"type":"string"}},{"name":"perms","in":"path","required":true,"schema":{"type":"string","enum":["read","write","infer"]}},{"name":"own","in":"query","schema":{"type":"string"},"required":false},{"name":"is_creator","in":"query","schema":{"type":"string"},"required":false},{"name":"creator_id","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"incur_cost","in":"query","schema":{"type":"string"},"required":false},{"name":"resource_group_id","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"repo_id","in":"query","schema":{"type":"string"},"required":false}]}},"/api/jobs/{namespace}/auth-check/{perms}":{"post":{"description":"Check if the user has access to jobs in the namespace","summary":"Check access","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"required":["namespace","user"],"additionalProperties":false}}},"description":"The user has access to jobs in the namespace"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"perms","in":"path","required":true,"schema":{"type":"string","enum":["read","write"]}}]}},"/api/jobs/{namespace}/{jobId}/auth-check/{perms}":{"post":{"description":"Check if the user has access to jobs in the namespace","summary":"Check access","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"required":["namespace","user"],"additionalProperties":false}}},"description":"The user has access to jobs in the namespace"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}},{"name":"perms","in":"path","required":true,"schema":{"type":"string","enum":["read","write"]}}]}},"/api/models/{namespace}/{repo}/likers":{"get":{"summary":"List likers","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["likedAt"]}},"required":false}]}},"/api/datasets/{namespace}/{repo}/likers":{"get":{"summary":"List likers","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["likedAt"]}},"required":false}]}},"/api/spaces/{namespace}/{repo}/likers":{"get":{"summary":"List likers","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["likedAt"]}},"required":false}]}},"/api/kernels/{namespace}/{repo}/likers":{"get":{"summary":"List likers","tags":["kernels"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["likedAt"]}},"required":false}]}},"/api/models/{namespace}/{repo}/treesize/{rev}/{path}":{"get":{"description":"Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.","summary":"Get folder size","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"The normalized path of the subtree, starting with a slash"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total size in bytes of all files under the subtree"}},"required":["path","size"],"additionalProperties":false}}},"description":"Total size of a repository at a given revision, under the given path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/spaces/{namespace}/{repo}/treesize/{rev}/{path}":{"get":{"description":"Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.","summary":"Get folder size","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"The normalized path of the subtree, starting with a slash"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total size in bytes of all files under the subtree"}},"required":["path","size"],"additionalProperties":false}}},"description":"Total size of a repository at a given revision, under the given path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/datasets/{namespace}/{repo}/treesize/{rev}/{path}":{"get":{"description":"Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.","summary":"Get folder size","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"The normalized path of the subtree, starting with a slash"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total size in bytes of all files under the subtree"}},"required":["path","size"],"additionalProperties":false}}},"description":"Total size of a repository at a given revision, under the given path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/models/{namespace}/{repo}/lfs-files":{"get":{"description":"List Xet/LFS files for a repo","summary":"List Large files","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"pusher":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false},"ref":{"type":"string"},"fileOid":{"type":"string"},"oid":{"type":"string"},"size":{"type":"number"},"pushedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"filename":{"description":"Potential filename of the LFS file","type":"string"},"xetHash":{"type":"string"}},"required":["fileOid","oid","size","pushedAt"],"additionalProperties":false}}}},"description":"List of Xet/LFS files for the repo","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","type":"string","enum":["asc","desc"]},"required":false},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":1,"maximum":1000},"required":false},{"name":"sort","in":"query","schema":{"default":"size","type":"string","enum":["size","pushedAt"]},"required":false},{"name":"xet","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/lfs-files":{"get":{"description":"List Xet/LFS files for a repo","summary":"List Large files","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"pusher":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false},"ref":{"type":"string"},"fileOid":{"type":"string"},"oid":{"type":"string"},"size":{"type":"number"},"pushedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"filename":{"description":"Potential filename of the LFS file","type":"string"},"xetHash":{"type":"string"}},"required":["fileOid","oid","size","pushedAt"],"additionalProperties":false}}}},"description":"List of Xet/LFS files for the repo","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","type":"string","enum":["asc","desc"]},"required":false},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":1,"maximum":1000},"required":false},{"name":"sort","in":"query","schema":{"default":"size","type":"string","enum":["size","pushedAt"]},"required":false},{"name":"xet","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/lfs-files":{"get":{"description":"List Xet/LFS files for a repo","summary":"List Large files","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"pusher":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false},"ref":{"type":"string"},"fileOid":{"type":"string"},"oid":{"type":"string"},"size":{"type":"number"},"pushedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"filename":{"description":"Potential filename of the LFS file","type":"string"},"xetHash":{"type":"string"}},"required":["fileOid","oid","size","pushedAt"],"additionalProperties":false}}}},"description":"List of Xet/LFS files for the repo","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","type":"string","enum":["asc","desc"]},"required":false},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":1,"maximum":1000},"required":false},{"name":"sort","in":"query","schema":{"default":"size","type":"string","enum":["size","pushedAt"]},"required":false},{"name":"xet","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/lfs-files/batch":{"post":{"description":"Delete Xet/LFS files in batch","summary":"Delete Large files","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deletions":{"type":"object","properties":{"sha":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"rewriteHistory":{"default":true,"type":"boolean"}},"required":["sha"]}},"required":["deletions"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/lfs-files/batch":{"post":{"description":"Delete Xet/LFS files in batch","summary":"Delete Large files","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deletions":{"type":"object","properties":{"sha":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"rewriteHistory":{"default":true,"type":"boolean"}},"required":["sha"]}},"required":["deletions"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/lfs-files/batch":{"post":{"description":"Delete Xet/LFS files in batch","summary":"Delete Large files","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deletions":{"type":"object","properties":{"sha":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"rewriteHistory":{"default":true,"type":"boolean"}},"required":["sha"]}},"required":["deletions"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/lfs-files/{sha}":{"delete":{"description":"Delete a Xet/LFS file","summary":"Delete Large file","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"schema":{"type":"string"}},{"name":"rewriteHistory","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/lfs-files/{sha}":{"delete":{"description":"Delete a Xet/LFS file","summary":"Delete Large file","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"schema":{"type":"string"}},{"name":"rewriteHistory","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/lfs-files/{sha}":{"delete":{"description":"Delete a Xet/LFS file","summary":"Delete Large file","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"schema":{"type":"string"}},{"name":"rewriteHistory","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["kernels"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/commits/{rev}":{"get":{"summary":"List commits","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"message":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"user":{"type":"string"},"avatar":{"type":"string"}},"required":["user"],"additionalProperties":false}},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"formatted":{"description":"Available if expand includes formatted","type":"object","properties":{"title":{"type":"string"},"message":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["id","title","message","authors","date"],"additionalProperties":false}}}},"description":"Commits list","headers":{"X-Total-Count":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":false},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["formatted"]}},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":1000},"required":false}]}},"/api/spaces/{namespace}/{repo}/commits/{rev}":{"get":{"summary":"List commits","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"message":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"user":{"type":"string"},"avatar":{"type":"string"}},"required":["user"],"additionalProperties":false}},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"formatted":{"description":"Available if expand includes formatted","type":"object","properties":{"title":{"type":"string"},"message":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["id","title","message","authors","date"],"additionalProperties":false}}}},"description":"Commits list","headers":{"X-Total-Count":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":false},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["formatted"]}},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":1000},"required":false}]}},"/api/datasets/{namespace}/{repo}/commits/{rev}":{"get":{"summary":"List commits","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"message":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"user":{"type":"string"},"avatar":{"type":"string"}},"required":["user"],"additionalProperties":false}},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"formatted":{"description":"Available if expand includes formatted","type":"object","properties":{"title":{"type":"string"},"message":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["id","title","message","authors","date"],"additionalProperties":false}}}},"description":"Commits list","headers":{"X-Total-Count":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":false},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["formatted"]}},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":1000},"required":false}]}},"/api/models/{namespace}/{repo}/refs":{"get":{"summary":"List references","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"branches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"converts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"pullRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}}},"required":["tags","branches","converts"],"additionalProperties":false}}},"description":"List of references in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_prs","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/refs":{"get":{"summary":"List references","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"branches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"converts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"pullRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}}},"required":["tags","branches","converts"],"additionalProperties":false}}},"description":"List of references in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_prs","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/refs":{"get":{"summary":"List references","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"branches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"converts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"pullRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}}},"required":["tags","branches","converts"],"additionalProperties":false}}},"description":"List of references in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_prs","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/compare/{compare}":{"get":{"summary":"Get compare rev","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The diff between the two revisions"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"compare","in":"path","required":true,"schema":{"type":"string"}},{"name":"raw","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/compare/{compare}":{"get":{"summary":"Get compare rev","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The diff between the two revisions"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"compare","in":"path","required":true,"schema":{"type":"string"}},{"name":"raw","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/compare/{compare}":{"get":{"summary":"Get compare rev","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The diff between the two revisions"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"compare","in":"path","required":true,"schema":{"type":"string"}},{"name":"raw","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/paths-info/{rev}":{"post":{"summary":"List paths info","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]},"expand":{"anyOf":[{"type":"string"},{"default":false,"type":"boolean"}],"description":"Expand the response with the last commit and security file status"}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"type":"number"},"lfs":{"type":"object","properties":{"pointerSize":{"type":"number"}},"required":["pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"path":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid","size","path"],"additionalProperties":false}}}},"description":"List of paths in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/paths-info/{rev}":{"post":{"summary":"List paths info","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]},"expand":{"anyOf":[{"type":"string"},{"default":false,"type":"boolean"}],"description":"Expand the response with the last commit and security file status"}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"type":"number"},"lfs":{"type":"object","properties":{"pointerSize":{"type":"number"}},"required":["pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"path":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid","size","path"],"additionalProperties":false}}}},"description":"List of paths in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/paths-info/{rev}":{"post":{"summary":"List paths info","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]},"expand":{"anyOf":[{"type":"string"},{"default":false,"type":"boolean"}],"description":"Expand the response with the last commit and security file status"}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"type":"number"},"lfs":{"type":"object","properties":{"pointerSize":{"type":"number"}},"required":["pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"path":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid","size","path"],"additionalProperties":false}}}},"description":"List of paths in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/preupload/{rev}":{"post":{"description":"Check if a file should be uploaded through the Large File mechanism or directly.","summary":"Check upload method","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"size":{"type":"number"},"sample":{"type":"string"}},"required":["path","size","sample"]}},"gitAttributes":{"description":"Provide this parameter if you plan to modify `.gitattributes` yourself at the same time as uploading LFS files. Note that this is not needed if you solely rely on automatic LFS detection from HF: the commit endpoint will automatically edit the `.gitattributes` file to track the files passed to its `lfsFiles` param.","type":"string"},"gitIgnore":{"description":"Content of the .gitignore file for the revision. Optional, otherwise takes the existing content of `.gitignore` for the revision.","type":"string"}},"required":["files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"uploadMode":{"type":"string","enum":["lfs","regular"]},"shouldIgnore":{"type":"boolean"},"oid":{"description":"The oid of the blob if it already exists in the repository. If the blob is a LFS file, it'll be the lfs oid.","type":"string"}},"required":["path","uploadMode","shouldIgnore"],"additionalProperties":false}},"commitOid":{"type":"string"}},"required":["files","commitOid"],"additionalProperties":false}}},"description":"Files to be uploaded."},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"The request is invalid"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/preupload/{rev}":{"post":{"description":"Check if a file should be uploaded through the Large File mechanism or directly.","summary":"Check upload method","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"size":{"type":"number"},"sample":{"type":"string"}},"required":["path","size","sample"]}},"gitAttributes":{"description":"Provide this parameter if you plan to modify `.gitattributes` yourself at the same time as uploading LFS files. Note that this is not needed if you solely rely on automatic LFS detection from HF: the commit endpoint will automatically edit the `.gitattributes` file to track the files passed to its `lfsFiles` param.","type":"string"},"gitIgnore":{"description":"Content of the .gitignore file for the revision. Optional, otherwise takes the existing content of `.gitignore` for the revision.","type":"string"}},"required":["files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"uploadMode":{"type":"string","enum":["lfs","regular"]},"shouldIgnore":{"type":"boolean"},"oid":{"description":"The oid of the blob if it already exists in the repository. If the blob is a LFS file, it'll be the lfs oid.","type":"string"}},"required":["path","uploadMode","shouldIgnore"],"additionalProperties":false}},"commitOid":{"type":"string"}},"required":["files","commitOid"],"additionalProperties":false}}},"description":"Files to be uploaded."},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"The request is invalid"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/preupload/{rev}":{"post":{"description":"Check if a file should be uploaded through the Large File mechanism or directly.","summary":"Check upload method","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"size":{"type":"number"},"sample":{"type":"string"}},"required":["path","size","sample"]}},"gitAttributes":{"description":"Provide this parameter if you plan to modify `.gitattributes` yourself at the same time as uploading LFS files. Note that this is not needed if you solely rely on automatic LFS detection from HF: the commit endpoint will automatically edit the `.gitattributes` file to track the files passed to its `lfsFiles` param.","type":"string"},"gitIgnore":{"description":"Content of the .gitignore file for the revision. Optional, otherwise takes the existing content of `.gitignore` for the revision.","type":"string"}},"required":["files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"uploadMode":{"type":"string","enum":["lfs","regular"]},"shouldIgnore":{"type":"boolean"},"oid":{"description":"The oid of the blob if it already exists in the repository. If the blob is a LFS file, it'll be the lfs oid.","type":"string"}},"required":["path","uploadMode","shouldIgnore"],"additionalProperties":false}},"commitOid":{"type":"string"}},"required":["files","commitOid"],"additionalProperties":false}}},"description":"Files to be uploaded."},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"The request is invalid"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/xet-write-token/{rev}":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/xet-write-token/{rev}":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/xet-write-token/{rev}":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/xet-write-token":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/xet-write-token":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/xet-read-token/{rev}":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/xet-read-token/{rev}":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/xet-read-token/{rev}":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/xet-read-token":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/xet-read-token":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/commit/{rev}":{"post":{"description":"For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit.\n\nJSON-lines payload:\n```json\n{\n \"key\": \"header\",\n \"value\": {\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n }\n}\n{\n \"key\": \"file\",\n \"value\": {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n{\n \"key\": \"deletedEntry\",\n \"value\": {\n \"path\": \"string (REQUIRED)\"\n }\n}\n{\n \"key\": \"lfsFile\",\n \"value\": {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n```\n\nJSON payload:\n```json\n{\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n \"files\": [\n {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ],\n \"deletedEntries\": [\n {\n \"path\": \"string (REQUIRED)\"\n }\n ],\n \"lfsFiles\": [\n {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ]\n}\n```\n","summary":"Commit","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"Whether the commit was successful"},"pullRequestUrl":{"type":"string","description":"The URL of the pull request"},"commitOid":{"type":"string","description":"The OID of the commit"},"commitUrl":{"type":"string","description":"The URL of the commit"},"hookOutput":{"type":"string","description":"The output of the git hook"}},"required":["success","commitOid","commitUrl","hookOutput"],"additionalProperties":false}}},"description":"The response of the commit"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"create_pr","in":"query","schema":{"description":"Whether to create a pull request from the commit","type":"string"},"required":false},{"name":"hot_reload","in":"query","schema":{"description":"For Spaces, whether to try to hot reload the commit (only for single python files updates)","type":"string"},"required":false},{"name":"Content-Type","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"application/x-ndjson","description":"`application/x-ndjson` if you to commit by json lines","type":"string","enum":["application/json","application/x-ndjson"]}}]}},"/api/datasets/{namespace}/{repo}/commit/{rev}":{"post":{"description":"For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit.\n\nJSON-lines payload:\n```json\n{\n \"key\": \"header\",\n \"value\": {\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n }\n}\n{\n \"key\": \"file\",\n \"value\": {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n{\n \"key\": \"deletedEntry\",\n \"value\": {\n \"path\": \"string (REQUIRED)\"\n }\n}\n{\n \"key\": \"lfsFile\",\n \"value\": {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n```\n\nJSON payload:\n```json\n{\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n \"files\": [\n {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ],\n \"deletedEntries\": [\n {\n \"path\": \"string (REQUIRED)\"\n }\n ],\n \"lfsFiles\": [\n {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ]\n}\n```\n","summary":"Commit","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"Whether the commit was successful"},"pullRequestUrl":{"type":"string","description":"The URL of the pull request"},"commitOid":{"type":"string","description":"The OID of the commit"},"commitUrl":{"type":"string","description":"The URL of the commit"},"hookOutput":{"type":"string","description":"The output of the git hook"}},"required":["success","commitOid","commitUrl","hookOutput"],"additionalProperties":false}}},"description":"The response of the commit"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"create_pr","in":"query","schema":{"description":"Whether to create a pull request from the commit","type":"string"},"required":false},{"name":"hot_reload","in":"query","schema":{"description":"For Spaces, whether to try to hot reload the commit (only for single python files updates)","type":"string"},"required":false},{"name":"Content-Type","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"application/x-ndjson","description":"`application/x-ndjson` if you to commit by json lines","type":"string","enum":["application/json","application/x-ndjson"]}}]}},"/api/spaces/{namespace}/{repo}/commit/{rev}":{"post":{"description":"For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit.\n\nJSON-lines payload:\n```json\n{\n \"key\": \"header\",\n \"value\": {\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n }\n}\n{\n \"key\": \"file\",\n \"value\": {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n{\n \"key\": \"deletedEntry\",\n \"value\": {\n \"path\": \"string (REQUIRED)\"\n }\n}\n{\n \"key\": \"lfsFile\",\n \"value\": {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n```\n\nJSON payload:\n```json\n{\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n \"files\": [\n {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ],\n \"deletedEntries\": [\n {\n \"path\": \"string (REQUIRED)\"\n }\n ],\n \"lfsFiles\": [\n {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ]\n}\n```\n","summary":"Commit","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"Whether the commit was successful"},"pullRequestUrl":{"type":"string","description":"The URL of the pull request"},"commitOid":{"type":"string","description":"The OID of the commit"},"commitUrl":{"type":"string","description":"The URL of the commit"},"hookOutput":{"type":"string","description":"The output of the git hook"}},"required":["success","commitOid","commitUrl","hookOutput"],"additionalProperties":false}}},"description":"The response of the commit"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"create_pr","in":"query","schema":{"description":"Whether to create a pull request from the commit","type":"string"},"required":false},{"name":"hot_reload","in":"query","schema":{"description":"For Spaces, whether to try to hot reload the commit (only for single python files updates)","type":"string"},"required":false},{"name":"Content-Type","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"application/x-ndjson","description":"`application/x-ndjson` if you to commit by json lines","type":"string","enum":["application/json","application/x-ndjson"]}}]}},"/api/models/{namespace}/{repo}/tag/{rev}":{"post":{"summary":"Create tag","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tag":{"type":"string"},"message":{"type":"string"}},"required":["tag"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a tag","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/tag/{rev}":{"post":{"summary":"Create tag","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tag":{"type":"string"},"message":{"type":"string"}},"required":["tag"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a tag","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/tag/{rev}":{"post":{"summary":"Create tag","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tag":{"type":"string"},"message":{"type":"string"}},"required":["tag"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a tag","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/branch/{rev}":{"post":{"summary":"Create branch","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"startingPoint":{"description":"The commit to start from","type":"string"},"emptyBranch":{"default":false,"description":"Create an empty branch","type":"boolean"},"overwrite":{"default":false,"description":"Overwrite the branch if it already exists","type":"boolean"}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a branch","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/branch/{rev}":{"post":{"summary":"Create branch","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"startingPoint":{"description":"The commit to start from","type":"string"},"emptyBranch":{"default":false,"description":"Create an empty branch","type":"boolean"},"overwrite":{"default":false,"description":"Overwrite the branch if it already exists","type":"boolean"}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a branch","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/branch/{rev}":{"post":{"summary":"Create branch","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"startingPoint":{"description":"The commit to start from","type":"string"},"emptyBranch":{"default":false,"description":"Create an empty branch","type":"boolean"},"overwrite":{"default":false,"description":"Overwrite the branch if it already exists","type":"boolean"}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a branch","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/resource-group":{"post":{"description":"Add the repository to a resource group","summary":"Add resource group","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to add the repository to, if null, the repository will be removed from the resource group"}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["name","type","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get resource group","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group of the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/resource-group":{"post":{"description":"Add the repository to a resource group","summary":"Add resource group","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to add the repository to, if null, the repository will be removed from the resource group"}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["name","type","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get resource group","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group of the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/resource-group":{"post":{"description":"Add the repository to a resource group","summary":"Add resource group","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to add the repository to, if null, the repository will be removed from the resource group"}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["name","type","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get resource group","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group of the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/resource-group":{"post":{"description":"Add the repository to a resource group","summary":"Add resource group","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to add the repository to, if null, the repository will be removed from the resource group"}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["name","type","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get resource group","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group of the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/super-squash/{rev}":{"post":{"description":"Squash all commits in the current ref into a single commit with the given message. Action is irreversible.","summary":"Squash ref","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string","maxLength":500}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"commitId":{"type":"string","description":"The new commit ID after the squash"}},"required":["commitId"],"additionalProperties":false}}},"description":"Response containing the new commit ID after the squash"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/super-squash/{rev}":{"post":{"description":"Squash all commits in the current ref into a single commit with the given message. Action is irreversible.","summary":"Squash ref","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string","maxLength":500}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"commitId":{"type":"string","description":"The new commit ID after the squash"}},"required":["commitId"],"additionalProperties":false}}},"description":"Response containing the new commit ID after the squash"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/super-squash/{rev}":{"post":{"description":"Squash all commits in the current ref into a single commit with the given message. Action is irreversible.","summary":"Squash ref","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string","maxLength":500}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"commitId":{"type":"string","description":"The new commit ID after the squash"}},"required":["commitId"],"additionalProperties":false}}},"description":"Response containing the new commit ID after the squash"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/settings":{"put":{"description":"Update the settings of a repo","summary":"Update repo settings","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}},"additionalProperties":false}}},"description":"The updated repo settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/settings":{"put":{"description":"Update the settings of a repo","summary":"Update repo settings","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}},"additionalProperties":false}}},"description":"The updated repo settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/settings":{"put":{"description":"Update the settings of a repo","summary":"Update repo settings","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}},"additionalProperties":false}}},"description":"The updated repo settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/tree/{rev}/{path}":{"get":{"description":"List the content of a repository tree, with pagination support.","summary":"List folder content","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"description":"If the file is a LFS pointer, it'll return the size of the remote file","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lfs":{"type":"object","properties":{"oid":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pointerSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["oid","size","pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid"],"additionalProperties":false}}}},"description":"List of entries in the repository tree","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, if applicable"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"expand","in":"query","schema":{"description":"If true, returns returns associated commit data for each entry and security scanner metadata.","type":"string"},"required":false},{"name":"recursive","in":"query","schema":{"description":"If true, returns the tree recursively.","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"1.000 by default, 100 by default for expand=true"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/tree/{rev}/{path}":{"get":{"description":"List the content of a repository tree, with pagination support.","summary":"List folder content","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"description":"If the file is a LFS pointer, it'll return the size of the remote file","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lfs":{"type":"object","properties":{"oid":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pointerSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["oid","size","pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid"],"additionalProperties":false}}}},"description":"List of entries in the repository tree","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, if applicable"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"expand","in":"query","schema":{"description":"If true, returns returns associated commit data for each entry and security scanner metadata.","type":"string"},"required":false},{"name":"recursive","in":"query","schema":{"description":"If true, returns the tree recursively.","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"1.000 by default, 100 by default for expand=true"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/tree/{rev}/{path}":{"get":{"description":"List the content of a repository tree, with pagination support.","summary":"List folder content","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"description":"If the file is a LFS pointer, it'll return the size of the remote file","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lfs":{"type":"object","properties":{"oid":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pointerSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["oid","size","pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid"],"additionalProperties":false}}}},"description":"List of entries in the repository tree","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, if applicable"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"expand","in":"query","schema":{"description":"If true, returns returns associated commit data for each entry and security scanner metadata.","type":"string"},"required":false},{"name":"recursive","in":"query","schema":{"description":"If true, returns the tree recursively.","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"1.000 by default, 100 by default for expand=true"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/notebook/{rev}/{path}":{"get":{"description":"Get a jupyter notebook URL for the requested file","summary":"Get notebook URL","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false},{"type":"object","properties":{"notInCache":{"type":"boolean","const":true}},"required":["notInCache"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}]}}},"description":"Response containing the url of the notebook"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/datasets/{namespace}/{repo}/notebook/{rev}/{path}":{"get":{"description":"Get a jupyter notebook URL for the requested file","summary":"Get notebook URL","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false},{"type":"object","properties":{"notInCache":{"type":"boolean","const":true}},"required":["notInCache"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}]}}},"description":"Response containing the url of the notebook"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/spaces/{namespace}/{repo}/notebook/{rev}/{path}":{"get":{"description":"Get a jupyter notebook URL for the requested file","summary":"Get notebook URL","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false},{"type":"object","properties":{"notInCache":{"type":"boolean","const":true}},"required":["notInCache"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}]}}},"description":"Response containing the url of the notebook"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/models/{namespace}/{repo}/scan":{"get":{"description":"Get the security status of a repo","summary":"Get security status","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scansDone":{"type":"boolean"},"filesWithIssues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"level":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]}},"required":["path","level"],"additionalProperties":false}}},"required":["scansDone","filesWithIssues"],"additionalProperties":false}}},"description":"The security status of the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/scan":{"get":{"description":"Get the security status of a repo","summary":"Get security status","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scansDone":{"type":"boolean"},"filesWithIssues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"level":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]}},"required":["path","level"],"additionalProperties":false}}},"required":["scansDone","filesWithIssues"],"additionalProperties":false}}},"description":"The security status of the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/scan":{"get":{"description":"Get the security status of a repo","summary":"Get security status","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scansDone":{"type":"boolean"},"filesWithIssues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"level":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]}},"required":["path","level"],"additionalProperties":false}}},"required":["scansDone","filesWithIssues"],"additionalProperties":false}}},"description":"The security status of the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels/{namespace}/{repo}/scan":{"get":{"description":"Get the security status of a repo","summary":"Get security status","tags":["kernels"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scansDone":{"type":"boolean"},"filesWithIssues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"level":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]}},"required":["path","level"],"additionalProperties":false}}},"required":["scansDone","filesWithIssues"],"additionalProperties":false}}},"description":"The security status of the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions":{"get":{"description":"Get discussions for a repo","summary":"List discussions","tags":["discussions"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"discussions":{"type":"array","items":{"type":"object","properties":{"num":{"type":"number"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"repo":{"$ref":"#/components/schemas/RepoId"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"topReactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"count":{"type":"number"}},"required":["reaction","count"],"additionalProperties":false}},"status":{"type":"string","enum":["draft","open","closed","merged"]},"isPullRequest":{"type":"boolean"},"numComments":{"type":"number"},"numReactionUsers":{"type":"number"},"pinned":{"type":"boolean"},"repoOwner":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["org","user"]},"isParticipating":{"type":"boolean"},"isDiscussionAuthor":{"type":"boolean"}},"required":["name","type","isParticipating","isDiscussionAuthor"],"additionalProperties":false}},"required":["num","repo","title","createdAt","topReactions","status","isPullRequest","numComments","numReactionUsers","pinned"],"additionalProperties":false}},"count":{"type":"number"},"start":{"type":"number"},"numClosedDiscussions":{"description":"Number of closed discussions on the first page","type":"number"}},"required":["discussions","count","start"],"additionalProperties":false}}},"description":"List of discussions"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":false},{"name":"type","in":"query","schema":{"default":"all","type":"string","enum":["all","discussion","pull_request"]},"required":false},{"name":"status","in":"query","schema":{"default":"all","type":"string","enum":["all","open","closed"]},"required":false},{"name":"author","in":"query","schema":{"type":"string","minLength":2,"maxLength":42,"pattern":"^\\b(?!\\d+$)(?![0-9a-fA-F]{24}$)([a-zA-Z0-9]|-(?!-))+\\b$"},"required":false},{"name":"search","in":"query","schema":{"type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"recently-created","type":"string","enum":["recently-created","trending","reactions"]},"required":false}]},"post":{"summary":"Create discussion","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":3,"maxLength":200},"description":{"type":"string","maxLength":65536},"pullRequest":{"type":"boolean"}},"required":["title","description"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"num":{"type":"number"},"pullRequest":{"type":"boolean"},"references":{"type":"object","properties":{"base":{"type":"string"},"mergeCommitId":{"type":"string"}},"required":["base"],"additionalProperties":false}},"required":["url","num","pullRequest"],"additionalProperties":false}}},"description":"Discussion creation response"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}":{"get":{"summary":"Get discussion details","tags":["discussions"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"diffUrl":{"type":"string"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"num":{"type":"number"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"org":{"type":"object","properties":{"avatarUrl":{"type":"string"},"email":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"requiresSSO":{"type":"boolean"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false},"repo":{"$ref":"#/components/schemas/RepoId"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["draft","open","closed","merged"]},"events":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"status-change"},"data":{"type":"object","properties":{"status":{"type":"string","enum":["draft","open","closed","merged"]},"reason":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"commit"},"data":{"type":"object","properties":{"subject":{"type":"string"},"oid":{"type":"string"}},"required":["subject","oid"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"title-change"},"data":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"pinning-change"},"data":{"type":"object","properties":{"pinned":{"type":"boolean"}},"required":["pinned"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"locking-change"},"data":{"type":"object","properties":{"locked":{"type":"boolean"}},"required":["locked"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"report-status-change"},"data":{"type":"object","properties":{"report":{"type":"boolean"}},"required":["report"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"ref-deleted"},"data":{"type":"object","properties":{},"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"commits-truncated"},"data":{"type":"object","properties":{"hiddenCommits":{"type":"number"},"headOid":{"type":"string"}},"required":["hiddenCommits","headOid"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}]}},"pinned":{"type":"boolean"},"locked":{"type":"boolean"},"collection":{"type":"string","enum":["discussions","paper_discussions","social_posts","community_blogs"]},"isPullRequest":{"type":"boolean","const":false},"isReport":{"type":"boolean"}},"required":["_id","title","status","events","pinned","locked","collection","isPullRequest","isReport"],"additionalProperties":false},{"type":"object","properties":{"diffUrl":{"type":"string"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"num":{"type":"number"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"org":{"type":"object","properties":{"avatarUrl":{"type":"string"},"email":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"requiresSSO":{"type":"boolean"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false},"repo":{"$ref":"#/components/schemas/RepoId"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["draft","open","closed","merged"]},"events":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"status-change"},"data":{"type":"object","properties":{"status":{"type":"string","enum":["draft","open","closed","merged"]},"reason":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"commit"},"data":{"type":"object","properties":{"subject":{"type":"string"},"oid":{"type":"string"}},"required":["subject","oid"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"title-change"},"data":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"pinning-change"},"data":{"type":"object","properties":{"pinned":{"type":"boolean"}},"required":["pinned"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"locking-change"},"data":{"type":"object","properties":{"locked":{"type":"boolean"}},"required":["locked"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"report-status-change"},"data":{"type":"object","properties":{"report":{"type":"boolean"}},"required":["report"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"ref-deleted"},"data":{"type":"object","properties":{},"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"commits-truncated"},"data":{"type":"object","properties":{"hiddenCommits":{"type":"number"},"headOid":{"type":"string"}},"required":["hiddenCommits","headOid"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}]}},"pinned":{"type":"boolean"},"locked":{"type":"boolean"},"collection":{"type":"string","const":"discussions"},"isPullRequest":{"type":"boolean","const":true},"filesWithConflicts":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"boolean","const":true}],"description":"The list of files with conflicts. `true` means there are conflicts but we cannot list them."},"changes":{"type":"object","properties":{"base":{"type":"string"},"mergeCommitId":{"type":"string"},"headCommitId":{"description":"The last commit ID of the PR branch, stored before ref deletion so diffs can still be computed.","type":"string"},"refDeleted":{"description":"Whether the PR ref has been deleted (to free up storage).","type":"boolean"}},"required":["base"],"additionalProperties":false}},"required":["_id","title","status","events","pinned","locked","collection","isPullRequest","filesWithConflicts","changes"],"additionalProperties":false}]}}},"description":"Discussion details"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a discussion","tags":["discussions"],"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/status":{"post":{"description":"Change the status of a discussion","summary":"Change status","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["open","closed"]},"comment":{"type":"string"}},"required":["status"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newStatus":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"status-change"},"data":{"type":"object","properties":{"status":{"type":"string","enum":["draft","open","closed","merged"]},"reason":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newStatus"],"additionalProperties":false}}},"description":"New status event"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/title":{"post":{"description":"Change the title of a discussion","summary":"Change title","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":3,"maxLength":200}},"required":["title"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newTitle":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"title-change"},"data":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newTitle"],"additionalProperties":false}}},"description":"New title event"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/pin":{"post":{"summary":"Pin a discussion","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pinned":{"type":"boolean"}},"required":["pinned"]}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/merge":{"post":{"summary":"Merge pull request","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string"}}}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/ref":{"delete":{"description":"Deletes the git ref for a closed/merged pull request to free up storage. LFS files unique to this PR will be garbage collected. The PR page and diff will still be viewable using stored commit data.","summary":"Delete PR ref","tags":["discussions"],"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/storage":{"get":{"description":"Estimates the LFS storage used by a PR that could be freed if the ref is deleted.","summary":"PR storage estimate","tags":["discussions"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"estimatedStorage":{"type":"number","description":"Estimated storage in bytes that may be freed"},"refDeleted":{"type":"boolean","description":"Whether the ref has already been deleted"}},"required":["estimatedStorage","refDeleted"],"additionalProperties":false}}},"description":"PR storage estimate response"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/ignore":{"post":{"summary":"Toggle ignore discussion","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","enum":["add","remove"]}},"required":["action"]}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels":{"get":{"description":"List kernels with optional filtering, sorting, and pagination","summary":"List kernels","tags":["kernels"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Kernel ID in format namespace/name"},"author":{"description":"Namespace (user or organization) of the kernel","type":"string"},"private":{"description":"Whether the kernel is private","type":"boolean"},"cardData":{"description":"Kernel card metadata","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"disabled":{"description":"Whether the kernel is disabled","type":"boolean"},"downloads":{"description":"Number of downloads in the last 30 days","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"downloadsAllTime":{"description":"Total number of downloads","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"gated":{"description":"Gated access status","anyOf":[{"type":"boolean"},{"type":"string","const":"auto"},{"type":"string","const":"manual"}]},"lastModified":{"description":"Last modification timestamp","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"createdAt":{"description":"Creation timestamp","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"description":"Number of likes","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sha":{"description":"Current commit SHA","type":"string"},"files":{"description":"List of files in the kernel","type":"array","items":{"type":"string"}},"tags":{"description":"Kernel tags","type":"array","items":{"type":"string"}},"trendingScore":{"description":"Trending score","type":"number"},"buildMetadata":{"description":"Build metadata","type":"object","properties":{"compatibility":{"type":"object","properties":{"torch":{"type":"array","items":{"type":"string","enum":["2.8","2.9","2.10","2.11","2.12","2.13","2.14"]}},"os":{"type":"array","items":{"type":"string","enum":["macos","linux","windows"]}},"arch":{"type":"array","items":{"type":"string","enum":["x86_64","arm64","aarch64"]}}},"required":["torch","os","arch"],"additionalProperties":false},"backends":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["cuda","rocm","metal","xpu","cpu","webgpu"]},"hardwareTypes":{"type":"array","items":{"type":"string","enum":["5.0","5.2","6.0","6.1","6.2","7.0","7.2","7.5","8.0","8.6","8.7","8.9","9.0","10.0","10.3","11.0","12.0","12.1","13.0","5.0+PTX","5.2+PTX","6.0+PTX","6.1+PTX","6.2+PTX","7.0+PTX","7.2+PTX","7.5+PTX","8.0+PTX","8.6+PTX","8.7+PTX","8.9+PTX","9.0+PTX","10.0+PTX","10.3+PTX","11.0+PTX","12.0+PTX","12.1+PTX","13.0+PTX","9.0a","10.0a","10.3a","11.0a","12.0a","12.1a","13.0a","10.0f","12.0f","13.0f","gfx900","gfx906","gfx908","gfx90a","gfx942","gfx950","gfx1030","gfx1100","gfx1101","gfx1102","gfx1150","gfx1151","gfx1200","gfx1201"]}},"noArchs":{"type":"boolean","const":true}},"required":["type","hardwareTypes"],"additionalProperties":false}},"builder":{"type":"object","properties":{"version":{"type":"string"},"commit":{"type":"string"},"dirty":{"type":"boolean"}},"required":["version"],"additionalProperties":false}},"required":["backends"],"additionalProperties":false},"supportedDriverFamilies":{"description":"Driver families supported by the kernel (derived from build metadata)","type":"array","items":{"type":"string","enum":["cuda","rocm","metal","xpu","cpu","webgpu"]}},"resourceGroup":{"description":"Resource group information","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["id"],"additionalProperties":false}}}},"description":"List of kernels"}},"parameters":[{"name":"search","in":"query","schema":{"description":"Filter by search term","type":"string"},"required":false},{"name":"author","in":"query","schema":{"description":"Filter by author","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"id","in":"query","schema":{"description":"Filter by ID","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"arxivIds","in":"query","schema":{"description":"Filter by Arxiv ID","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"filter","in":"query","schema":{"description":"Filter by tags","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"sort","in":"query","schema":{"default":"trendingScore","description":"Sort field (e.g. downloads, likes, lastModified, trendingScore)","type":"string","enum":["downloads","likes","lastModified","trendingScore","likes30d","_id","id"]},"required":false},{"name":"direction","in":"query","schema":{"default":"-1","description":"Sort direction: 1 for ascending, -1 for descending","type":"string","enum":["1","-1"]},"required":false},{"name":"limit","in":"query","schema":{"default":1000,"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":1000},"required":false},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor from Link header","type":"string"},"required":false},{"name":"full","in":"query","schema":{"description":"Return full kernel info including author, sha, lastModified, files, gated","type":"boolean"},"required":false},{"name":"gated","in":"query","schema":{"description":"Filter by gated","type":"boolean"},"required":false},{"name":"expand","in":"query","schema":{"description":"Display specific fields in the response","anyOf":[{"type":"string","enum":["author","cardData","disabled","downloads","downloadsAllTime","gated","lastModified","createdAt","likes","private","sha","files","tags","trendingScore","buildMetadata","supportedDriverFamilies","resourceGroup","arxivIds"]},{"type":"array","items":{"type":"string","enum":["author","cardData","disabled","downloads","downloadsAllTime","gated","lastModified","createdAt","likes","private","sha","files","tags","trendingScore","buildMetadata","supportedDriverFamilies","resourceGroup","arxivIds"]}}]},"required":false}]}},"/api/kernels/{namespace}/{repo}":{"get":{"summary":"Get kernel","tags":["kernels"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"kernel"},"sha":{"type":"string"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"files":{"type":"array","items":{"type":"string"}},"supportedDriverFamilies":{"type":"array","items":{"type":"string","enum":["cuda","rocm","metal","xpu","cpu","webgpu"]}},"trustedPublisher":{"type":"boolean"}},"required":["author","downloads","id","isLikedByUser","lastModified","likes","private","repoType","sha","gated"],"additionalProperties":false}}},"description":"Kernel overview information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels/{namespace}/{repo}/revision/{rev}":{"get":{"summary":"Get kernel","tags":["kernels"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"kernel"},"sha":{"type":"string"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"files":{"type":"array","items":{"type":"string"}},"supportedDriverFamilies":{"type":"array","items":{"type":"string","enum":["cuda","rocm","metal","xpu","cpu","webgpu"]}},"trustedPublisher":{"type":"boolean"}},"required":["author","downloads","id","isLikedByUser","lastModified","likes","private","repoType","sha","gated"],"additionalProperties":false}}},"description":"Kernel overview information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels/access-request/approve":{"post":{"summary":"Approve kernel access","tags":["kernels"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"string","minLength":1},"sendEmail":{"type":"boolean"}},"required":["namespace"]}}}}}},"/api/datasets/{namespace}/{repo}/leaderboard":{"get":{"description":"Returns the evaluation results ranked by score for a dataset/task","summary":"Get dataset leaderboard","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"rank":{"type":"number"},"modelId":{"type":"string"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"value":{"type":"number"},"verified":{"type":"boolean"},"source":{"type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"isExternal":{"type":"boolean"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["url","isExternal"],"additionalProperties":false},"pullRequest":{"type":"number"},"filename":{"type":"string"},"notes":{"type":"string"},"lower_is_better":{"type":"boolean"},"num_parameters":{"type":"number"}},"required":["rank","modelId","author","value","filename"],"additionalProperties":false}}}},"description":"Evaluation results"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"task_id","in":"query","schema":{"type":"string"},"required":false},{"name":"max_params","in":"query","schema":{"type":"string"},"required":false},{"name":"base_model","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/jwt":{"get":{"description":"Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.","summary":"Generate JWT","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accessToken":{"type":"string","description":"The JWT token with Bearer prefix"},"exp":{"description":"Token expiration timestamp in seconds (JWT standard)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"token":{"type":"string","description":"The JWT token"},"encryptedToken":{"description":"Encrypted JWT token and key ID (only if encrypted=true was requested)","type":"object","properties":{"encrypted":{"type":"string","description":"The encrypted JWT token"},"keyId":{"type":"string","description":"Key ID used to encrypt the token"}},"required":["encrypted","keyId"],"additionalProperties":false}},"required":["accessToken","token"],"additionalProperties":false}}},"description":"The JWT token and related information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"write","in":"query","schema":{"type":"string"},"required":false},{"name":"expiration","in":"query","schema":{"description":"Requested expiration datetime, capped at the default (10 minutes with write, 24 hours for spaces, 1 hour otherwise). Use expires_in instead.","deprecated":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"expires_in","in":"query","schema":{"description":"Requested lifetime in seconds, capped at the default (600s with write, 86400s for spaces, 3600s otherwise)","type":"integer","exclusiveMinimum":0,"maximum":86400},"required":false},{"name":"encrypted","in":"query","schema":{"type":"string"},"required":false},{"name":"inference_api","in":"query","schema":{"type":"string"},"required":false},{"name":"include_pro_status","in":"query","schema":{"deprecated":true,"description":"Use billing_details instead.","type":"string"},"required":false},{"name":"billing_details","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/jwt":{"get":{"description":"Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.","summary":"Generate JWT","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accessToken":{"type":"string","description":"The JWT token with Bearer prefix"},"exp":{"description":"Token expiration timestamp in seconds (JWT standard)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"token":{"type":"string","description":"The JWT token"},"encryptedToken":{"description":"Encrypted JWT token and key ID (only if encrypted=true was requested)","type":"object","properties":{"encrypted":{"type":"string","description":"The encrypted JWT token"},"keyId":{"type":"string","description":"Key ID used to encrypt the token"}},"required":["encrypted","keyId"],"additionalProperties":false}},"required":["accessToken","token"],"additionalProperties":false}}},"description":"The JWT token and related information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"write","in":"query","schema":{"type":"string"},"required":false},{"name":"expiration","in":"query","schema":{"description":"Requested expiration datetime, capped at the default (10 minutes with write, 24 hours for spaces, 1 hour otherwise). Use expires_in instead.","deprecated":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"expires_in","in":"query","schema":{"description":"Requested lifetime in seconds, capped at the default (600s with write, 86400s for spaces, 3600s otherwise)","type":"integer","exclusiveMinimum":0,"maximum":86400},"required":false},{"name":"encrypted","in":"query","schema":{"type":"string"},"required":false},{"name":"inference_api","in":"query","schema":{"type":"string"},"required":false},{"name":"include_pro_status","in":"query","schema":{"deprecated":true,"description":"Use billing_details instead.","type":"string"},"required":false},{"name":"billing_details","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/jwt":{"get":{"description":"Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.","summary":"Generate JWT","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accessToken":{"type":"string","description":"The JWT token with Bearer prefix"},"exp":{"description":"Token expiration timestamp in seconds (JWT standard)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"token":{"type":"string","description":"The JWT token"},"encryptedToken":{"description":"Encrypted JWT token and key ID (only if encrypted=true was requested)","type":"object","properties":{"encrypted":{"type":"string","description":"The encrypted JWT token"},"keyId":{"type":"string","description":"Key ID used to encrypt the token"}},"required":["encrypted","keyId"],"additionalProperties":false}},"required":["accessToken","token"],"additionalProperties":false}}},"description":"The JWT token and related information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"write","in":"query","schema":{"type":"string"},"required":false},{"name":"expiration","in":"query","schema":{"description":"Requested expiration datetime, capped at the default (10 minutes with write, 24 hours for spaces, 1 hour otherwise). Use expires_in instead.","deprecated":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"expires_in","in":"query","schema":{"description":"Requested lifetime in seconds, capped at the default (600s with write, 86400s for spaces, 3600s otherwise)","type":"integer","exclusiveMinimum":0,"maximum":86400},"required":false},{"name":"encrypted","in":"query","schema":{"type":"string"},"required":false},{"name":"inference_api","in":"query","schema":{"type":"string"},"required":false},{"name":"include_pro_status","in":"query","schema":{"deprecated":true,"description":"Use billing_details instead.","type":"string"},"required":false},{"name":"billing_details","in":"query","schema":{"type":"string"},"required":false}]}},"/api/agent-harnesses":{"get":{"description":"Get the registry of AI agents / harnesses known to the Hub, along with the standard environment variables used to detect them. Clients use this registry to identify which agent they are running in when reporting Hub activity.","summary":"Get agent harnesses","tags":["agents"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"standardEnvVars":{"type":"array","items":{"type":"string"},"description":"Standard environment variables that any agent can set to identify itself. Their value is matched against the harness ids."},"harnesses":{"type":"object","propertyNames":{"type":"string","description":"Unique identifier of the harness, used when reporting Hub activity"},"additionalProperties":{"type":"object","properties":{"prettyLabel":{"type":"string","description":"Human-readable name of the harness"},"repoUrl":{"description":"URL to the harness's code repository","type":"string"},"docsUrl":{"description":"URL to the harness's documentation or website","type":"string"},"description":{"description":"Short description of the harness","type":"string"},"envVars":{"description":"Environment variable(s) identifying this harness, mapped to the value pattern they must match: \"*\" (set to any non-empty value), an exact value, or a \"*\" fuzzy match. Detection matches if ANY entry matches.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["prettyLabel"],"additionalProperties":false},"description":"Registered harnesses, keyed by id and ordered by detection priority: the first match wins"}},"required":["standardEnvVars","harnesses"],"additionalProperties":false}}},"description":"The registry of AI agents / harnesses known to the Hub"}}}},"/api/models-tags-by-type":{"get":{"description":"Get all possible tags used for models, grouped by tag type. Optionally restrict to only one tag type","summary":"Get model tags","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string","enum":["pipeline_tag","library","dataset","bucket","language","license","arxiv","doi","region","deploy","other"]},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["pipeline_tag","library","dataset","bucket","language","license","arxiv","doi","region","deploy","other"]},"subType":{"type":"string"},"clickable":{"default":true,"type":"boolean"}},"required":["id","label","type"],"additionalProperties":false}}}}},"description":"The tags, grouped by tag type"}},"parameters":[{"name":"type","in":"query","schema":{"type":"string","enum":["pipeline_tag","library","dataset","bucket","language","license","arxiv","doi","region","deploy","other"]},"required":false}]}},"/api/datasets-tags-by-type":{"get":{"description":"Get all possible tags used for datasets, grouped by tag type. Optionally restrict to only one tag type","summary":"Get dataset tags","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string","enum":["benchmark","task_categories","size_categories","modality","format","library","language","license","arxiv","doi","region","other","task_ids","annotations_creators","language_creators","multilinguality","source_datasets"]},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["benchmark","task_categories","size_categories","modality","format","library","language","license","arxiv","doi","region","other","task_ids","annotations_creators","language_creators","multilinguality","source_datasets"]},"subType":{"type":"string"},"clickable":{"default":true,"type":"boolean"}},"required":["id","label","type"],"additionalProperties":false}}}}},"description":"The tags, grouped by tag type"}},"parameters":[{"name":"type","in":"query","schema":{"type":"string","enum":["benchmark","task_categories","size_categories","modality","format","library","language","license","arxiv","doi","region","other","task_ids","annotations_creators","language_creators","multilinguality","source_datasets"]},"required":false}]}},"/api/trending":{"get":{"description":"Get the trending repositories","summary":"Get trending","tags":["models","spaces","datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"recentlyTrending":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"repoType":{"type":"string","const":"dataset"},"repoData":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"}},"required":["author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified"],"additionalProperties":false}},"required":["repoType","repoData"],"additionalProperties":false},{"type":"object","properties":{"repoType":{"type":"string","const":"model"},"repoData":{"type":"object","properties":{"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true}},"required":["author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated"],"additionalProperties":false}},"required":["repoType","repoData"],"additionalProperties":false},{"type":"object","properties":{"repoType":{"type":"string","const":"space"},"repoData":{"type":"object","properties":{"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]}},"required":["author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility"],"additionalProperties":false}},"required":["repoType","repoData"],"additionalProperties":false}]}}},"required":["recentlyTrending"],"additionalProperties":false}}},"description":"Trending repos"}},"parameters":[{"name":"type","in":"query","schema":{"default":"all","type":"string","enum":["all","model","space","dataset"]},"required":false},{"name":"limit","in":"query","schema":{"default":10,"type":"integer","minimum":1,"maximum":20},"required":false}]}},"/api/quicksearch":{"get":{"description":"Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets","summary":"Quick search","tags":["repo-search"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"datasets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"trendingWeight":{"type":"number"}},"required":["id","trendingWeight"],"additionalProperties":false}},"datasetsCount":{"type":"number"},"models":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"trendingWeight":{"type":"number"}},"required":["id","trendingWeight"],"additionalProperties":false}},"modelsCount":{"type":"number"},"orgs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"}},"required":["_id","avatarUrl","fullname","name"],"additionalProperties":false}},"q":{"type":"string"},"spaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"emoji":{"type":"string"},"trendingWeight":{"type":"number"}},"required":["id","emoji","trendingWeight"],"additionalProperties":false}},"spacesCount":{"type":"number"},"users":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatarUrl","fullname","user"],"additionalProperties":false}},"papers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"papersCount":{"type":"number"},"collections":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}},"required":["_id","title"],"additionalProperties":false}},"collectionsCount":{"type":"number"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"bucketsCount":{"type":"number"},"containers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"containersCount":{"type":"number"},"kernels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"kernelsCount":{"type":"number"},"blogs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"}},"required":["_id","slug","title","private"],"additionalProperties":false}},"blogsCount":{"type":"number"}},"required":["datasets","datasetsCount","models","modelsCount","orgs","q","spaces","spacesCount","users","papers","papersCount","collections","collectionsCount","buckets","bucketsCount","containers","containersCount","kernels","kernelsCount","blogs","blogsCount"],"additionalProperties":false}}},"description":"The quick search results"}},"parameters":[{"name":"q","in":"query","schema":{"default":"","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"integer","minimum":1,"maximum":20},{"type":"integer","minimum":1,"maximum":20}]},"required":false},{"name":"lang","in":"query","schema":{"anyOf":[{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},{"type":"string"}]},"required":false},{"name":"library","in":"query","schema":{"anyOf":[{"type":"string","enum":["aadya-neural","acestep","adapter-transformers","allennlp","aneforge","anemoi","araclip","asimov","aviation-ner","asteroid","audiocraft","audioseal","bagel-mot","bboxmaskpose","ben2","bertopic","big_vision","bionemo","birder","birefnet","bm25s","boltzgen","cancertathomev2","cartesia_pytorch","cartesia_mlx","causilo","ccpfn","champ","chatterbox","chaossim","chat_tts","chexmix","chronos-forecasting","clara","clipscope","cloud-agents","collectorvision","colipri","cosyvoice","cotracker","colpali","comet","cortiq","cosmos","cxr-foundation","deepforest","depth-anything-v2","depth-pro","derm-foundation","describe-anything","dia-tts","dia2","diff-interpretation-tuning","diffree","diffusers","diffusionkit","docking-at-home","doctr","drinkme","edsnlp","elm","encoderfile","espnet","eupe","fairseq","fastai","fastprint","fasttext","fixer","flair","flexray","flextab","fme","gaussianformer","gemma.cpp","geometry-crafter","gliformer","gliner","gliner2","glm-tts","glyph-byt5","granite-library","grok","habibi-tts","hallo","minimax-h3","mect","hermes","holomotion","hezar","htrflow","hunyuan-dit","hunyuan3d-2","hunyuanworld-voyager","hy-worldplay","hy-world-2","image-matching-models","imstoucan","index-tts","infinitetalk","infinite-you","intellifold","ising-decoding","jev-style","keras","tf-keras","keras-hub","zeromodels","kernels","kimi-audio","kittentts","kronos","k2","lyra-2.0","lagernvs","laya","ltx","lightning-ir","litert","litert-lm","lerobot","lightglue","liveportrait","longcat-video-avatar-1.5","llama-cpp-python","mini-omni2","mindspore","magi-1","magenta-realtime","magenta-realtime-2","mamba-ssm","manas-1","mars5-tts","matanyone","memra","mesh-anything","merlin","medvae","mflux","microduck","mitie","ml-agents","ml-sharp","mlx","mlx-image","mlc-llm","model2vec","mobilint","montreal-forced-aligner","moshi","mtvcraft","multimolecule","nemo","ninfer","nobg","nv-medtech","open-oasis","open_clip","openasr","opendde","openpeerllm","open-sora","outetts","paddlenlp","PaddleOCR","peft","perception-encoder","phantom-wan","piper","pocket-tts","pruna-ai","pxia","pyannote-audio","py-feat","pythae","quantumpeer","qwen3_tts","recurrentgemma","relik","refiners","renderformer","reverb","rkllm","robo-orchard-lab","routee-powertrain","rwkv","saelens","scail-2","sam2","sam-3d-body","sam-3d-objects","same","sample-factory","sap-rpt-1-oss","sapiens","sapiens2","seedvr","self-forcing","sentence-transformers","setfit","shadow","sklearn","spacy","span-marker","speechbrain","ssr-speech","stable-audio-3","stable-audio-tools","monkeyocr","diffusion-single-file","seed-story","skala","soloaudio","songbloom","stable-baselines3","stanza","supertonic","swarmformer","synthefy-migas","f5-tts","genmo","tencent-song-generation","tensorflowtts","tensorrt","tabpfn","terratorch","tic-clip","timesfm","timee-ts","timm","tirex","tirex-2","torchgeo","transformers","transformers.js","trellis","trellis2","tunejury","ultralytics","univa","uni-3dar","unity-sentis","sana","videoprism","vfi-mamba","vismatch","lvface","voicecraft","voxcpm","vui","vqweb","vibevoice","videox_fun","wan2.2","wham","whisperkit","yolov10","yolov26","zonos","3dtopia-xl"]},{"type":"string"}]},"required":false},{"name":"type","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["model","dataset","space","org","user","paper","collection","bucket","container","kernel","blog"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"orgsFilter","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["own","unwatched"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"reposFilter","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["skip_disabled","skip_gated","own","own_orgs","granted_access"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"pipelines","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other"]}},{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}],"description":"Comma-separated or array of pipeline types"},"required":false},{"name":"exclude","in":"query","schema":{"description":"Array of excluded resources: spaces/repo, models/repo, datasets/repo, papers/paperId, collections/collectionId, users/username, orgs/orgName, buckets/bucketName, containers/containerName, kernels/repo, blog/blogSlug","default":[],"type":"array","items":{"type":"string","pattern":"^(spaces|models|datasets|papers|collections|users|orgs|buckets|containers|kernels|blog)\\/.*"}},"required":false},{"name":"namespace","in":"query","schema":{"description":"Namespace to filter by","type":"string"},"required":false},{"name":"includeInvitees","in":"query","schema":{"type":["boolean","string"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"repoType","in":"query","schema":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string"}]},"required":false},{"name":"discussionId","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"discussionCollectionName","in":"query","schema":{"type":"string"},"required":false},{"name":"spacesTags","in":"query","schema":{"type":"array","items":{"type":"string"}},"required":false}]},"post":{"description":"Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets","summary":"Quick search","tags":["repo-search"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"default":"","type":"string"},"limit":{"anyOf":[{"type":"integer","minimum":1,"maximum":20},{"type":"integer","minimum":1,"maximum":20}]},"lang":{"anyOf":[{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},{"type":"string"}]},"library":{"anyOf":[{"type":"string","enum":["aadya-neural","acestep","adapter-transformers","allennlp","aneforge","anemoi","araclip","asimov","aviation-ner","asteroid","audiocraft","audioseal","bagel-mot","bboxmaskpose","ben2","bertopic","big_vision","bionemo","birder","birefnet","bm25s","boltzgen","cancertathomev2","cartesia_pytorch","cartesia_mlx","causilo","ccpfn","champ","chatterbox","chaossim","chat_tts","chexmix","chronos-forecasting","clara","clipscope","cloud-agents","collectorvision","colipri","cosyvoice","cotracker","colpali","comet","cortiq","cosmos","cxr-foundation","deepforest","depth-anything-v2","depth-pro","derm-foundation","describe-anything","dia-tts","dia2","diff-interpretation-tuning","diffree","diffusers","diffusionkit","docking-at-home","doctr","drinkme","edsnlp","elm","encoderfile","espnet","eupe","fairseq","fastai","fastprint","fasttext","fixer","flair","flexray","flextab","fme","gaussianformer","gemma.cpp","geometry-crafter","gliformer","gliner","gliner2","glm-tts","glyph-byt5","granite-library","grok","habibi-tts","hallo","minimax-h3","mect","hermes","holomotion","hezar","htrflow","hunyuan-dit","hunyuan3d-2","hunyuanworld-voyager","hy-worldplay","hy-world-2","image-matching-models","imstoucan","index-tts","infinitetalk","infinite-you","intellifold","ising-decoding","jev-style","keras","tf-keras","keras-hub","zeromodels","kernels","kimi-audio","kittentts","kronos","k2","lyra-2.0","lagernvs","laya","ltx","lightning-ir","litert","litert-lm","lerobot","lightglue","liveportrait","longcat-video-avatar-1.5","llama-cpp-python","mini-omni2","mindspore","magi-1","magenta-realtime","magenta-realtime-2","mamba-ssm","manas-1","mars5-tts","matanyone","memra","mesh-anything","merlin","medvae","mflux","microduck","mitie","ml-agents","ml-sharp","mlx","mlx-image","mlc-llm","model2vec","mobilint","montreal-forced-aligner","moshi","mtvcraft","multimolecule","nemo","ninfer","nobg","nv-medtech","open-oasis","open_clip","openasr","opendde","openpeerllm","open-sora","outetts","paddlenlp","PaddleOCR","peft","perception-encoder","phantom-wan","piper","pocket-tts","pruna-ai","pxia","pyannote-audio","py-feat","pythae","quantumpeer","qwen3_tts","recurrentgemma","relik","refiners","renderformer","reverb","rkllm","robo-orchard-lab","routee-powertrain","rwkv","saelens","scail-2","sam2","sam-3d-body","sam-3d-objects","same","sample-factory","sap-rpt-1-oss","sapiens","sapiens2","seedvr","self-forcing","sentence-transformers","setfit","shadow","sklearn","spacy","span-marker","speechbrain","ssr-speech","stable-audio-3","stable-audio-tools","monkeyocr","diffusion-single-file","seed-story","skala","soloaudio","songbloom","stable-baselines3","stanza","supertonic","swarmformer","synthefy-migas","f5-tts","genmo","tencent-song-generation","tensorflowtts","tensorrt","tabpfn","terratorch","tic-clip","timesfm","timee-ts","timm","tirex","tirex-2","torchgeo","transformers","transformers.js","trellis","trellis2","tunejury","ultralytics","univa","uni-3dar","unity-sentis","sana","videoprism","vfi-mamba","vismatch","lvface","voicecraft","voxcpm","vui","vqweb","vibevoice","videox_fun","wan2.2","wham","whisperkit","yolov10","yolov26","zonos","3dtopia-xl"]},{"type":"string"}]},"type":{"anyOf":[{"type":"array","items":{"type":"string","enum":["model","dataset","space","org","user","paper","collection","bucket","container","kernel","blog"]}},{"type":"array","items":{"type":"string"}}]},"orgsFilter":{"anyOf":[{"type":"array","items":{"type":"string","enum":["own","unwatched"]}},{"type":"array","items":{"type":"string"}}]},"reposFilter":{"anyOf":[{"type":"array","items":{"type":"string","enum":["skip_disabled","skip_gated","own","own_orgs","granted_access"]}},{"type":"array","items":{"type":"string"}}]},"pipelines":{"anyOf":[{"type":"array","items":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other"]}},{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}],"description":"Comma-separated or array of pipeline types"},"exclude":{"description":"Array of excluded resources: spaces/repo, models/repo, datasets/repo, papers/paperId, collections/collectionId, users/username, orgs/orgName, buckets/bucketName, containers/containerName, kernels/repo, blog/blogSlug","default":[],"type":"array","items":{"type":"string","pattern":"^(spaces|models|datasets|papers|collections|users|orgs|buckets|containers|kernels|blog)\\/.*"}},"namespace":{"description":"Namespace to filter by","type":"string"},"includeInvitees":{"type":["boolean","string"]},"repoName":{"type":"string"},"repoType":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string"}]},"discussionId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"discussionCollectionName":{"type":"string"},"spacesTags":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"datasets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"trendingWeight":{"type":"number"}},"required":["id","trendingWeight"],"additionalProperties":false}},"datasetsCount":{"type":"number"},"models":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"trendingWeight":{"type":"number"}},"required":["id","trendingWeight"],"additionalProperties":false}},"modelsCount":{"type":"number"},"orgs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"}},"required":["_id","avatarUrl","fullname","name"],"additionalProperties":false}},"q":{"type":"string"},"spaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"emoji":{"type":"string"},"trendingWeight":{"type":"number"}},"required":["id","emoji","trendingWeight"],"additionalProperties":false}},"spacesCount":{"type":"number"},"users":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatarUrl","fullname","user"],"additionalProperties":false}},"papers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"papersCount":{"type":"number"},"collections":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}},"required":["_id","title"],"additionalProperties":false}},"collectionsCount":{"type":"number"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"bucketsCount":{"type":"number"},"containers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"containersCount":{"type":"number"},"kernels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"kernelsCount":{"type":"number"},"blogs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"}},"required":["_id","slug","title","private"],"additionalProperties":false}},"blogsCount":{"type":"number"}},"required":["datasets","datasetsCount","models","modelsCount","orgs","q","spaces","spacesCount","users","papers","papersCount","collections","collectionsCount","buckets","bucketsCount","containers","containersCount","kernels","kernelsCount","blogs","blogsCount"],"additionalProperties":false}}},"description":"The quick search results"}},"parameters":[{"name":"q","in":"query","schema":{"default":"","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"integer","minimum":1,"maximum":20},{"type":"integer","minimum":1,"maximum":20}]},"required":false},{"name":"lang","in":"query","schema":{"anyOf":[{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},{"type":"string"}]},"required":false},{"name":"library","in":"query","schema":{"anyOf":[{"type":"string","enum":["aadya-neural","acestep","adapter-transformers","allennlp","aneforge","anemoi","araclip","asimov","aviation-ner","asteroid","audiocraft","audioseal","bagel-mot","bboxmaskpose","ben2","bertopic","big_vision","bionemo","birder","birefnet","bm25s","boltzgen","cancertathomev2","cartesia_pytorch","cartesia_mlx","causilo","ccpfn","champ","chatterbox","chaossim","chat_tts","chexmix","chronos-forecasting","clara","clipscope","cloud-agents","collectorvision","colipri","cosyvoice","cotracker","colpali","comet","cortiq","cosmos","cxr-foundation","deepforest","depth-anything-v2","depth-pro","derm-foundation","describe-anything","dia-tts","dia2","diff-interpretation-tuning","diffree","diffusers","diffusionkit","docking-at-home","doctr","drinkme","edsnlp","elm","encoderfile","espnet","eupe","fairseq","fastai","fastprint","fasttext","fixer","flair","flexray","flextab","fme","gaussianformer","gemma.cpp","geometry-crafter","gliformer","gliner","gliner2","glm-tts","glyph-byt5","granite-library","grok","habibi-tts","hallo","minimax-h3","mect","hermes","holomotion","hezar","htrflow","hunyuan-dit","hunyuan3d-2","hunyuanworld-voyager","hy-worldplay","hy-world-2","image-matching-models","imstoucan","index-tts","infinitetalk","infinite-you","intellifold","ising-decoding","jev-style","keras","tf-keras","keras-hub","zeromodels","kernels","kimi-audio","kittentts","kronos","k2","lyra-2.0","lagernvs","laya","ltx","lightning-ir","litert","litert-lm","lerobot","lightglue","liveportrait","longcat-video-avatar-1.5","llama-cpp-python","mini-omni2","mindspore","magi-1","magenta-realtime","magenta-realtime-2","mamba-ssm","manas-1","mars5-tts","matanyone","memra","mesh-anything","merlin","medvae","mflux","microduck","mitie","ml-agents","ml-sharp","mlx","mlx-image","mlc-llm","model2vec","mobilint","montreal-forced-aligner","moshi","mtvcraft","multimolecule","nemo","ninfer","nobg","nv-medtech","open-oasis","open_clip","openasr","opendde","openpeerllm","open-sora","outetts","paddlenlp","PaddleOCR","peft","perception-encoder","phantom-wan","piper","pocket-tts","pruna-ai","pxia","pyannote-audio","py-feat","pythae","quantumpeer","qwen3_tts","recurrentgemma","relik","refiners","renderformer","reverb","rkllm","robo-orchard-lab","routee-powertrain","rwkv","saelens","scail-2","sam2","sam-3d-body","sam-3d-objects","same","sample-factory","sap-rpt-1-oss","sapiens","sapiens2","seedvr","self-forcing","sentence-transformers","setfit","shadow","sklearn","spacy","span-marker","speechbrain","ssr-speech","stable-audio-3","stable-audio-tools","monkeyocr","diffusion-single-file","seed-story","skala","soloaudio","songbloom","stable-baselines3","stanza","supertonic","swarmformer","synthefy-migas","f5-tts","genmo","tencent-song-generation","tensorflowtts","tensorrt","tabpfn","terratorch","tic-clip","timesfm","timee-ts","timm","tirex","tirex-2","torchgeo","transformers","transformers.js","trellis","trellis2","tunejury","ultralytics","univa","uni-3dar","unity-sentis","sana","videoprism","vfi-mamba","vismatch","lvface","voicecraft","voxcpm","vui","vqweb","vibevoice","videox_fun","wan2.2","wham","whisperkit","yolov10","yolov26","zonos","3dtopia-xl"]},{"type":"string"}]},"required":false},{"name":"type","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["model","dataset","space","org","user","paper","collection","bucket","container","kernel","blog"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"orgsFilter","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["own","unwatched"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"reposFilter","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["skip_disabled","skip_gated","own","own_orgs","granted_access"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"pipelines","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other"]}},{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}],"description":"Comma-separated or array of pipeline types"},"required":false},{"name":"exclude","in":"query","schema":{"description":"Array of excluded resources: spaces/repo, models/repo, datasets/repo, papers/paperId, collections/collectionId, users/username, orgs/orgName, buckets/bucketName, containers/containerName, kernels/repo, blog/blogSlug","default":[],"type":"array","items":{"type":"string","pattern":"^(spaces|models|datasets|papers|collections|users|orgs|buckets|containers|kernels|blog)\\/.*"}},"required":false},{"name":"namespace","in":"query","schema":{"description":"Namespace to filter by","type":"string"},"required":false},{"name":"includeInvitees","in":"query","schema":{"type":["boolean","string"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"repoType","in":"query","schema":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string"}]},"required":false},{"name":"discussionId","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"discussionCollectionName","in":"query","schema":{"type":"string"},"required":false},{"name":"spacesTags","in":"query","schema":{"type":"array","items":{"type":"string"}},"required":false}]}},"/api/search/full-text":{"get":{"summary":"Full-text search","tags":["repo-search"],"parameters":[{"name":"q","in":"query","schema":{"default":"","type":"string","maxLength":250},"required":false},{"name":"limit","in":"query","schema":{"default":20,"type":"integer","minimum":1,"maximum":100},"required":false},{"name":"skip","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"type","in":"query","schema":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"array","items":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]}}]},"required":false},{"name":"filter","in":"query","schema":{"type":"string","maxLength":600},"required":false}]}},"/api/spaces/hardware":{"get":{"description":"Get available space hardware","summary":"List space hardware","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"prettyName":{"type":"string"},"cpu":{"type":"string"},"ram":{"type":"string"},"accelerator":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["gpu","neuron"]},"model":{"type":"string"},"quantity":{"type":"string"},"vram":{"type":"string"},"manufacturer":{"type":"string","enum":["Nvidia","AWS"]}},"required":["type","model","quantity","vram","manufacturer"],"additionalProperties":false},{"type":"null"}]},"unitCostMicroUSD":{"type":"number"},"unitCostUSD":{"type":"number"},"unitLabel":{"type":"string"}},"required":["name","prettyName","cpu","ram","accelerator","unitCostMicroUSD","unitCostUSD","unitLabel"],"additionalProperties":false}}}},"description":"Available space hardware (public only)"}}}},"/api/spaces/templates":{"get":{"description":"Returns the catalog of official Space templates. The `repoId` of a template can be passed as `template` when creating a Space through the create-repo endpoint.","summary":"List Space templates","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"templates":{"type":"array","items":{"type":"object","properties":{"sdk":{"type":"string","enum":["docker","static","gradio"]},"name":{"type":"string","description":"Human-friendly name of the template (e.g. `JupyterLab`)."},"repoId":{"type":"string","description":"Repo id of the template Space, to pass as `template` on create."},"preferredPrivate":{"type":"boolean","description":"Whether the created Space is expected to be private."}},"required":["sdk","name","repoId","preferredPrivate"],"additionalProperties":false}}},"required":["templates"],"additionalProperties":false}}},"description":"The list of available Space templates."}}}},"/api/spaces/zero-gpu/quota":{"get":{"description":"Get the authenticated user's current ZeroGPU quota usage and limits","summary":"Get ZeroGPU quota","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"base":{"type":"number","description":"Total quota in GPU-seconds"},"current":{"type":"number","description":"Remaining quota in GPU-seconds"},"resetsAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}],"description":"ISO 8601 timestamp when the quota resets, or null if the quota has not been used yet"},"overquotaUsed":{"description":"Overquota (paid) GPU-seconds consumed","type":"number"},"runs":{"description":"Execution (runs) accounting, or omitted for visitors without a runs limit","type":"object","properties":{"used":{"type":"number","description":"Executions used in the current runs window"},"limit":{"type":"number","description":"Maximum number of executions allowed in the runs window"},"remaining":{"type":"number","description":"Executions left before the runs limit is reached"},"resetsAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}],"description":"ISO 8601 timestamp when the runs window resets, or null if no run has happened yet. Independent of resetsAt."}},"required":["used","limit","remaining","resetsAt"],"additionalProperties":false}},"required":["base","current","resetsAt"],"additionalProperties":false}}},"description":"The authenticated user's current ZeroGPU quota usage and limits"}}}},"/api/spaces/{namespace}/{repo}/secrets":{"post":{"description":"Upsert Spaces's secret","summary":"Upsert secret","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"default":"","type":"string"}},"required":["key"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete Spaces's secret","summary":"Delete secret","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string"}},"required":["key"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"description":"List a Space's secret keys. Values are never returned.","summary":"List secrets","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"key":{"type":"string"},"description":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["key"],"additionalProperties":false}}}},"description":"Secret keys indexed by name."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/variables":{"post":{"description":"Upsert Spaces's variable","summary":"Upsert variable","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"default":"","type":"string"}},"required":["key"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete Spaces's variable","summary":"Delete variable","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string"}},"required":["key"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"description":"List a Space's variables with their values.","summary":"List variables","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"},"description":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["key","value"],"additionalProperties":false}}}},"description":"Variables indexed by name"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/duplicate":{"post":{"summary":"Duplicate a repository","tags":["repos"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"repository":{"type":"string"},"private":{"type":"boolean"},"visibility":{"type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"hardware":{"default":"","type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6",""]},"sleepTimeSeconds":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"number","const":-1}]},"secrets":{"default":[],"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}},"variables":{"default":[],"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the duplicated Space.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}}},"required":["repository"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"filesCopyPending":{"type":"boolean","description":"True when the repo's LFS/Xet files are still being copied in the background; poll `\u2026/duplicate/status`"}},"required":["url","filesCopyPending"],"additionalProperties":false}}},"description":"Repository created, url is given"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["spaces"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/duplicate/status":{"get":{"summary":"Duplication status","tags":["repos"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pending":{"type":"boolean","description":"True while the LFS/Xet files are still being copied"},"filesTotal":{"description":"Number of LFS/Xet files the duplicate references","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"filesCopied":{"description":"Number of files copied so far","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["pending"],"additionalProperties":false}}},"description":"Progress of the background LFS/Xet copy of a duplicated repository"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","datasets","spaces"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/repos/create":{"post":{"summary":"Create repository","tags":["repos"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"name":{"type":"string"},"organization":{"type":["string","null"]},"region":{"description":"The region where the repository is hosted.","type":"string","enum":["us","eu"]},"license":{"description":"The license of the repository. You can select 'Other' if your license is not in the list","type":"string","enum":["apache-2.0","mit","openrail","bigscience-openrail-m","creativeml-openrail-m","bigscience-bloom-rail-1.0","bigcode-openrail-m","afl-3.0","artistic-2.0","bsl-1.0","bsd","bsd-2-clause","bsd-3-clause","bsd-3-clause-clear","c-uda","cc","cc0-1.0","cc-by-2.0","cc-by-2.5","cc-by-3.0","cc-by-4.0","cc-by-sa-3.0","cc-by-sa-4.0","cc-by-nc-2.0","cc-by-nc-3.0","cc-by-nc-4.0","cc-by-nd-4.0","cc-by-nc-nd-3.0","cc-by-nc-nd-4.0","cc-by-nc-sa-2.0","cc-by-nc-sa-3.0","cc-by-nc-sa-4.0","cdla-sharing-1.0","cdla-permissive-1.0","cdla-permissive-2.0","wtfpl","ecl-2.0","epl-1.0","epl-2.0","etalab-2.0","eupl-1.1","eupl-1.2","agpl-3.0","gfdl","gpl","gpl-2.0","gpl-3.0","lgpl","lgpl-2.1","lgpl-3.0","isc","h-research","intel-research","lppl-1.3c","ms-pl","apple-ascl","apple-amlr","mpl-2.0","odc-by","odbl","openmdw-1.0","openmdw-1.1","openrail++","osl-3.0","postgresql","ofl-1.1","ncsa","unlicense","zlib","pddl","lgpl-lr","deepfloyd-if-license","fair-noncommercial-research-license","llama2","llama3","llama3.1","llama3.2","llama3.3","llama4","grok2-community","gemma","unknown","other"]},"license_name":{"type":"string","pattern":"^[a-z0-9-.]+$"},"license_link":{"anyOf":[{"type":"string","const":"LICENSE"},{"type":"string","const":"LICENSE.md"},{"type":"string","format":"uri"}]},"private":{"description":"Repository visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces. Cannot be specified along with private.","type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"path":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","base64"]}},"required":["content","path"]}},"type":{"type":"string","const":"dataset"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"organization":{"type":["string","null"]},"region":{"description":"The region where the repository is hosted.","type":"string","enum":["us","eu"]},"license":{"description":"The license of the repository. You can select 'Other' if your license is not in the list","type":"string","enum":["apache-2.0","mit","openrail","bigscience-openrail-m","creativeml-openrail-m","bigscience-bloom-rail-1.0","bigcode-openrail-m","afl-3.0","artistic-2.0","bsl-1.0","bsd","bsd-2-clause","bsd-3-clause","bsd-3-clause-clear","c-uda","cc","cc0-1.0","cc-by-2.0","cc-by-2.5","cc-by-3.0","cc-by-4.0","cc-by-sa-3.0","cc-by-sa-4.0","cc-by-nc-2.0","cc-by-nc-3.0","cc-by-nc-4.0","cc-by-nd-4.0","cc-by-nc-nd-3.0","cc-by-nc-nd-4.0","cc-by-nc-sa-2.0","cc-by-nc-sa-3.0","cc-by-nc-sa-4.0","cdla-sharing-1.0","cdla-permissive-1.0","cdla-permissive-2.0","wtfpl","ecl-2.0","epl-1.0","epl-2.0","etalab-2.0","eupl-1.1","eupl-1.2","agpl-3.0","gfdl","gpl","gpl-2.0","gpl-3.0","lgpl","lgpl-2.1","lgpl-3.0","isc","h-research","intel-research","lppl-1.3c","ms-pl","apple-ascl","apple-amlr","mpl-2.0","odc-by","odbl","openmdw-1.0","openmdw-1.1","openrail++","osl-3.0","postgresql","ofl-1.1","ncsa","unlicense","zlib","pddl","lgpl-lr","deepfloyd-if-license","fair-noncommercial-research-license","llama2","llama3","llama3.1","llama3.2","llama3.3","llama4","grok2-community","gemma","unknown","other"]},"license_name":{"type":"string","pattern":"^[a-z0-9-.]+$"},"license_link":{"anyOf":[{"type":"string","const":"LICENSE"},{"type":"string","const":"LICENSE.md"},{"type":"string","format":"uri"}]},"private":{"description":"Repository visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces. Cannot be specified along with private.","type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"path":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","base64"]}},"required":["content","path"]}},"type":{"default":"model","type":"string","const":"model"}},"required":["name"]},{"type":"object","properties":{"name":{"type":"string"},"organization":{"type":["string","null"]},"region":{"description":"The region where the repository is hosted.","type":"string","enum":["us","eu"]},"license":{"description":"The license of the repository. You can select 'Other' if your license is not in the list","type":"string","enum":["apache-2.0","mit","openrail","bigscience-openrail-m","creativeml-openrail-m","bigscience-bloom-rail-1.0","bigcode-openrail-m","afl-3.0","artistic-2.0","bsl-1.0","bsd","bsd-2-clause","bsd-3-clause","bsd-3-clause-clear","c-uda","cc","cc0-1.0","cc-by-2.0","cc-by-2.5","cc-by-3.0","cc-by-4.0","cc-by-sa-3.0","cc-by-sa-4.0","cc-by-nc-2.0","cc-by-nc-3.0","cc-by-nc-4.0","cc-by-nd-4.0","cc-by-nc-nd-3.0","cc-by-nc-nd-4.0","cc-by-nc-sa-2.0","cc-by-nc-sa-3.0","cc-by-nc-sa-4.0","cdla-sharing-1.0","cdla-permissive-1.0","cdla-permissive-2.0","wtfpl","ecl-2.0","epl-1.0","epl-2.0","etalab-2.0","eupl-1.1","eupl-1.2","agpl-3.0","gfdl","gpl","gpl-2.0","gpl-3.0","lgpl","lgpl-2.1","lgpl-3.0","isc","h-research","intel-research","lppl-1.3c","ms-pl","apple-ascl","apple-amlr","mpl-2.0","odc-by","odbl","openmdw-1.0","openmdw-1.1","openrail++","osl-3.0","postgresql","ofl-1.1","ncsa","unlicense","zlib","pddl","lgpl-lr","deepfloyd-if-license","fair-noncommercial-research-license","llama2","llama3","llama3.1","llama3.2","llama3.3","llama4","grok2-community","gemma","unknown","other"]},"license_name":{"type":"string","pattern":"^[a-z0-9-.]+$"},"license_link":{"anyOf":[{"type":"string","const":"LICENSE"},{"type":"string","const":"LICENSE.md"},{"type":"string","format":"uri"}]},"private":{"description":"Repository visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces. Cannot be specified along with private.","type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"path":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","base64"]}},"required":["content","path"]}},"type":{"type":"string","const":"kernel"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"organization":{"type":["string","null"]},"region":{"description":"The region where the repository is hosted.","type":"string","enum":["us","eu"]},"license":{"description":"The license of the repository. You can select 'Other' if your license is not in the list","type":"string","enum":["apache-2.0","mit","openrail","bigscience-openrail-m","creativeml-openrail-m","bigscience-bloom-rail-1.0","bigcode-openrail-m","afl-3.0","artistic-2.0","bsl-1.0","bsd","bsd-2-clause","bsd-3-clause","bsd-3-clause-clear","c-uda","cc","cc0-1.0","cc-by-2.0","cc-by-2.5","cc-by-3.0","cc-by-4.0","cc-by-sa-3.0","cc-by-sa-4.0","cc-by-nc-2.0","cc-by-nc-3.0","cc-by-nc-4.0","cc-by-nd-4.0","cc-by-nc-nd-3.0","cc-by-nc-nd-4.0","cc-by-nc-sa-2.0","cc-by-nc-sa-3.0","cc-by-nc-sa-4.0","cdla-sharing-1.0","cdla-permissive-1.0","cdla-permissive-2.0","wtfpl","ecl-2.0","epl-1.0","epl-2.0","etalab-2.0","eupl-1.1","eupl-1.2","agpl-3.0","gfdl","gpl","gpl-2.0","gpl-3.0","lgpl","lgpl-2.1","lgpl-3.0","isc","h-research","intel-research","lppl-1.3c","ms-pl","apple-ascl","apple-amlr","mpl-2.0","odc-by","odbl","openmdw-1.0","openmdw-1.1","openrail++","osl-3.0","postgresql","ofl-1.1","ncsa","unlicense","zlib","pddl","lgpl-lr","deepfloyd-if-license","fair-noncommercial-research-license","llama2","llama3","llama3.1","llama3.2","llama3.3","llama4","grok2-community","gemma","unknown","other"]},"license_name":{"type":"string","pattern":"^[a-z0-9-.]+$"},"license_link":{"anyOf":[{"type":"string","const":"LICENSE"},{"type":"string","const":"LICENSE.md"},{"type":"string","format":"uri"}]},"private":{"description":"Repository visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces. Cannot be specified along with private.","type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"path":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","base64"]}},"required":["content","path"]}},"type":{"type":"string","const":"space"},"template":{"type":"string"},"short_description":{"type":"string","maxLength":60},"hardware":{"description":"The hardware flavor of the space. If you select 'zero-a10g' or 'zerogpu', the SDK must be Gradio.","type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6","zerogpu"]},"secrets":{"default":[],"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}},"variables":{"default":[],"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}},"sleepTimeSeconds":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"number","const":-1}]},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the Space container.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"sdk":{"type":"string","enum":["gradio","docker","static"],"description":"The Space SDK. `static` is free for everyone. `gradio` and `docker` run on compute: on the free `cpu-basic` flavor they require a subscription (PRO for users, Team/Enterprise for orgs), while paid hardware only requires billing (a payment method and prepaid credits)."},"sdkVersion":{"type":["string","null"]},"devModeEnabled":{"type":"boolean"}},"required":["name","type","sdk"]}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"filesCopyPending":{"type":"boolean"}},"required":["url","name","id"],"additionalProperties":false}}},"description":"Repository created, url is given"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"url":{"type":"string"}},"required":["error","url"],"additionalProperties":false}}},"description":"Repository already exists, url is given"}}}},"/api/repos/move":{"post":{"description":"Move or rename a repo","summary":"Move repo","tags":["repos"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"fromRepo":{"type":"string","examples":["black-forest-labs/FLUX.1-dev"]},"toRepo":{"type":"string"},"type":{"default":"model","type":"string","enum":["dataset","model","space","bucket","kernel","container"]}},"required":["fromRepo","toRepo"]}}}}}},"/api/{repoType}/{namespace}/{repo}/sql-console/embed/{id}":{"patch":{"description":"Update SQL Console embed","summary":"Update embed","tags":["sql-console"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","maxLength":200},"private":{"type":"boolean"},"sql":{"type":"string"}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"repoId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"views":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"displayName":{"type":"string"},"viewName":{"type":"string"}},"required":["key","displayName","viewName"],"additionalProperties":false}},"sql":{"type":"string"},"title":{"type":"string"},"userId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"slug":{"type":"string"},"private":{"type":"boolean"},"rating":{"type":"number"},"justification":{"type":"string"}},"required":["_id","repoId","views","sql","title","userId","createdAt","slug"],"additionalProperties":false}}},"description":"Updated SQL console embed"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["datasets"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete SQL Console embed","summary":"Delete embed","tags":["sql-console"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"SQL console embed deleted successfully"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["datasets"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/sql-console/embed/{id}/hide":{"post":{"description":"Hide a SQL Console embed from the dataset's community queries. Requires write access to the dataset.","summary":"Hide embed","tags":["sql-console"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"SQL console embed hidden successfully"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["datasets"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/sql-console/embed":{"post":{"description":"Create SQL Console embed","summary":"Create embed","tags":["sql-console"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sql":{"type":"string"},"title":{"type":"string","maxLength":200},"private":{"type":"boolean"},"views":{"minItems":1,"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"displayName":{"type":"string"},"viewName":{"type":"string"}},"required":["key","displayName","viewName"]}}},"required":["sql","title","views"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"repoId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"views":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"displayName":{"type":"string"},"viewName":{"type":"string"}},"required":["key","displayName","viewName"],"additionalProperties":false}},"sql":{"type":"string"},"title":{"type":"string"},"userId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"slug":{"type":"string"},"private":{"type":"boolean"},"rating":{"type":"number"},"justification":{"type":"string"}},"required":["_id","repoId","views","sql","title","userId","createdAt","slug"],"additionalProperties":false}}},"description":"Created SQL console embed"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["datasets"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/spaces/{namespace}/{repo}/resolve/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/datasets/{namespace}/{repo}/resolve/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/{namespace}/{repo}/resolve/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/api/resolve-cache/spaces/{namespace}/{repo}/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/api/resolve-cache/datasets/{namespace}/{repo}/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/api/resolve-cache/models/{namespace}/{repo}/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/{namespace}/{repo}/ask-access":{"post":{"description":"Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)","summary":"Request access","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"responses":{"303":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/datasets/{namespace}/{repo}/ask-access":{"post":{"description":"Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)","summary":"Request access","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"responses":{"303":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/{namespace}/{repo}/user-access-report":{"get":{"description":"Export a report of all access requests for a gated repository","summary":"Export access report","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The report of all access requests for a gated repository","headers":{"Content-Disposition":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"The filename of the report"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/datasets/{namespace}/{repo}/user-access-report":{"get":{"description":"Export a report of all access requests for a gated repository","summary":"Export access report","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The report of all access requests for a gated repository","headers":{"Content-Disposition":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"The filename of the report"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/user-access-request/cancel":{"post":{"description":"Cancel the current user's access request to a gated repository","summary":"Cancel access request","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/user-access-request/cancel":{"post":{"description":"Cancel the current user's access request to a gated repository","summary":"Cancel access request","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/user-access-request/{status}":{"get":{"description":"List access requests for a gated repository","summary":"List access requests","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"user":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"email":{"type":"string"},"verifiedOrgNames":{"type":"array","items":{"type":"string"}}},"required":["_id","avatarUrl","fullname","isPro","user","type","verifiedOrgNames"],"additionalProperties":false},"grantedBy":{"anyOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"email":{"type":"string"}},"required":["_id","avatarUrl","fullname","isPro","user","type"],"additionalProperties":false},{"type":"object","properties":{},"additionalProperties":false}]},"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"reviewedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","timestamp"],"additionalProperties":false}}}},"description":"List of access requests for the gated repository","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"path","required":true,"schema":{"type":"string","enum":["pending","accepted","rejected","reset"]}},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":10,"maximum":1000},"required":false},{"name":"after","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"before","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"q","in":"query","schema":{"description":"Search requests by requester username, fullname, email, email domain or verified organization","type":"string","maxLength":250},"required":false}]}},"/api/datasets/{namespace}/{repo}/user-access-request/{status}":{"get":{"description":"List access requests for a gated repository","summary":"List access requests","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"user":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"email":{"type":"string"},"verifiedOrgNames":{"type":"array","items":{"type":"string"}}},"required":["_id","avatarUrl","fullname","isPro","user","type","verifiedOrgNames"],"additionalProperties":false},"grantedBy":{"anyOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"email":{"type":"string"}},"required":["_id","avatarUrl","fullname","isPro","user","type"],"additionalProperties":false},{"type":"object","properties":{},"additionalProperties":false}]},"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"reviewedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","timestamp"],"additionalProperties":false}}}},"description":"List of access requests for the gated repository","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"path","required":true,"schema":{"type":"string","enum":["pending","accepted","rejected","reset"]}},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":10,"maximum":1000},"required":false},{"name":"after","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"before","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"q","in":"query","schema":{"description":"Search requests by requester username, fullname, email, email domain or verified organization","type":"string","maxLength":250},"required":false}]}},"/api/models/{namespace}/{repo}/user-access-request/handle":{"post":{"description":"Handle a user's access request to a gated repository","summary":"Handle access request","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"description":"Either userId or user must be provided","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"description":"Either userId or user must be provided","type":"string"},"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"rejectionReason":{"type":"string","maxLength":200},"resetReason":{"type":"string","maxLength":200}},"required":["status"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/user-access-request/handle":{"post":{"description":"Handle a user's access request to a gated repository","summary":"Handle access request","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"description":"Either userId or user must be provided","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"description":"Either userId or user must be provided","type":"string"},"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"rejectionReason":{"type":"string","maxLength":200},"resetReason":{"type":"string","maxLength":200}},"required":["status"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/user-access-request/batch":{"post":{"description":"Accept, reject, reset or set back to pending up to 100 access requests for a single gated repository in one call. The same `status` (and optional `rejectionReason` or `resetReason`) is applied to every request in the list.","summary":"Batch access requests","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"rejectionReason":{"type":"string","maxLength":200},"resetReason":{"type":"string","maxLength":200},"requests":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"userId":{"description":"Either userId or user must be provided","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"description":"Either userId or user must be provided","type":"string"}}}}},"required":["status","requests"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"user":{"type":"string"},"ok":{"type":"boolean"},"error":{"type":"string","enum":["user_not_found","request_not_found"]}},"required":["ok"],"additionalProperties":false}}}},"description":"Per-request outcomes, in the same order as the input requests array."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/user-access-request/batch":{"post":{"description":"Accept, reject, reset or set back to pending up to 100 access requests for a single gated repository in one call. The same `status` (and optional `rejectionReason` or `resetReason`) is applied to every request in the list.","summary":"Batch access requests","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"rejectionReason":{"type":"string","maxLength":200},"resetReason":{"type":"string","maxLength":200},"requests":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"userId":{"description":"Either userId or user must be provided","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"description":"Either userId or user must be provided","type":"string"}}}}},"required":["status","requests"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"user":{"type":"string"},"ok":{"type":"boolean"},"error":{"type":"string","enum":["user_not_found","request_not_found"]}},"required":["ok"],"additionalProperties":false}}}},"description":"Per-request outcomes, in the same order as the input requests array."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/user-access-request/grant":{"post":{"description":"Grant access to a user for a gated repository","summary":"Grant access","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"type":"string"}},"description":"The user to grant access to either by userId or user"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/user-access-request/grant":{"post":{"description":"Grant access to a user for a gated repository","summary":"Grant access","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"type":"string"}},"description":"The user to grant access to either by userId or user"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/volumes":{"put":{"summary":"Set Space volumes","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"volumes":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}}},"required":["volumes"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete Space volumes","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/hardware":{"post":{"summary":"Update hardware flavor","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"sleepTimeSeconds":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"number","const":-1}]}},"required":["flavor"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/sleeptime":{"post":{"summary":"Set sleep time","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"seconds":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"number","const":-1}]}},"required":["seconds"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/logs/{logType}":{"get":{"description":"Get logs for a specific Space in a streaming fashion, with SSE protocol","summary":"Stream logs","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"logType","in":"path","required":true,"schema":{"type":"string","enum":["build","run"]}},{"name":"tail","in":"query","schema":{"description":"Maximum number of lines to return from the logs.","type":"integer","minimum":0,"maximum":9007199254740991},"required":false}]}},"/api/spaces/{namespace}/{repo}/events":{"get":{"description":"Get status updates for a specific Space in a streaming fashion, with SSE protocol","summary":"Stream events","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_uuid","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/metrics":{"get":{"description":"Get live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage","summary":"Stream metrics","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/dev-mode":{"post":{"summary":"Toggle dev mode","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/custom-domain":{"post":{"summary":"Set custom domain","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"domain":{"type":"string","pattern":"^([a-z0-9]+(-[a-z0-9_]+)*\\.)+[a-z]{2,}$"}},"required":["domain"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/semantic-search":{"get":{"summary":"Semantic search","tags":["spaces"],"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":250},"required":false},{"name":"category","in":"query","schema":{"type":"string","enum":["image-generation","video-generation","text-generation","language-translation","speech-synthesis","voice-cloning","face-recognition","object-detection","pose-estimation","text-analysis","sentiment-analysis","question-answering","code-generation","data-visualization","3d-modeling","image-editing","background-removal","image-upscaling","ocr","document-analysis","visual-qa","image-captioning","chatbots","text-summarization","music-generation","medical-imaging","financial-analysis","game-ai","model-benchmarking","fine-tuning-tools","dataset-creation","anomaly-detection","recommendation-systems","character-animation","style-transfer","agent-environment","image","other"]},"required":false},{"name":"includeNonRunning","in":"query","schema":{"type":"boolean"},"required":false},{"name":"sdk","in":"query","schema":{"type":"array","items":{"type":"string","enum":["gradio","docker","static","streamlit"]}},"required":false},{"name":"filter","in":"query","schema":{"type":"array","items":{"type":"string"}},"required":false},{"name":"agents","in":"query","schema":{"type":"boolean"},"required":false}]}},"/api/spaces/featured":{"get":{"summary":"Featured spaces","tags":["spaces"],"parameters":[{"name":"date","in":"query","schema":{"type":"string"},"required":false}]}},"/api/daily_papers":{"get":{"summary":"Get Daily Papers","tags":["papers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"paper":{"type":"object","properties":{"id":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"statusLastChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"user":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"hidden":{"type":"boolean"}},"required":["_id","name","hidden"],"additionalProperties":false,"description":"Paper author information"}},"mediaUrls":{"type":"array","items":{"type":"string"}},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"submittedOnDailyAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"title":{"type":"string"},"submittedOnDailyBy":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"summary":{"type":"string"},"upvotes":{"type":"number"},"withdrawnAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"discussionId":{"type":"string"},"projectPage":{"type":"string"},"githubRepo":{"type":"string"},"ai_summary":{"type":"string"},"ai_keywords":{"type":"array","items":{"type":"string"}},"ai_summary_model":{"type":"string"},"githubStars":{"type":"number"}},"required":["id","authors","publishedAt","title","summary","upvotes","discussionId"],"additionalProperties":false,"description":"Paper data with metadata"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"title":{"type":"string"},"summary":{"type":"string"},"mediaUrls":{"type":"array","items":{"type":"string"}},"thumbnail":{"type":"string"},"numComments":{"type":"number"},"submittedBy":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"isAuthorParticipating":{"type":"boolean"}},"required":["paper","publishedAt","title","summary","thumbnail","numComments","submittedBy","isAuthorParticipating"],"additionalProperties":false,"description":"Daily paper data for API responses"}}}},"description":"List of daily papers"}},"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":100},"required":false},{"name":"date","in":"query","schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"required":false},{"name":"week","in":"query","schema":{"type":"string","pattern":"^\\d{4}-W(0[1-9]|[1-4][0-9]|5[0-2])$"},"required":false},{"name":"month","in":"query","schema":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"},"required":false},{"name":"submitter","in":"query","schema":{"type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"publishedAt","type":"string","enum":["publishedAt","trending"]},"required":false}]}},"/api/papers":{"get":{"description":"List arXiv papers sorted by published date","summary":"List papers","tags":["papers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"statusLastChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"user":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"hidden":{"type":"boolean"}},"required":["_id","name","hidden"],"additionalProperties":false,"description":"Paper author information"}},"summary":{"type":"string"},"projectPage":{"type":"string"},"githubRepo":{"type":"string"},"ai_summary":{"type":"string"},"organization":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatar":{"type":"string"}},"required":["_id","name"],"additionalProperties":false}},"required":["id","title","upvotes","publishedAt","authors","summary"],"additionalProperties":false}}}},"description":"List of papers"}},"parameters":[{"name":"cursor","in":"query","schema":{"description":"Pagination cursor","type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":100},"required":false}]}},"/api/papers/search":{"get":{"description":"Perform a hybrid semantic / full-text-search on papers","summary":"Search papers","tags":["papers"],"parameters":[{"name":"q","in":"query","schema":{"default":"","type":"string","maxLength":250},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":120},"required":false}]}},"/api/papers/index":{"post":{"description":"Index a paper from arXiv by its ID. If the paper is already indexed, only its authors can re-index it.","summary":"Index a paper","tags":["papers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"arxivId":{"description":"The arXiv ID of the paper to index (e.g. 2301.00001)","type":"string","pattern":"^\\d{4}\\.\\d{4,5}$"}},"required":["arxivId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"Empty object on success"}}}},"/api/papers/{paperId}":{"get":{"summary":"Get a paper","tags":["papers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"statusLastChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"user":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"hidden":{"type":"boolean"}},"required":["_id","name","hidden"],"additionalProperties":false,"description":"Paper author information"}},"mediaUrls":{"type":"array","items":{"type":"string"}},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"submittedOnDailyAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"title":{"type":"string"},"submittedOnDailyBy":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"summary":{"type":"string"},"upvotes":{"type":"number"},"withdrawnAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"discussionId":{"type":"string"},"projectPage":{"type":"string"},"githubRepo":{"type":"string"},"ai_summary":{"type":"string"},"ai_keywords":{"type":"array","items":{"type":"string"}},"ai_summary_model":{"type":"string"},"githubStars":{"type":"number"},"submissionDeadline":{"description":"only available when field contains 'submissionDeadline'","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"linkedModels":{"type":"array","items":{"type":"object","properties":{"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true}},"required":["author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated"],"additionalProperties":false}},"numTotalModels":{"type":"number"},"linkedDatasets":{"type":"array","items":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"}},"required":["author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified"],"additionalProperties":false}},"numTotalDatasets":{"type":"number"},"linkedSpaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"emoji":{"type":"string"},"running":{"type":"boolean"},"shortDescription":{"type":"string"},"featured":{"type":"boolean"}},"required":["id","emoji","running","featured"],"additionalProperties":false}},"numTotalSpaces":{"type":"number"},"comments":{"description":"only available when field contains 'comments'","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}}},"required":["id","authors","publishedAt","title","summary","upvotes","discussionId","linkedModels","numTotalModels","linkedDatasets","numTotalDatasets","linkedSpaces","numTotalSpaces"],"additionalProperties":false}}},"description":"Paper data"}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"field","in":"query","schema":{"anyOf":[{"type":"string","enum":["submissionDeadline","comments"]},{"type":"array","items":{"type":"string","enum":["submissionDeadline","comments"]}}]},"required":false}]}},"/api/papers/{paperId}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/comment/{commentId}/reply":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/links":{"post":{"description":"Update the project page, GitHub repository, or submitting organization for a paper. Requires the requester to be the paper author, the Daily Papers submitter, or a papers admin.","summary":"Update paper links","tags":["papers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectPage":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"githubRepo":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"organizationId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"Paper links updated"}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}":{"delete":{"summary":"Delete a discussion","tags":["discussions"],"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment/{commentId}/reply":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}-{id}":{"get":{"summary":"Get a collection","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The collection data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]},"patch":{"summary":"Update a collection","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"position":{"type":"integer","minimum":0,"maximum":9007199254740991},"private":{"type":"boolean"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":150},"gating":{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"]},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"]}},"required":["mode","notifications"]}]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}},"required":["success","data"],"additionalProperties":false}}},"description":"The updated collection"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a collection","tags":["collections"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}":{"get":{"summary":"Get a collection","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The collection data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"patch":{"summary":"Update a collection","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"position":{"type":"integer","minimum":0,"maximum":9007199254740991},"private":{"type":"boolean"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":150},"gating":{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"]},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"]}},"required":["mode","notifications"]}]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}},"required":["success","data"],"additionalProperties":false}}},"description":"The updated collection"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a collection","tags":["collections"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}-{id}/items":{"post":{"description":"Add an item to a collection","summary":"Add item","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"item":{"type":"object","properties":{"type":{"type":"string","enum":["paper","collection","space","model","dataset","bucket"]},"id":{"type":"string"}},"required":["type","id"]},"note":{"type":"string","maxLength":500}},"required":["item"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The updated collection"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}/items":{"post":{"description":"Add an item to a collection","summary":"Add item","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"item":{"type":"object","properties":{"type":{"type":"string","enum":["paper","collection","space","model","dataset","bucket"]},"id":{"type":"string"}},"required":["type","id"]},"note":{"type":"string","maxLength":500}},"required":["item"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The updated collection"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}-{id}/items/batch":{"post":{"description":"Batch update items in a collection","summary":"Batch update items","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"action":{"type":"string","enum":["update"]},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"data":{"type":"object","properties":{"gallery":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string","maxLength":500},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}}}},"required":["action","_id","data"]}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}/items/batch":{"post":{"description":"Batch update items in a collection","summary":"Batch update items","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"action":{"type":"string","enum":["update"]},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"data":{"type":"object","properties":{"gallery":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string","maxLength":500},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}}}},"required":["action","_id","data"]}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}-{id}/items/{itemId}":{"patch":{"description":"Update an item in a collection","summary":"Update item","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gallery":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string","maxLength":500},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete an item from a collection","summary":"Delete item","tags":["collections"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}/items/{slug}":{"patch":{"description":"Update an item in a collection","summary":"Update item","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gallery":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string","maxLength":500},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete an item from a collection","summary":"Delete item","tags":["collections"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections":{"post":{"summary":"Create a collection","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":150},"namespace":{"type":"string"},"item":{"type":"object","properties":{"type":{"type":"string","enum":["paper","collection","space","model","dataset","bucket"]},"id":{"type":"string"}},"required":["type","id"]},"private":{"description":"If not provided, the collection will be public. This field will respect the organization's visibility setting.","type":"boolean"},"resourceGroupId":{"description":"Assign the collection to a resource group of the owning organization. Only valid for organization-owned collections.","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["title","namespace"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The created collection"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"slug":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"The collection already exists"}}},"get":{"summary":"Get collections","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","theme","private","upvotes","isUpvotedByUser","items"],"additionalProperties":false}},{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"private":{"type":"boolean"},"upvotes":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"name":{"type":"string"}},"required":["title","private","upvotes","name"],"additionalProperties":false}}]}}},"description":"The collection data","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"item","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^spaces|models|datasets|papers\\/.*"}},{"type":"string","pattern":"^spaces|models|datasets|papers\\/.*"}]},"required":false},{"name":"owner","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}]},"required":false},{"name":"q","in":"query","schema":{"type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"trending","type":"string","enum":["upvotes","lastModified","trending"]},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"expand","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"default":10,"type":"number","minimum":1,"maximum":10000},"required":false}]}},"/api/collections/{namespace}/{slug}-{id}/resource-group":{"get":{"summary":"Collection resource group","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group the collection currently belongs to"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"description":"Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.","summary":"Collection resource group","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to assign the collection to. If null, the collection is removed from any resource group."}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["id","slug","title","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the collection after the assignment"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}/resource-group":{"get":{"summary":"Collection resource group","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group the collection currently belongs to"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"description":"Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.","summary":"Collection resource group","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to assign the collection to. If null, the collection is removed from any resource group."}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["id","slug","title","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the collection after the assignment"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}":{"post":{"summary":"Create bucket","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"description":"Bucket visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Bucket visibility. Cannot be specified along with private.","type":"string","enum":["private","public"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"cdn":{"description":"CDN pre-warming regions","type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"]}},"region":{"description":"The region where the bucket is hosted.","type":"string","enum":["us","eu"]},"description":{"description":"Free-text description.","type":"string","maxLength":500}},"description":"Bucket creation options"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["url","name","id"],"additionalProperties":false}}},"description":"Bucket created, url is given"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"url":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["error","url","id"],"additionalProperties":false}}},"description":"Bucket already exists, url is given"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete bucket","tags":["buckets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get bucket details","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions"],"additionalProperties":false}}},"description":"Bucket overview information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}":{"post":{"summary":"Create bucket","tags":["containers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"description":"Bucket visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Bucket visibility. Cannot be specified along with private.","type":"string","enum":["private","public"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"cdn":{"description":"CDN pre-warming regions","type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"]}},"region":{"description":"The region where the bucket is hosted.","type":"string","enum":["us","eu"]},"description":{"description":"Free-text description.","type":"string","maxLength":500}},"description":"Bucket creation options"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["url","name","id"],"additionalProperties":false}}},"description":"Bucket created, url is given"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"url":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["error","url","id"],"additionalProperties":false}}},"description":"Bucket already exists, url is given"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete bucket","tags":["containers"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get bucket details","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions"],"additionalProperties":false}}},"description":"Bucket overview information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/settings":{"put":{"summary":"Update bucket settings","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":["boolean","string"]},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"]}}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}}},"additionalProperties":false}}},"description":"The updated bucket settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/settings":{"put":{"summary":"Update bucket settings","tags":["containers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":["boolean","string"]},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"]}}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}}},"additionalProperties":false}}},"description":"The updated bucket settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}":{"get":{"summary":"List namespace buckets","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions"],"additionalProperties":false,"description":"Bucket overview information"}}}},"description":"List of buckets"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","schema":{"type":"string"},"required":false}]}},"/api/containers/{namespace}":{"get":{"summary":"List namespace buckets","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions"],"additionalProperties":false,"description":"Bucket overview information"}}}},"description":"List of buckets"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","schema":{"type":"string"},"required":false}]}},"/buckets/{namespace}/{repo}/resolve/{path}":{"get":{"description":"Returns file metadata including size, hash, and links to XET authentication","summary":"Get file metadata","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"},"contentType":{"description":"The content type of the file","type":"string"},"uploadedAt":{"type":"string","description":"ISO 8601 timestamp of when the file was added to the bucket"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size","uploadedAt"],"additionalProperties":false}}},"description":"XET file info returned when the Accept header is set to `application/vnd.xet-fileinfo+json`. Otherwise, a 302 redirect is returned."},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file on the xet bridge (default when no specific Accept header is set)"},"400":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"File path required"},"404":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"Bucket or file not found"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"noContentDisposition","in":"query","schema":{"type":"string"},"required":false},{"name":"download","in":"query","schema":{"type":"string"},"required":false},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/containers/{namespace}/{repo}/resolve/{path}":{"get":{"description":"Returns file metadata including size, hash, and links to XET authentication","summary":"Get file metadata","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"},"contentType":{"description":"The content type of the file","type":"string"},"uploadedAt":{"type":"string","description":"ISO 8601 timestamp of when the file was added to the bucket"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size","uploadedAt"],"additionalProperties":false}}},"description":"XET file info returned when the Accept header is set to `application/vnd.xet-fileinfo+json`. Otherwise, a 302 redirect is returned."},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file on the xet bridge (default when no specific Accept header is set)"},"400":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"File path required"},"404":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"Bucket or file not found"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"noContentDisposition","in":"query","schema":{"type":"string"},"required":false},{"name":"download","in":"query","schema":{"type":"string"},"required":false},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/api/buckets/{namespace}/{repo}/batch":{"post":{"description":"Accepts NDJSON (newline-delimited JSON) where each line is an addFile, copyFile, or deleteFile instruction.\nAll add/copy operations must come before all delete operations.\n\nJSON-lines payload:\n```json\n\t'{\"type\":\"addFile\",\"path\":\"...\",\"xetHash\":\"...\",\"mtime\":...,\"mtimeNanos\":...,\"contentType\":\"...\"}' +\n\t'{\"type\":\"copyFile\",\"path\":\"...\",\"xetHash\":\"...\",\"sourceRepoType\":\"...\",\"sourceRepoId\":\"...\",\"mtime\":...,\"mtimeNanos\":...,\"contentType\":\"...\"}' +\n\t'{\"type\":\"deleteFile\",\"path\":\"...\"}'\n```","summary":"Batch file operations","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all operations succeeded"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of operations attempted"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of successful operations"},"failed":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"File path that failed"},"error":{"type":"string","description":"Error message"}},"required":["path","error"],"additionalProperties":false},"description":"List of failed operations"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Batch operation status"},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all operations succeeded"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of operations attempted"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of successful operations"},"failed":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"File path that failed"},"error":{"type":"string","description":"Error message"}},"required":["path","error"],"additionalProperties":false},"description":"List of failed operations"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Batch operation status"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/batch":{"post":{"description":"Accepts NDJSON (newline-delimited JSON) where each line is an addFile, copyFile, or deleteFile instruction.\nAll add/copy operations must come before all delete operations.\n\nJSON-lines payload:\n```json\n\t'{\"type\":\"addFile\",\"path\":\"...\",\"xetHash\":\"...\",\"mtime\":...,\"mtimeNanos\":...,\"contentType\":\"...\"}' +\n\t'{\"type\":\"copyFile\",\"path\":\"...\",\"xetHash\":\"...\",\"sourceRepoType\":\"...\",\"sourceRepoId\":\"...\",\"mtime\":...,\"mtimeNanos\":...,\"contentType\":\"...\"}' +\n\t'{\"type\":\"deleteFile\",\"path\":\"...\"}'\n```","summary":"Batch file operations","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all operations succeeded"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of operations attempted"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of successful operations"},"failed":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"File path that failed"},"error":{"type":"string","description":"Error message"}},"required":["path","error"],"additionalProperties":false},"description":"List of failed operations"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Batch operation status"},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all operations succeeded"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of operations attempted"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of successful operations"},"failed":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"File path that failed"},"error":{"type":"string","description":"Error message"}},"required":["path","error"],"additionalProperties":false},"description":"List of failed operations"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Batch operation status"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/tree/{path}":{"get":{"summary":"List files","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory"]},"path":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"xetHash":{"description":"Not defined for directories","type":"string"},"mtime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mtimeNanos":{"description":"Sub-millisecond remainder of mtime, in nanoseconds (0\u2013999_999)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"contentType":{"type":"string"}},"required":["type","path","uploadedAt"],"additionalProperties":false}}}},"description":"List of files and directories","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Pagination link header"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"limit","in":"query","schema":{"default":1000,"maximum":5000,"type":"integer","minimum":1},"required":false},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor","type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"recursive","in":"query","schema":{"description":"When false, returns collapsed directory entries instead of listing all files recursively. The number of entries returned can then be less than the limit, but there will always be a pagination link if there are more entries. Note: non-recursive listing hasn't a strong consistency guarantees.","type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"path","description":"Sort order. `path` (default) sorts lexicographically; `uploadedAt` sorts by most recent upload first. In recursive mode `uploadedAt` is only supported at the bucket root (no path prefix). In non-recursive mode, only supported at root or exact folder prefixes.","type":"string","enum":["path","uploadedAt"]},"required":false},{"name":"direction","in":"query","schema":{"description":"Sort direction. Defaults to `asc` for `path` and `desc` for `uploadedAt`.","type":"string","enum":["asc","desc"]},"required":false}]}},"/api/containers/{namespace}/{repo}/tree/{path}":{"get":{"summary":"List files","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory"]},"path":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"xetHash":{"description":"Not defined for directories","type":"string"},"mtime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mtimeNanos":{"description":"Sub-millisecond remainder of mtime, in nanoseconds (0\u2013999_999)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"contentType":{"type":"string"}},"required":["type","path","uploadedAt"],"additionalProperties":false}}}},"description":"List of files and directories","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Pagination link header"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"limit","in":"query","schema":{"default":1000,"maximum":5000,"type":"integer","minimum":1},"required":false},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor","type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"recursive","in":"query","schema":{"description":"When false, returns collapsed directory entries instead of listing all files recursively. The number of entries returned can then be less than the limit, but there will always be a pagination link if there are more entries. Note: non-recursive listing hasn't a strong consistency guarantees.","type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"path","description":"Sort order. `path` (default) sorts lexicographically; `uploadedAt` sorts by most recent upload first. In recursive mode `uploadedAt` is only supported at the bucket root (no path prefix). In non-recursive mode, only supported at root or exact folder prefixes.","type":"string","enum":["path","uploadedAt"]},"required":false},{"name":"direction","in":"query","schema":{"description":"Sort direction. Defaults to `asc` for `path` and `desc` for `uploadedAt`.","type":"string","enum":["asc","desc"]},"required":false}]}},"/api/buckets/{namespace}/{repo}/events":{"get":{"description":"Server-sent events (`Accept: text/event-stream`) of the bucket's file changes, so clients can stop polling `/tree`.\n\nEvents:\n- `ready`: `{\"cursor\"}` \u2014 replay (if any) is done, live changes follow. `cursor` may be absent if the feed has seen no change yet.\n- `changes`: `{\"cursor\", \"changes\": [{\"path\", \"op\": \"add\" | \"update\" | \"delete\", \"size\"?, \"xetHash\"?, \"uploadedAt\"?, \"mtime\"?, \"mtimeNanos\"?}]}` \u2014 a batch of changes coalesced over ~200ms. An `update` only carries the fields that changed (an identical re-upload has just `uploadedAt`); `mtime`/`mtimeNanos` are `null` when a re-upload cleared them. `xetHash` is omitted without content read access.\n- `reset`: `{\"reason\": \"cursor_too_old\"}` \u2014 the requested `cursor`/`since` is older than what the server buffers (about 15 minutes); the stream ends and the client must re-list. A `since` at or after the bucket's `updatedAt` never resets, however old.\n- `reconnect`: `{\"cursor\"}` \u2014 sent after 20 minutes or when the server shuts down (deploys), then the stream ends; reconnect with that cursor. Treat any other end of the stream the same way: reconnect with the last cursor you received.\n\nA `: ping` comment is sent every 30s. Resume with `?cursor=` (exclusive) or `?since=` (inclusive); without either, only live changes are sent.","summary":"Follow changes","tags":["buckets"],"responses":{"503":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"Live follow is not served by this instance, or not caught up yet; retry after `Retry-After` seconds"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Opaque cursor from a previous `ready`/`changes` event; resume after it","type":"string"},"required":false},{"name":"since","in":"query","schema":{"description":"Resume from this instant instead of a cursor (e.g. the bucket's `updatedAt` you last saw)","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]}},"/api/buckets/{namespace}/{repo}/paths-info":{"post":{"summary":"List paths info","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory"]},"path":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"xetHash":{"description":"Not defined for directories","type":"string"},"mtime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mtimeNanos":{"description":"Sub-millisecond remainder of mtime, in nanoseconds (0\u2013999_999)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"contentType":{"type":"string"}},"required":["type","path","uploadedAt"],"additionalProperties":false}}}},"description":"List of found files (missing paths are omitted)"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/paths-info":{"post":{"summary":"List paths info","tags":["containers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory"]},"path":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"xetHash":{"description":"Not defined for directories","type":"string"},"mtime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mtimeNanos":{"description":"Sub-millisecond remainder of mtime, in nanoseconds (0\u2013999_999)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"contentType":{"type":"string"}},"required":["type","path","uploadedAt"],"additionalProperties":false}}}},"description":"List of found files (missing paths are omitted)"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/hardware":{"get":{"description":"Get available job hardware","summary":"Get job hardware","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"prettyName":{"type":"string"},"cpu":{"type":"string"},"ram":{"type":"string"},"ephemeralStorage":{"type":"string"},"accelerator":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["gpu","neuron"]},"model":{"type":"string"},"quantity":{"type":"string"},"vram":{"type":"string"},"manufacturer":{"type":"string","enum":["Nvidia","AWS"]}},"required":["type","model","quantity","vram","manufacturer"],"additionalProperties":false},{"type":"null"}]},"unitCostMicroUSD":{"type":"number"},"unitCostUSD":{"type":"number"},"unitLabel":{"type":"string"}},"required":["name","prettyName","cpu","ram","ephemeralStorage","accelerator","unitCostMicroUSD","unitCostUSD","unitLabel"],"additionalProperties":false}}}},"description":"Available job hardware (public only)"}}}},"/api/jobs/{namespace}":{"get":{"description":"List of jobs for an entity","summary":"List jobs","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}}},"description":"The list of jobs","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"label","in":"query","schema":{"description":"Filter jobs by label. Format: 'key=value' (e.g., 'environment=production'). Repeat the parameter to filter by several labels.","anyOf":[{"type":"string","pattern":"^[a-zA-Z0-9_-]+=[a-zA-Z0-9_-]*$","description":"Filter jobs by label. Format: 'key=value' (e.g., 'environment=production')."},{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+=[a-zA-Z0-9_-]*$","description":"Filter jobs by label. Format: 'key=value' (e.g., 'environment=production')."}}]},"required":false},{"name":"stage","in":"query","schema":{"description":"Filter jobs by status stage. Repeat the parameter to filter by several stages.","anyOf":[{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},{"type":"array","items":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]}}]},"required":false},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor obtained from the `rel=\"next\"` link of a previous response's `Link` header.","type":"string","maxLength":2048},"required":false}]},"post":{"summary":"Start a job","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"dockerImage":{"type":"string"},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","spaceId"]},{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","dockerImage"]}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job after it has been started"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/count":{"get":{"description":"Count the number of jobs for an entity with optional status stage filter","summary":"Count jobs","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"count":{"type":"number"}},"required":["count"],"additionalProperties":false}}},"description":"The count of jobs matching the filter"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"stage","in":"query","schema":{"anyOf":[{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},{"type":"array","items":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]}}]},"required":false}]}},"/api/jobs/{namespace}/{jobId}":{"get":{"summary":"Get a job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/logs":{"get":{"description":"Stream the logs of a job, using SSE","summary":"Stream job logs","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tail","in":"query","schema":{"description":"Maximum number of lines to return from the logs.","type":"integer","minimum":0,"maximum":9007199254740991},"required":false}]}},"/api/jobs/{namespace}/{jobId}/metrics":{"get":{"description":"Stream the metrics of a job, using SSE","summary":"Stream job metrics","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/events":{"get":{"description":"Stream the events of a job, using SSE","summary":"Stream job events","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/cancel":{"post":{"summary":"Cancel a job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job after it has been canceled"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/duplicate":{"post":{"description":"Duplicate an existing job, re-using its spec","summary":"Duplicate a job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The new job after it has been duplicated"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/labels":{"put":{"description":"Replace user-provided labels on a job","summary":"Update job labels","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"The new labels to set on the job. Replaces all existing labels."}},"required":["labels"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job after labels have been updated"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/expose":{"put":{"description":"Replace the exposed ports of a running job, applied live (no re-run). Ports listed in `portsPublic` are reachable without any authentication.","summary":"Job exposed ports","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job after its exposed ports have been updated"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}":{"post":{"summary":"Create scheduled job","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"jobSpec":{"oneOf":[{"type":"object","properties":{"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"dockerImage":{"type":"string"},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","spaceId"]},{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","dockerImage"]}]},"schedule":{"type":"string","pattern":"^(?:(@(annually|yearly|monthly|weekly|daily|hourly))|((((\\d+,)+\\d+|((\\*|\\d+)(\\/|-)\\d+)|\\d+|\\*) ?){5,7}))$","description":"CRON schedule expression (e.g., '0 9 * * 1' for 9 AM every Monday)."},"suspend":{"default":false,"description":"Whether the scheduled job is suspended (paused)","type":"boolean"},"concurrency":{"default":false,"description":"Whether multiple instances of this job can run concurrently","type":"boolean"}},"required":["jobSpec","schedule"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}},"description":"The scheduled job data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"description":"List scheduled jobs for an entity","summary":"List scheduled jobs","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}}},"description":"Array of scheduled job data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"label","in":"query","schema":{"description":"Filter scheduled jobs by label. Format: 'key=value' (e.g., 'environment=production').","type":"string","pattern":"^[a-zA-Z0-9_-]+=[a-zA-Z0-9_-]*$"},"required":false}]}},"/api/scheduled-jobs/{namespace}/{jobId}":{"get":{"summary":"Get scheduled job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}},"description":"The scheduled job data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete scheduled job","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/suspend":{"post":{"summary":"Suspend scheduled job","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/resume":{"post":{"summary":"Resume scheduled job","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/run":{"post":{"description":"Trigger a scheduled job run. Trigger a scheduled job to run immediately. Throws an error if an instance is already running and job spec does not allow concurrent runs.","summary":"Run job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job that was triggered"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string","const":"Another job is already running at the same time, set `concurrency` to allow multiple instances of scheduled jobs to run concurrently"}},"required":["error"],"additionalProperties":false}}},"description":"Another instance is already running, job was not triggered"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/schedule":{"post":{"summary":"Update job schedule","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schedule":{"type":"string","pattern":"^(?:(@(annually|yearly|monthly|weekly|daily|hourly))|((((\\d+,)+\\d+|((\\*|\\d+)(\\/|-)\\d+)|\\d+|\\*) ?){5,7}))$","description":"CRON schedule expression (e.g., '0 9 * * 1' for 9 AM every Monday)."}},"required":["schedule"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}},"description":"The updated scheduled job"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/labels":{"put":{"description":"Replace user-provided labels on a scheduled job","summary":"Scheduled job labels","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"The new labels to set on the job. Replaces all existing labels."}},"required":["labels"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}},"description":"The scheduled job after labels have been updated"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/partners/{provider}/models":{"get":{"description":"List the model mappings of an inference provider.","summary":"List provider mappings","tags":["inference-providers"],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]}},{"name":"status","in":"query","schema":{"type":"string","enum":["live","staging","error"]},"required":false}]},"post":{"description":"Register a model mapping for your inference provider. Requires a write token of the provider organization.","summary":"Create provider mapping","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"type":{"default":"single-model","type":"string","const":"single-model"},"hfModel":{"type":"string","maxLength":96},"providerModel":{"type":"string","maxLength":128},"status":{"default":"staging","type":"string","enum":["live","staging","error"]},"task":{"type":"string","enum":["conversational","text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video"]}},"required":["hfModel","providerModel","task"]},{"type":"object","properties":{"type":{"type":"string","const":"tag-filter"},"providerModel":{"type":"string","maxLength":128},"status":{"default":"staging","type":"string","enum":["live","staging","error"]},"task":{"type":"string","enum":["conversational","text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video"]},"tags":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","maxLength":128}},"adapterType":{"type":"string","const":"lora"}},"required":["type","providerModel","task","tags","adapterType"]}]}}}},"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]}}]}},"/api/partners/{provider}/models/{mappingId}/status":{"put":{"description":"Update the status of one of your inference provider's model mappings.","summary":"Update mapping status","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["live","staging","error"]}},"required":["status"]}}}},"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]}},{"name":"mappingId","in":"path","required":true,"schema":{"type":"string"}}]}}}} \ No newline at end of file +{"openapi":"3.1.0","info":{"title":"Hub API Endpoints","version":"0.0.1","description":"We have open endpoints that you can use to retrieve information from the Hub as well as perform certain actions such as creating model, dataset or Space repos. We offer a wrapper Python client, [`huggingface_hub`](https://github.com/huggingface/huggingface_hub), and a JS client, [`huggingface.js`](https://github.com/huggingface/huggingface.js), that allow easy access to these endpoints. We also provide [webhooks](https://huggingface.co/docs/hub/webhooks) to receive real-time incremental info about repos. Enjoy!\n\nThe base URL for those endpoints below is `https://huggingface.co`. For example, to construct the `/api/models` call below, one can call the URL [https://huggingface.co/api/models](https://huggingface.co/api/models).\n\nIf you're an Agent, you might prefer the [markdown version OpenAPI spec](https://huggingface.co/.well-known/openapi.md).\n"},"servers":[{"url":"https://huggingface.co","description":"Hub"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"RepoId":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","examples":["deepseek-ai/DeepSeek-R1","black-forest-labs/FLUX.1-dev"]},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]}},"required":["name","type"],"additionalProperties":false},"Job":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"owner":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"null"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false}},"required":["id","createdAt","owner","environment","flavor","status","createdBy"],"additionalProperties":false}}},"security":[{"bearerAuth":[]}],"tags":[{"name":"auth","x-displayName":"Auth","description":"The following endpoints get information about your currently used user based on the passed token."},{"name":"models","x-displayName":"Models","description":"Get information from all models on the Hub."},{"name":"kernels","x-displayName":"Kernels","description":"Get information from all kernels on the Hub."},{"name":"datasets","x-displayName":"Datasets","description":"Get information from all datasets on the Hub."},{"name":"sql-console","x-displayName":"SQL Console","description":"Get information from SQL Console embeds from a dataset."},{"name":"discussions","x-displayName":"Discussions","description":"The following endpoints manage discussions."},{"name":"spaces","x-displayName":"Spaces","description":"Get information from all Spaces on the Hub."},{"name":"repo-search","x-displayName":"Repository Search","description":"The following endpoints help get information about models, datasets, and Spaces stored on the Hub."},{"name":"repos","x-displayName":"Repositories","description":"The following endpoints manage repository settings like creating and deleting a repository."},{"name":"users","x-displayName":"Users","description":"User accounts are the base authoring entity on the Hub"},{"name":"orgs","x-displayName":"Organizations","description":"The following endpoints let you interact with Hub Organizations and their members."},{"name":"service-accounts","x-displayName":"Service Accounts","description":"The following endpoints manage service accounts and their tokens."},{"name":"jobs","x-displayName":"Jobs","description":"The following endpoints manage jobs."},{"name":"resource-groups","x-displayName":"Resource groups","description":"The following endpoints manage resource groups. Resource groups are a Team or Enterprise feature."},{"name":"papers","x-displayName":"Paper pages","description":"The following endpoint gets information about papers."},{"name":"collections","x-displayName":"Collections","description":"Use Collections to group repositories from the Hub (Models, Datasets, Spaces and Papers) on a dedicated page.\n\nYou can learn more about it in the Collections [guide](https://huggingface.co/docs/hub/collections). Collections can also be managed using the Python client (see [guide](https://huggingface.co/docs/huggingface_hub/main/en/guides/collections))."},{"name":"buckets","x-displayName":"Buckets","description":"Git-free storage buckets for files, powered by Xet. Buckets provide simple file storage without git versioning."},{"name":"containers","x-displayName":"Containers","description":"Container image repositories, usable with the Hugging Face container registry (`docker push` / `docker pull`). Backed by bucket storage: the file endpoints mirror the bucket ones. Also includes the registry token endpoint used by `docker login`."},{"name":"notifications","x-displayName":"Notifications","description":"The following endpoints fetch Hub notifications."},{"name":"inference-providers","x-displayName":"Inference Providers","description":"Run inference from one of our inference providers."},{"name":"inference-endpoints","x-displayName":"Inference Endpoints","description":"Manage inference endpoints."},{"name":"mcp","x-displayName":"MCP","description":"The following endpoints are for use with the MCP server."},{"name":"oauth","x-displayName":"OAuth","description":"The following endpoints are for use with OAuth."},{"name":"docs","x-displayName":"Documentation","description":"The following endpoints are for interacting with the Hub's documentation."},{"name":"webhooks","x-displayName":"Webhooks","description":"The following endpoints are for use with webhooks."},{"name":"scim","x-displayName":"SCIM","description":"Use the SCIM API to control and manage your hub Enterprise organization manage members' access.\n## Authentication\n\n- Must be organization owner\n- Use Access token with write permission on organization\n- Organization must be Enterprise Plus\n\n## Key Attribute Matching\n\n- Microsoft Entra ID (Azure AD)\n\t* SAML: `http://schemas.microsoft.com/identity/claims/objectidentifier`\n\t* SCIM: `externalId`\n- Other Identity Providers\n\t* SAML: `NameID` or `unique identifier`\n\t* SCIM: `externalId`\n\n## Supported SCIM User Attributes\n\n| Attribute | Description |\n|---|---|\n| `userName` | Username for the user |\n| `name.givenName` | First name |\n| `name.familyName` | Last name |\n| `emails` | Array of user emails; we don't support email types |\n| `externalId` | IDP provider's unique identifier |\n| `id` | Hugging Face SCIM endpoint identifier |\n| `active` | Boolean for provisioning status |\n\n"},{"name":"agents","x-displayName":"Agents","description":"The following endpoints provide information about AI agents using the Hub."}],"paths":{"/api/notifications":{"get":{"description":"List notifications for the user","summary":"List notifications","tags":["notifications"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"notifications":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"paper"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read":{"type":"boolean"},"discussionEventId":{"type":"string"},"paper":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"title":{"type":"string"}},"required":["_id","title"],"additionalProperties":false},"paperDiscussion":{"type":"object","properties":{"id":{"type":"string"},"participating":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatar":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatar","user"],"additionalProperties":false}},"paperId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["id","participating","paperId"],"additionalProperties":false}},"required":["type","updatedAt","read","paper","paperDiscussion"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"repo"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read":{"type":"boolean"},"discussionEventId":{"type":"string"},"repo":{"$ref":"#/components/schemas/RepoId"},"discussion":{"type":"object","properties":{"num":{"type":"number"},"title":{"type":"string"},"status":{"type":"string","enum":["draft","open","closed","merged"]},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"isPullRequest":{"type":"boolean"},"participating":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatar":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatar","user"],"additionalProperties":false}}},"required":["num","title","status","id","isPullRequest","participating"],"additionalProperties":false}},"required":["type","updatedAt","read","repo","discussion"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"post"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read":{"type":"boolean"},"discussionEventId":{"type":"string"},"post":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"authorName":{"type":"string"},"title":{"type":"string"},"participating":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatar":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatar","user"],"additionalProperties":false}}},"required":["id","slug","authorName","title","participating"],"additionalProperties":false}},"required":["type","updatedAt","read","post"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"community_blog"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"read":{"type":"boolean"},"discussionEventId":{"type":"string"},"blog":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"canonical":{"type":"boolean"},"authorName":{"type":"string"},"participating":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatar":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatar","user"],"additionalProperties":false}}},"required":["id","slug","title","canonical","participating"],"additionalProperties":false}},"required":["type","updatedAt","read","blog"],"additionalProperties":false}]}},"count":{"type":"object","properties":{"view":{"type":"number"},"unread":{"type":"number"},"all":{"type":"number"}},"required":["view","unread","all"],"additionalProperties":false},"start":{"type":"number"}},"required":["notifications","count","start"],"additionalProperties":false}}},"description":"The notifications for the user"}},"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"readStatus","in":"query","schema":{"default":"all","type":"string","enum":["all","unread"]},"required":false},{"name":"repoType","in":"query","schema":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"postAuthor","in":"query","schema":{"type":"string"},"required":false},{"name":"paperId","in":"query","schema":{"type":"string"},"required":false},{"name":"articleId","in":"query","schema":{"type":"string"},"required":false},{"name":"mention","in":"query","schema":{"default":"all","type":"string","enum":["all","participating","mentions"]},"required":false},{"name":"lastUpdate","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]},"delete":{"description":"Delete notifications, either by specifying discussionIds or by applying to all notifications with search parameters","summary":"Delete notifications","tags":["notifications"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"discussionIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}}}}}}},"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"readStatus","in":"query","schema":{"default":"all","type":"string","enum":["all","unread"]},"required":false},{"name":"repoType","in":"query","schema":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"postAuthor","in":"query","schema":{"type":"string"},"required":false},{"name":"paperId","in":"query","schema":{"type":"string"},"required":false},{"name":"articleId","in":"query","schema":{"type":"string"},"required":false},{"name":"mention","in":"query","schema":{"default":"all","type":"string","enum":["all","participating","mentions"]},"required":false},{"name":"lastUpdate","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"applyToAll","in":"query","schema":{"type":"string"},"required":false}]}},"/api/notifications/mark-as-read":{"post":{"description":"Mark discussions as read or unread. If `applyToAll` is true, all notifications for the user matching the search parameters will be marked as read or unread.","summary":"Change read status","tags":["notifications"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"discussionIds":{"default":[],"type":"array","items":{"type":"string"}},"read":{"default":true,"type":"boolean"}}}}}},"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"readStatus","in":"query","schema":{"default":"all","type":"string","enum":["all","unread"]},"required":false},{"name":"repoType","in":"query","schema":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"postAuthor","in":"query","schema":{"type":"string"},"required":false},{"name":"paperId","in":"query","schema":{"type":"string"},"required":false},{"name":"articleId","in":"query","schema":{"type":"string"},"required":false},{"name":"mention","in":"query","schema":{"default":"all","type":"string","enum":["all","participating","mentions"]},"required":false},{"name":"lastUpdate","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"applyToAll","in":"query","schema":{"type":"string"},"required":false}]}},"/api/credentials/revoke":{"post":{"description":"Publicly invalidate leaked Hugging Face access tokens. Possession of the raw token value is the only proof required: no authentication is needed, and no rights over the owning account or org are necessary. Each raw token is fully invalidated, the owning user is notified by email. Always returns 202, whether or not any of the provided tokens existed, so the response cannot be used to probe token validity.","summary":"Revoke leaked tokens","tags":["tokens"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"credentials":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"description":"Raw access token values to invalidate, at most 1000.","examples":[["hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"]]}},"required":["credentials"]}}}},"security":[]}},"/api/settings/mcp":{"get":{"description":"Get the MCP tools for the current user","summary":"Get MCP tools","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"builtInTools":{"type":"array","items":{"type":"string"}},"spaceTools":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"emoji":{"type":"string"},"subdomain":{"type":"string"}},"required":["_id","name","emoji","subdomain"],"additionalProperties":false}}},"required":["builtInTools","spaceTools"],"additionalProperties":false}}},"description":"The MCP tools for the current user"}}}},"/api/settings/notifications":{"patch":{"description":"Update notification settings for the user","summary":"Update notification settings","tags":["notifications"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"notifications":{"type":"object","properties":{"announcements":{"type":"boolean"},"arxiv_paper_activity":{"type":"boolean"},"content_access_policy_request":{"type":"boolean"},"daily_papers_digest":{"type":"boolean"},"discussions_participating":{"type":"boolean"},"discussions_watched":{"type":"boolean"},"gated_user_access_request":{"type":"boolean"},"inference_endpoint_status":{"type":"boolean"},"job_status":{"type":"boolean"},"launch_autonlp":{"type":"boolean"},"launch_spaces":{"type":"boolean"},"launch_prepaid_credits":{"type":"boolean"},"launch_training_cluster":{"type":"boolean"},"org_request":{"type":"boolean"},"org_suggestions":{"type":"boolean"},"org_verified_suggestions":{"type":"boolean"},"org_suggestions_to_create":{"type":"boolean"},"posts_participating":{"type":"boolean"},"user_follows":{"type":"boolean"},"secret_detected":{"type":"boolean"},"web_discussions_participating":{"type":"boolean"},"web_discussions_watched":{"type":"boolean"},"web_posts_participating":{"type":"boolean"},"product_updates_after":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"api_inference_sunset":{"type":"boolean"},"locked_out":{"type":"boolean"},"repo_release":{"type":"boolean"}}},"prepaidAmount":{"description":"To be provided when enabling launch_prepaid_credits","type":"string","maxLength":24}},"required":["notifications"]}}}}}},"/api/settings/watch":{"patch":{"description":"Update watch settings for the user. Get notified when discussions happen on your watched items.","summary":"Update watch settings","tags":["notifications"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"delete":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["org","user","repo"]}},"required":["id","type"]}},"add":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["org","user","repo"]}},"required":["id","type"]}}}}}}}}},"/api/settings/webhooks":{"get":{"summary":"List webhooks","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false}}}},"description":"Webhooks"}}},"post":{"summary":"Create webhook","tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"watched":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"name":{"type":"string"}},"required":["type","name"]}},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"dockerImage":{"type":"string"},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","spaceId"]},{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","dockerImage"]}]},"jobSourceId":{"type":"string"},"secrets":{"description":"Secrets of the job started by the webhook, used together with `jobSourceId`: the source job's own secrets are never copied. On update, listed keys are replaced, an empty value removes a secret, and omitted keys keep their stored value.","type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"domains":{"minItems":1,"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"secret":{"type":"string","pattern":"^[\\x20-\\x7F]*$"}},"required":["watched","domains"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false}},"required":["webhook"],"additionalProperties":false}}},"description":"Created webhook"}}}},"/api/settings/webhooks/{webhookId}":{"get":{"summary":"Get webhook","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false,"description":"Webhook"}},"required":["webhook"],"additionalProperties":false}}},"description":"Webhook"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"summary":"Update webhook","tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"watched":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"name":{"type":"string"}},"required":["type","name"]}},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"dockerImage":{"type":"string"},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","spaceId"]},{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","dockerImage"]}]},"jobSourceId":{"type":"string"},"secrets":{"description":"Secrets of the job started by the webhook, used together with `jobSourceId`: the source job's own secrets are never copied. On update, listed keys are replaced, an empty value removes a secret, and omitted keys keep their stored value.","type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"domains":{"minItems":1,"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"secret":{"type":"string","pattern":"^[\\x20-\\x7F]*$"}},"required":["watched","domains"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false,"description":"Webhook"}},"required":["webhook"],"additionalProperties":false}}},"description":"Updated webhook"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete webhook","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"Deleted webhook"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/settings/webhooks/{webhookId}/{action}":{"post":{"summary":"Enable/disable webhook","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"webhook":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"url":{"type":"string","format":"uri"},"job":{"oneOf":[{"type":"object","properties":{"dockerImage":{"type":"string"},"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","spaceId"],"additionalProperties":false},{"type":"object","properties":{"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"spaceId":{"type":"string"},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"secrets":{"type":"array","items":{"type":"string"}}},"required":["environment","flavor","timeoutSeconds","dockerImage"],"additionalProperties":false}]},"jobSourceId":{"type":"string"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"string","const":"suspended-after-failure"}]},"watched":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","user","org"]},"avatarUrl":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"hasSecret":{"type":"boolean","description":"Whether the webhook has a secret (the secret itself is never returned)"},"domains":{"type":"array","items":{"type":"string","enum":["repo","discussion"]}},"lastTriggerAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","disabled","watched","hasSecret","domains"],"additionalProperties":false,"description":"Webhook"}},"required":["webhook"],"additionalProperties":false}}},"description":"Updated webhook"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","enum":["enable","disable"]}}]}},"/api/settings/webhooks/{webhookId}/replay/{logId}":{"post":{"summary":"Replay webhook log","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"number","description":"Replay HTTP status"}},"required":["status"],"additionalProperties":false}}},"description":"Replay response"}},"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}},{"name":"logId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/settings/papers/claim":{"post":{"summary":"Claim paper authorship","tags":["papers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paperId":{"description":"ArXiv paper identifier being claimed.","type":"string","pattern":"^\\d{4}\\.\\d{4,5}$"},"claimAuthorId":{"description":"Author entry on the paper being claimed.","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"targetUserId":{"description":"HF user who should receive the claim.","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["paperId","claimAuthorId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean"},"claimedPaperId":{"type":"string"}},"required":["ok","claimedPaperId"],"additionalProperties":false}}},"description":"Paper authorship claim result, including the claimed paper id"}}}},"/api/settings/inference-providers":{"post":{"summary":"Reorder inference providers","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["enabled","position"]}}}}}}},"/api/settings/inference-providers/api-key":{"post":{"summary":"Set provider key","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"provider":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"apiKey":{"type":"string","maxLength":1024}},"required":["provider","apiKey"]}}}}}},"/api/settings/inference-providers/default-billing-entity":{"put":{"summary":"Default billing entity","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"orgId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}}}}}}}},"/api/settings/inference-providers/usage-limits":{"put":{"summary":"Set spending limit","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"spendingLimitCents":{"type":"integer","minimum":0,"maximum":200000}},"required":["spendingLimitCents"]}}}}}},"/api/settings/repositories":{"get":{"summary":"List user repositories","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"updatedAt":{"type":"string"},"visibility":{"type":"string","enum":["public","private","protected"]},"storage":{"type":"number"},"storagePercent":{"type":"number"}},"required":["id","type","updatedAt","visibility","storage","storagePercent"],"additionalProperties":false}}}},"description":"Repositories with storage usage"}},"parameters":[{"name":"search","in":"query","schema":{"description":"Filter repositories by name (case-insensitive substring match)","type":"string"},"required":false},{"name":"type","in":"query","schema":{"description":"Filter by repository type","type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"limit","in":"query","schema":{"description":"Max number of repositories to return","type":"integer","minimum":1,"maximum":9007199254740991},"required":false},{"name":"sort","in":"query","schema":{"default":"storage","description":"Sort field (default: storage)","type":"string","enum":["storage","updatedAt"]},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","description":"Sort direction (default: desc)","type":"string","enum":["asc","desc"]},"required":false}]}},"/api/organizations/{name}/settings/tokens":{"get":{"description":"List the access tokens of the organization's members. Team or Enterprise only.","summary":"Member access tokens","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"displayName":{"type":"string","description":"Name the owner gave the token. Provided when the organization requires administrator approval of member tokens"},"role":{"type":"string","enum":["read","write","fineGrained"],"description":"Kind of access the token carries. `read` and `write` reach everything their owner can reach, while `fineGrained` is limited to the permissions listed under `fineGrained`"},"last4":{"description":"Last 4 characters of the token's value, the only part of it ever returned. Absent on tokens created before this was recorded","type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Date the token was created, or the date it was last rotated"},"lastUsedAt":{"description":"Date the token last authenticated a request. Absent on tokens that have never been used","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"owner":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string","description":"Username of the member"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["_id","name","fullname","avatarUrl"],"additionalProperties":false,"description":"Organization member the token belongs to"},"authorization":{"description":"Where the token stands in the organization's approval flow. Reported by organizations that require administrator approval of member tokens, and on any token whose access has been revoked","type":"object","properties":{"status":{"type":"string","enum":["pending","approved","revoked","denied"],"description":"`pending` while the token awaits an administrator's decision, `approved` once it may act on the organization, `denied` if an administrator refused it, and `revoked` if an administrator withdrew access it had already been granted"},"requestedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Date the token first requested access to the organization"},"authorizedAt":{"description":"Date the token was granted access, recorded when the organization grants it automatically because the owner already holds write access","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"authorizer":{"description":"User who granted the token its access. Absent when `authorizedAt` is, and when that account has since been deleted","type":"object","properties":{"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["name","fullname","avatarUrl"],"additionalProperties":false}},"required":["status","requestedAt"],"additionalProperties":false},"fineGrained":{"description":"Permissions carried by a `fineGrained` token, narrowed to those that bear on the organization. Absent on `read` and `write` tokens, whose access is not expressed as a permission list, and never covering the account-wide permissions the token may hold elsewhere","type":"object","properties":{"scoped":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","collection","org","user","resource-group","oauth-app"]}},"required":["_id","type"],"additionalProperties":false,"description":"Entity the permissions apply to the organization itself, or one of its repositories"},"permissions":{"type":"array","items":{"type":"string","enum":["repo.read","repo.content.read","repo.content.metadata.read","repo.content.write","repo.lfs.read","repo.devMode.read","repo.config.read","repo.config.write","repo.config.doi.write","repo.config.visibility.write","repo.config.variables.write","repo.config.secrets.write","repo.access.read","repo.access.write","repo.contribute.write","repo.write","discussion.write","post.write","collection.write","collection.read","user.write","user.preferences.write","user.settings.notifications.write","user.notifications.read","user.notifications.write","user.org.write","user.membership.read","user.membership.write","user.oauth.authorizations.write","user.webhooks.read","user.webhooks.write","user.mcp.read","user.read","user.social.likes.write","user.social.follows.write","user.social.blocks.write","user.social.upvotes.write","user.tokens.read","user.tokens.write","user.billing.read","user.billing.write","user.email.read","user.email.write","user.papers.write","user.cryptoKeys.write","user.inference-providers.write","user.authentication.read","user.authentication.write","user.info.write","user.gated-repos-requests.read","user.gated-repos-requests.write","oauthApp.read","oauthApp.write","org.read","org.billing.read","org.billing.write","org.providerMappings.write","org.serviceAccounts.read","org.serviceAccounts.write","org.members.read","org.members.write","org.networkSecurity.read","org.networkSecurity.write","org.analytics.read","org.repos.read","org.auditLog.write","org.repoSettings.write","org.write","blog.read","blog.write","resourceGroup.read","resourceGroup.write","resourceGroup.settings.write","resourceGroup.resources.write","inference.serverless.write","inference.endpoints.read","inference.endpoints.write","inference.endpoints.infer.write","sql-console.embed.read","sql-console.embed.write","job.read","job.write"]},"description":"Permissions the token holds on the entity"}},"required":["entity","permissions"],"additionalProperties":false},"description":"Permissions the token holds on individual entities, limited to the organization and the repositories it owns. Scopes pointing elsewhere are omitted"}},"required":["scoped"],"additionalProperties":false}},"required":["_id","displayName","role","createdAt","owner"],"additionalProperties":false}}}},"description":"Array of organization member access tokens","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor from the `Link` header","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"limit","in":"query","schema":{"default":100,"type":"integer","minimum":1,"maximum":100},"required":false},{"name":"q","in":"query","schema":{"default":"-status:revoked","description":"Filter on `owner:`, `role:`, `status:` and `token:` (last 4 characters), negatable with `-`. Pass `status:all` to include revoked tokens.","type":"string"},"required":false}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/settings/tokens/{tokenId}/revoke":{"post":{"description":"An org admin can revoke a token's access to the org. The token itself isn't deleted, it still works outside the org. The token id is the one displayed in the org token settings page or through the tokens listing API endpoint. Enterprise only.","summary":"Revoke member token","tags":["orgs"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/settings/repositories":{"get":{"summary":"List organization repositories","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"updatedAt":{"type":"string"},"visibility":{"type":"string","enum":["public","private","protected"]},"storage":{"type":"number"},"storagePercent":{"type":"number"}},"required":["id","type","updatedAt","visibility","storage","storagePercent"],"additionalProperties":false}}}},"description":"Organization repositories with storage usage"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","schema":{"description":"Filter repositories by name (case-insensitive substring match)","type":"string"},"required":false},{"name":"type","in":"query","schema":{"description":"Filter by repository type","type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"required":false},{"name":"limit","in":"query","schema":{"description":"Max number of repositories to return","type":"integer","minimum":1,"maximum":9007199254740991},"required":false},{"name":"sort","in":"query","schema":{"default":"storage","description":"Sort field (default: storage)","type":"string","enum":["storage","updatedAt"]},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","description":"Sort direction (default: desc)","type":"string","enum":["asc","desc"]},"required":false}]}},"/api/organizations/{name}/settings/sso/credentials":{"put":{"description":"Update SSO credentials of the organization's SSO configuration. SSO stays enabled and does not need to be re-tested, so rotation causes no downtime. Requires a paid plan.","summary":"Rotate SSO credentials","tags":["orgs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"clientSecret":{"type":"string","minLength":1,"maxLength":1024}},"required":["clientSecret"],"description":"OIDC client secret"},{"type":"object","properties":{"x509Cert":{"type":"string","minLength":1,"maxLength":10000}},"required":["x509Cert"],"description":"SAML IdP x509 certificate"}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"The SSO credentials were rotated"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/audit-log/export":{"get":{"description":"Export the audit log events in JSON format for a Team or Enterprise organization. The export is limited to the last 100,000 events.","summary":"Export audit log","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"type":{"type":"string","enum":["billing.update_payment_method","billing.create_customer","billing.remove_payment_method","billing.aws_add","billing.aws_remove","billing.gcp_add","billing.gcp_remove","billing.marketplace_approve","billing.cancel_subscription","billing.renew_subscription","billing.start_subscription","billing.un_cancel_subscription","billing.update_subscription","billing.update_subscription_plan","collection.create","collection.delete","collection.update_resource_group","org.add_user","org.change_role","org.create","org.delete","org.restore","org.invite_user","org.invite.accept","org.invite.email","org.join.from_domain","org.join.automatic","org.leave","org.remove_user","org.rename","org.rotate_token","org.sso_login","org.sso_join","org.update_join_settings","org.update_settings","org.settings.regions","org.settings.profile","org.settings.resource_groups","org.settings.publisher_gating","org.settings.inference_providers","org.settings.inference_providers.keys.add","org.settings.inference_providers.keys.remove","org.settings.inference_providers.usage","org.settings.sso","org.settings.sso.enable","org.settings.sso.disable","org.settings.security.repo_visibility","org.settings.security.2fa.enable","org.settings.security.2fa.disable","org.settings.security.auto_join.enable","org.settings.security.auto_join.disable","org.settings.security.members_privacy.enable","org.settings.security.members_privacy.disable","org.settings.network","org.settings.network.ip_restriction.enable","org.settings.network.ip_restriction.disable","org.settings.network.auth_enforcement.enable","org.settings.network.auth_enforcement.disable","org.token_approval.enabled","org.token_approval.disabled","org.token_approval.authorization_request","org.token_approval.authorization_request.authorized","org.token_approval.authorization_request.revoked","org.token_approval.authorization_request.denied","org.audit_log.export","org.repo_analytics.export","repo.add_secrets","repo.remove_secrets","repo.add_secret","repo.update_secret","repo.remove_secret","repo.create","repo.delete","repo.disable","repo.removeDisable","repo.duplication","repo.delete_doi","repo.move","repo.update_resource_group","repo.update_settings","repo.add_variable","repo.update_variable","repo.remove_variable","repo.add_variables","repo.remove_variables","repo.delete_lfs_file","repo.add_trusted_publisher","repo.remove_trusted_publisher","spaces.add_storage","spaces.remove_storage","spaces.set_volumes","spaces.remove_volumes","spaces.update_hardware","spaces.update_sleep_time","resource_group.create","resource_group.add_users","resource_group.remove_users","resource_group.change_role","resource_group.settings","resource_group.delete","jobs.create","jobs.cancel","jobs.update_labels","jobs.update_expose","scheduled_job.create","scheduled_job.delete","scheduled_job.resume","scheduled_job.suspend","scheduled_job.run","scheduled_job.update_schedule","scheduled_job.update_labels","org.service_account.create","org.service_account.delete","org.service_account.token.create","org.service_account.token.delete","org.service_account.token.rotate","org.service_account.token.update","oauth.token"]},"data":{},"message":{"type":"string"},"ip":{"type":"string"},"location":{"type":"object","properties":{"formatted":{"type":"string"},"country":{"type":"string"},"city":{"type":"string"}},"required":["formatted"],"additionalProperties":false},"userAgent":{"type":"string"},"author":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"user":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","system"]},"deleted":{"type":"boolean"}},"required":["_id","user","avatarUrl","type"],"additionalProperties":false},"token":{"type":"object","properties":{"type":{"type":"string","const":"access_token"},"id":{"type":"string"},"role":{"type":"string","enum":["read","write","fineGrained"]},"last4":{"type":"string"},"deleted":{"type":"boolean"}},"required":["type","id","deleted"],"additionalProperties":false},"oauth":{"type":"object","properties":{"clientId":{"type":"string"},"name":{"type":"string"}},"required":["clientId"],"additionalProperties":false}},"required":["_id","createdAt","type","message","author"],"additionalProperties":false}}}},"description":"Array of audit log events","headers":{"Content-Disposition":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"The filename of the exported audit log"}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","schema":{"examples":["author:huggingface","ip:127.0.0.0","type:repo.create"],"type":"string"},"required":false}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups/{resourceGroupId}":{"patch":{"description":"Update the name, description and/or monthly spend limits (in cents, `null` to remove) of a resource group.\n\n`spendLimits.total` caps the group's combined spend across every product; the per-product limits cap each product on top of it.\n\nRequires the org to have a Team plan or higher.","summary":"Update resource group","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":500},"spendLimits":{"type":"object","properties":{"total":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"inferenceProviders":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"spaces":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"jobs":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"endpoints":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}}}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"delete":{"description":"Delete a resource group from the organization.\n\nRequires the org to have a Team plan or higher.","summary":"Delete resource group","tags":["resource-groups"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}},"description":"Whether the resource group was deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"get":{"description":"Retrieve a single resource group by id.\n\nRequires the org to have a Team plan or higher.","summary":"Get resource group","tags":["resource-groups"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups/{resourceGroupId}/settings":{"post":{"description":"Configure the auto-join settings of a resource group.\n\nRequires the org to have a Team plan or higher.","summary":"Configure auto-join","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"autoJoin":{"oneOf":[{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean","const":true},{"type":"string","const":"true"}]},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"]},{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean","const":false},{"type":"string","const":"false"}]}},"required":["enabled"]}]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups/{resourceGroupId}/users":{"post":{"description":"Add one or more organization members to a resource group.\n\nRequires the org to have a Team plan or higher.","summary":"Add users","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"users":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["name","role"]},{"type":"object","properties":{"user":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["user","role"]}]}}},"required":["users"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups/{resourceGroupId}/users/{username}":{"delete":{"description":"Remove a user from a resource group, revoking the access granted through it.\n\nRequires the org to have a Team plan or higher.","summary":"Remove user","tags":["resource-groups"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"username","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Change the role of a user in a resource group. In a SCIM-managed resource group, pass `resetToScimRole` to undo a manual role change and restore the role mapped from the user's SCIM groups.\n\nRequires the org to have a Team plan or higher.","summary":"Change user role","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["role"]},{"type":"object","properties":{"resetToScimRole":{"type":"boolean","const":true}},"required":["resetToScimRole"],"description":"Reset the role to the one mapped from SCIM groups"}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The updated resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"resourceGroupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"username","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/resource-groups":{"get":{"description":"Retrieve accessible resource groups. Get all resource groups the user has access to.\n\nRequires the org to have a Team plan or higher.","summary":"Get resource groups","tags":["resource-groups"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}}},"description":"Resource groups the user has access to"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"post":{"description":"Create a new resource group in the organization.\n\nRequires the org to have a Team plan or higher.","summary":"Create resource group","tags":["resource-groups"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":500},"users":{"default":[],"type":"array","items":{"type":"object","properties":{"user":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["user","role"]}},"repos":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/RepoId"}},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"]},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"]}]}},"required":["name"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"description":{"type":["string","null"]},"autoJoin":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"scope":{"type":"string","enum":["all","read_plus"]}},"required":["enabled","role"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},"spendLimits":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"inferenceProviders":{"type":"integer","minimum":0,"maximum":9007199254740991},"spaces":{"type":"integer","minimum":0,"maximum":9007199254740991},"jobs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endpoints":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},"users":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"user"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"fullname":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"orgRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"addedBy":{"type":"string"},"roleSetBy":{"type":["string","null"]}},"required":["type","_id","fullname","name","avatarUrl","role","orgRole"],"additionalProperties":false}},"resources":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"name":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","name","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"collection"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"blog"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"addedBy":{"type":"string"},"private":{"type":"boolean"}},"required":["type","id","slug","title","private"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"},"name":{"type":"string"},"addedBy":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]}}},"required":["id","name","users","resources","repos"],"additionalProperties":false}}},"description":"The created resource group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/settings/network-security":{"get":{"description":"Get the network security settings for an organization.","summary":"Network security settings","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enforceAuth":{"type":"boolean"},"areCidrRangesApproved":{"type":"boolean","description":"Whether the declared ipRanges match the admin-validated CIDR ranges"},"enforceIpRestriction":{"type":"boolean"},"highRateLimits":{"type":"boolean"},"ipRanges":{"type":"array","items":{"type":"string"}},"blockedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"],"additionalProperties":false}},"allowedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"],"additionalProperties":false}},"keepReposMetadataVisible":{"type":"boolean"}},"required":["enforceAuth","areCidrRangesApproved","enforceIpRestriction","highRateLimits","ipRanges","blockedContents","allowedContents","keepReposMetadataVisible"],"additionalProperties":false}}},"description":"Network security settings"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Update the network security settings for an organization.","summary":"Update network security","tags":["orgs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enforceAuth":{"type":"boolean"},"enforceIpRestriction":{"type":"boolean"},"highRateLimits":{"type":"boolean"},"ipRanges":{"type":"array","items":{"anyOf":[{"type":"string","format":"cidrv4","pattern":"^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$"},{"type":"string","format":"cidrv6","pattern":"^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$"}]}},"blockedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"]}},"allowedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"]}},"keepReposMetadataVisible":{"type":"boolean"}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enforceAuth":{"anyOf":[{"type":"boolean"},{"type":"string","const":"pending"}]},"enforceIpRestriction":{"type":"boolean"},"highRateLimits":{"type":"boolean"},"ipRanges":{"type":"array","items":{"type":"string"}},"blockedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"],"additionalProperties":false}},"allowedContents":{"type":"array","items":{"type":"object","properties":{"resource":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string","const":"*"}]},"scope":{"type":"string","minLength":1}},"required":["resource","scope"],"additionalProperties":false}},"keepReposMetadataVisible":{"type":"boolean"},"areCidrRangesApproved":{"type":"boolean","description":"Whether the declared ipRanges match the admin-validated CIDR ranges"}},"required":["enforceAuth","enforceIpRestriction","highRateLimits","ipRanges","blockedContents","allowedContents","keepReposMetadataVisible","areCidrRangesApproved"],"additionalProperties":false}}},"description":"Updated network security settings"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts":{"get":{"description":"List all service accounts for the organization.","summary":"List service accounts","tags":["service-accounts"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"user":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"description":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["_id","user","name","email","createdAt"],"additionalProperties":false}}}},"description":"List of service accounts"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"post":{"description":"Create a new service account for the organization.","summary":"Create service account","tags":["service-accounts"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50,"description":"Display name for the service account"},"description":{"description":"Optional description of what this service account is used for","type":"string","maxLength":500}},"required":["name"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string"},"user":{"type":"string"},"fullname":{"type":"string"},"description":{"type":"string"},"createdAt":{"type":"string"}},"required":["_id","user","fullname","createdAt"],"additionalProperties":false}}},"description":"Created service account"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts/{serviceAccountId}":{"get":{"description":"Retrieve a single service account and its access token metadata. Token secrets are never returned.","summary":"Get service account","tags":["service-accounts"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"user":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"description":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"accessTokens":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"displayName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"lastUsedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiration":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"role":{"type":"string","enum":["read","write","fineGrained"]},"permissions":{"type":"array","items":{"type":"string","enum":["repo.content.read","repo.contribute.write","repo.write","inference.serverless.write","inference.endpoints.infer.write","inference.endpoints.write","org.read","org.write","collection.read","collection.write","resourceGroup.write","job.write","org.serviceAccounts.read","org.serviceAccounts.write","org.auditLog.write"]}},"repoIds":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"repoPermissions":{"type":"array","items":{"type":"string","enum":["repo.content.read","repo.write"]}},"endpointPatterns":{"type":"array","items":{"type":"string"}},"last4":{"type":"string"},"skipNetworkSecurity":{"type":"boolean"}},"required":["_id","displayName","createdAt","role","permissions","repoIds","repoPermissions","endpointPatterns"],"additionalProperties":false}}},"required":["_id","user","name","email","createdAt"],"additionalProperties":false}}},"description":"Service account"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"delete":{"description":"Delete a service account and all its tokens. This action cannot be undone.","summary":"Delete service account","tags":["service-accounts"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Service account deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens":{"post":{"description":"Create a new access token for a service account. Store the token securely - it cannot be retrieved later.","summary":"Create service-account token","tags":["service-accounts"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"default":"API Token","description":"Display name for the token","type":"string","minLength":1,"maxLength":100},"permissions":{"default":[],"description":"Org-wide permissions for this token","type":"array","items":{"type":"string","enum":["repo.content.read","repo.contribute.write","repo.write","inference.serverless.write","inference.endpoints.infer.write","inference.endpoints.write","org.read","org.write","collection.read","collection.write","resourceGroup.write","job.write","org.serviceAccounts.read","org.serviceAccounts.write","org.auditLog.write"]}},"repoIds":{"description":"Repositories to grant `repoPermissions` on. Can be repositories owned by the organization or any public repository. These override the org-wide permissions.","type":"array","items":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"repoPermissions":{"default":[],"description":"Permissions granted on the selected `repoIds`.","type":"array","items":{"type":"string","enum":["repo.content.read","repo.write"]}},"endpointPatterns":{"default":[],"description":"Inference endpoint name patterns (wildcards allowed, e.g. `gpt2-*`) restricting the token's org-wide Inference Endpoint permissions to matching endpoints. Empty means all endpoints.","maxItems":20,"type":"array","items":{"type":"string","maxLength":256,"pattern":"^[^.?()\\]\\\\[{}]+$"}},"skipNetworkSecurity":{"default":false,"description":"Exempt this token from the org's Network Security enforcement (IP allowlist and content access policy). Enterprise Plus only, and requires the `org.networkSecurity.write` permission.","type":"boolean"}}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"The access token - store this securely, it cannot be retrieved later"},"tokenInfo":{"type":"object","properties":{"_id":{"type":"string"},"displayName":{"type":"string"},"createdAt":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"repoIds":{"type":"array","items":{"type":"string"}},"repoPermissions":{"type":"array","items":{"type":"string"}},"endpointPatterns":{"type":"array","items":{"type":"string"}},"skipNetworkSecurity":{"type":"boolean"}},"required":["_id","displayName","createdAt","repoIds","repoPermissions","endpointPatterns","skipNetworkSecurity"],"additionalProperties":false}},"required":["token","tokenInfo"],"additionalProperties":false}}},"description":"Created token"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}":{"delete":{"description":"Delete an access token from a service account. This action cannot be undone.","summary":"Delete service-account token","tags":["service-accounts"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Token deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Update the name and/or permissions of an existing service account token.","summary":"Update service-account token","tags":["service-accounts"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"description":"New display name for the token","type":"string","minLength":1,"maxLength":100},"permissions":{"type":"array","items":{"type":"string","enum":["repo.content.read","repo.contribute.write","repo.write","inference.serverless.write","inference.endpoints.infer.write","inference.endpoints.write","org.read","org.write","collection.read","collection.write","resourceGroup.write","job.write","org.serviceAccounts.read","org.serviceAccounts.write","org.auditLog.write"]},"description":"Org-wide permissions for this token"},"repoIds":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"description":"Repositories to grant `repoPermissions` on. Can be repositories owned by the organization or any public repository. These override the org-wide permissions."},"repoPermissions":{"type":"array","items":{"type":"string","enum":["repo.content.read","repo.write"]},"description":"Permissions granted on the selected `repoIds`."},"endpointPatterns":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":256,"pattern":"^[^.?()\\]\\\\[{}]+$"},"description":"Inference endpoint name patterns (wildcards allowed, e.g. `gpt2-*`) restricting the token's org-wide Inference Endpoint permissions to matching endpoints. Empty means all endpoints."},"skipNetworkSecurity":{"type":"boolean","description":"Exempt this token from the org's Network Security enforcement (IP allowlist and content access policy). Enterprise Plus only, and requires the `org.networkSecurity.write` permission."}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string"},"displayName":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"repoIds":{"type":"array","items":{"type":"string"}},"repoPermissions":{"type":"array","items":{"type":"string"}},"endpointPatterns":{"type":"array","items":{"type":"string"}},"skipNetworkSecurity":{"type":"boolean"}},"required":["_id","displayName","permissions","repoIds","repoPermissions","endpointPatterns","skipNetworkSecurity"],"additionalProperties":false}}},"description":"Updated token info"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}/rotate":{"post":{"description":"Invalidate an existing token and generate a new one with the same permissions. The old token will stop working immediately.","summary":"Rotate service-account token","tags":["service-accounts"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"The new access token"},"tokenInfo":{"type":"object","properties":{"_id":{"type":"string"},"displayName":{"type":"string"},"createdAt":{"type":"string"},"last4":{"type":"string"}},"required":["_id","displayName","createdAt"],"additionalProperties":false}},"required":["token","tokenInfo"],"additionalProperties":false}}},"description":"Rotated token"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"serviceAccountId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/avatar":{"get":{"description":"Retrieve organization avatar. This endpoint returns a JSON with the avatar URL for the organization.\n\nIf called with the `Sec-Fetch-Dest: image` header, it instead redirects to the avatar URL","summary":"Get avatar","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"avatarUrl":{"type":"string","format":"uri"}},"required":["avatarUrl"],"additionalProperties":false}}},"description":"Avatar URL"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"redirect","in":"query","schema":{"description":"Redirect to the avatar url instead of returning it","type":"string"},"required":false}]}},"/api/organizations/{name}/members":{"get":{"description":"Get a list of members for the organization with optional search and pagination.","summary":"Get organization members","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"type":{"type":"string","const":"user"},"isFollowing":{"type":"boolean"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"},"numUsers":{"type":"number"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["name","id","numUsers","role"],"additionalProperties":false}},"twoFaEnabled":{"type":"boolean"},"verifiedEmail":{"description":"The user's SSO email, if the org has a Team or Enterprise plan and the requester is an admin","type":["string","null"]},"isExternalCollaborator":{"type":"boolean"}},"required":["avatarUrl","fullname","isPro","user","type","_id"],"additionalProperties":false}}}},"description":"Array of organization members","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","schema":{"type":"string"},"required":false},{"name":"email","in":"query","schema":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"default":500,"type":"integer","minimum":10,"maximum":10000},"required":false}]}},"/api/organizations/{name}/members/{username}/role":{"put":{"description":"Change the role of a member in the organization. Need a paid plan.","summary":"Change member role","tags":["orgs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["id","role"]}}},"required":["role"]}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"username","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Team","position":"before"},{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/scim/v2/ServiceProviderConfig":{"get":{"description":"Returns the SCIM 2.0 Service Provider configuration, describing the server's capabilities and supported authentication schemes.","summary":"Get SCIM Configuration","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"documentationUri":{"type":"string"},"patch":{"type":"object","properties":{"supported":{"type":"boolean"}},"required":["supported"],"additionalProperties":false},"bulk":{"type":"object","properties":{"supported":{"type":"boolean"},"maxOperations":{"type":"number"},"maxPayloadSize":{"type":"number"}},"required":["supported","maxOperations","maxPayloadSize"],"additionalProperties":false},"filter":{"type":"object","properties":{"supported":{"type":"boolean"},"maxResults":{"type":"number"}},"required":["supported","maxResults"],"additionalProperties":false},"changePassword":{"type":"object","properties":{"supported":{"type":"boolean"}},"required":["supported"],"additionalProperties":false},"sort":{"type":"object","properties":{"supported":{"type":"boolean"}},"required":["supported"],"additionalProperties":false},"etag":{"type":"object","properties":{"supported":{"type":"boolean"}},"required":["supported"],"additionalProperties":false},"authenticationSchemes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"specUri":{"type":"string"},"documentationUri":{"type":"string"}},"required":["type","name","description","specUri","documentationUri"],"additionalProperties":false}},"meta":{"type":"object","properties":{"resourceType":{"type":"string"},"location":{"type":"string"}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","documentationUri","patch","bulk","filter","changePassword","sort","etag","authenticationSchemes","meta"],"additionalProperties":false}}},"description":"SCIM Service Provider Configuration"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/ResourceTypes":{"get":{"description":"Returns the list of SCIM 2.0 resource types supported by this server (User and Group).","summary":"SCIM resource types","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"endpoint":{"type":"string"},"schema":{"type":"string"},"meta":{"type":"object","properties":{"resourceType":{"type":"string"},"location":{"type":"string"}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","name","description","endpoint","schema","meta"],"additionalProperties":false}}}},"description":"SCIM Resource Types"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Schemas":{"get":{"description":"Returns the SCIM 2.0 schema definitions for User and Group resources.","summary":"Get SCIM Schemas","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"attributes":{"type":"array","items":{}},"meta":{"type":"object","properties":{"resourceType":{"type":"string"},"location":{"type":"string"}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","name","description","attributes","meta"],"additionalProperties":false}}}},"description":"SCIM Schema Definitions"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Schemas/{schemaId}":{"get":{"description":"Returns a single SCIM 2.0 schema definition by its schema URI.","summary":"Get SCIM schema","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"attributes":{"type":"array","items":{}},"meta":{"type":"object","properties":{"resourceType":{"type":"string"},"location":{"type":"string"}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","name","description","attributes","meta"],"additionalProperties":false}}},"description":"SCIM Schema Definition"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"schemaId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Users":{"get":{"description":"Retrieves a paginated list of all organization members who have been set up, including disabled users. If you provide the filter parameter, the resources for all matching members are returned.","summary":"List SCIM users","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"examples":[["urn:ietf:params:scim:api:messages:2.0:ListResponse"]]},"totalResults":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"itemsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"startIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[1]},"Resources":{"type":"array","items":{"type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"required":["schemas","totalResults","itemsPerPage","startIndex","Resources"],"additionalProperties":false}}},"description":"SCIM User List"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startIndex","in":"query","schema":{"default":1,"type":"number","minimum":1},"required":false},{"name":"count","in":"query","schema":{"default":1000,"type":"number","minimum":1,"maximum":1000},"required":false},{"name":"filter","in":"query","schema":{"default":"","description":"You can filter results using the equals operator (eq) to find items that match specific values like `id`, `userName`, `emails`, and `externalId`. For example, to find a user named Bob, use this search: `?filter=userName%20eq%20Bob`","type":"string"},"required":false}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"post":{"description":"Creates a new user in the organization. If the user already exists, only `active` field will be updated to provision the user.","summary":"Create SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"userName":{"type":"string","minLength":2,"maxLength":42,"pattern":"^\\b(?!\\d+$)(?![0-9a-fA-F]{24}$)([a-zA-Z0-9]|-(?!-))+\\b$","description":"Username for the user, it should respect the hub rules: No consecutive dashes, No digit-only, Does not start or end with a dash, Only dashes, letters or numbers, Not 24 chars hex string"},"emails":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["value"]}},"name":{"type":"object","properties":{"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1}},"required":["givenName","familyName"]},"active":{"default":true,"type":"boolean"},"externalId":{"type":"string","description":"External ID for the user, it must be unique within the organization and is required for managed users"}},"required":["schemas","userName","emails","name","externalId"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"SCIM User already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Users/{userId}":{"get":{"description":"Retrieves a SCIM user by their ID.","summary":"Get SCIM user","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"patch":{"description":"Update an attribute of a SCIM user. Modify individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `externalId` is supported), or replace operations.\n If you set `active` to `false`, the user will be deprovisioned from the organization. \nComplicated SCIM `path` values are not supported like `emails[type eq 'work'].value`.","summary":"Update SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:api:messages:2.0:PatchOp"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]},"Operations":{"type":"array","items":{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string","enum":["active","externalId","userName","emails[type eq 'work'].value","name.givenName","name.familyName"]},"value":{}},"required":["op","value"]}}},"required":["schemas","Operations"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"put":{"description":"Updates a provisioned user, you'll need to provide all their information fresh - just like setting them up for the first time. Any details you don't include will be automatically removed, so make sure to include everything they need to keep their account running smoothly. Setting `active` to `false` will deprovision the user from the organization.","summary":"Update SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"userName":{"type":"string","minLength":2,"maxLength":42,"pattern":"^\\b(?!\\d+$)(?![0-9a-fA-F]{24}$)([a-zA-Z0-9]|-(?!-))+\\b$","description":"Username for the user, it should respect the hub rules: No consecutive dashes, No digit-only, Does not start or end with a dash, Only dashes, letters or numbers, Not 24 chars hex string"},"emails":{"maxItems":1,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["value"]}},"name":{"type":"object","properties":{"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1}},"required":["givenName","familyName"]},"active":{"default":true,"type":"boolean"},"externalId":{"type":"string"}},"required":["schemas","userName","emails","name","externalId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"delete":{"summary":"Delete SCIM user","tags":["scim"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Groups":{"get":{"description":"Get a list of SCIM groups. Retrieves a paginated list of all organization groups. If you provide the filter parameter, the resources for all matching groups are returned.","summary":"List SCIM groups","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"examples":[["urn:ietf:params:scim:api:messages:2.0:ListResponse"]]},"totalResults":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"itemsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"startIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[1]},"Resources":{"type":"array","items":{"type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","meta"],"additionalProperties":false}}},"required":["schemas","totalResults","itemsPerPage","startIndex","Resources"],"additionalProperties":false}}},"description":"SCIM Group List"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startIndex","in":"query","schema":{"default":1,"type":"number","minimum":1},"required":false},{"name":"count","in":"query","schema":{"default":1000,"type":"number","minimum":1,"maximum":1000},"required":false},{"name":"filter","in":"query","schema":{"default":"","type":"string"},"required":false},{"name":"excludedAttributes","in":"query","schema":{"type":"string","const":"members"},"required":false}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"post":{"description":"Creates a new group in the organization. The group name must be unique within the organization.","summary":"Create SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["value"]},"description":"Array of SCIM user ids"}},"required":["displayName","members"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Group already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim/v2/Groups/{groupId}":{"get":{"description":"Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.","summary":"Get SCIM group","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"excludedAttributes","in":"query","schema":{"type":"string","const":"members"},"required":false}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"put":{"description":"Updates a group by its ID. The group name must be unique within the organization.","summary":"Update SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:schemas:core:2.0:Group"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["value"]}}},"required":["schemas","displayName","members"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"patch":{"description":"Update attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.","summary":"Update SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:api:messages:2.0:PatchOp"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]},"Operations":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string"},"value":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]}}},"required":["op","path"]},{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string"},"value":{}},"required":["op","value"]}]}}},"required":["schemas","Operations"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]},"delete":{"summary":"Delete SCIM group","tags":["scim"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"SCIM Group deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise Plus","position":"before"}]}},"/api/organizations/{name}/scim-provisioning/v2/Users":{"get":{"description":"Retrieves a paginated list of organization members and pending invitations managed by SCIM for non-managed organizations.","summary":"List SCIM-managed users","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"examples":[["urn:ietf:params:scim:api:messages:2.0:ListResponse"]]},"totalResults":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"itemsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"startIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[1]},"Resources":{"type":"array","items":{"type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"required":["schemas","totalResults","itemsPerPage","startIndex","Resources"],"additionalProperties":false}}},"description":"SCIM User List"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startIndex","in":"query","schema":{"default":1,"type":"number","minimum":1},"required":false},{"name":"count","in":"query","schema":{"default":1000,"type":"number","minimum":1,"maximum":1000},"required":false},{"name":"filter","in":"query","schema":{"default":"","description":"You can filter results using the equals operator (eq) to find items that match specific values like `id`, `userName`, `emails`, and `externalId`. For example, to find a user named Bob, use this search: `?filter=userName%20eq%20Bob`","type":"string"},"required":false}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"post":{"description":"Creates an invitation for a user to join the organization. The user must have an existing Hugging Face account.","summary":"Create SCIM invitation","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"userName":{"type":"string","description":"IdP username. Ignored: the user is matched by confirmed email"},"emails":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["value"]}},"active":{"default":true,"type":"boolean"},"externalId":{"type":"string","description":"SSO unique identifier (SAML nameid or OIDC sub claim) - required for SSO login"}},"required":["schemas","userName","emails","externalId"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/scim-provisioning/v2/Users/{userId}":{"get":{"description":"Retrieves a SCIM user by their ID for non-managed organizations.","summary":"SCIM provisioning user","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Modify individual attributes for non-managed organizations. Only the `active` field can be modified. User profile fields are not editable via SCIM.","summary":"Update SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:api:messages:2.0:PatchOp"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]},"Operations":{"type":"array","items":{"type":"object","properties":{"op":{"description":"`remove` operation is not supported for non-managed organizations","type":"string"},"path":{"type":"string","enum":["active","externalId","userName","emails[type eq 'work'].value","name.givenName","name.familyName"]},"value":{}},"required":["op","value"]}}},"required":["schemas","Operations"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"put":{"description":"Updates a provisioned user's invitation for non-managed organizations. User profile fields are not editable via SCIM for non-managed organizations.","summary":"Update SCIM user","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"active":{"default":true,"type":"boolean"},"externalId":{"type":"string"}},"required":["schemas","externalId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:User"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:User"]]},"id":{"type":"string","examples":["123"]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"userName":{"type":"string","examples":["username"]},"displayName":{"type":"string","examples":["username (equals to userName)"]},"name":{"type":"object","properties":{"givenName":{"type":"string","examples":["John"]},"familyName":{"type":"string","examples":["Doe"]},"formatted":{"type":"string","examples":["John Doe"]}},"required":["givenName","familyName","formatted"],"additionalProperties":false},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","examples":["john.doe@example.com"]},"primary":{"type":"boolean","examples":[true]},"type":{"examples":["work"],"description":"We only support work emails, other types are converted to work","type":"string","enum":["work"]}},"required":["value","primary"],"additionalProperties":false}},"active":{"type":"boolean","examples":[true]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["User"],"examples":["User"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","externalId","userName","displayName","name","emails","active","meta"],"additionalProperties":false}}},"description":"SCIM User"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"delete":{"description":"Removes a user from the organization and deletes any pending invitations for non-managed organizations.","summary":"Delete SCIM user","tags":["scim"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User removed from organization"},"404":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"User not found or not provisioned"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/scim-provisioning/v2/Groups":{"get":{"description":"Get a list of SCIM groups. Retrieves a paginated list of all organization groups. If you provide the filter parameter, the resources for all matching groups are returned.","summary":"List SCIM groups","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"examples":[["urn:ietf:params:scim:api:messages:2.0:ListResponse"]]},"totalResults":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"itemsPerPage":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[100]},"startIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"examples":[1]},"Resources":{"type":"array","items":{"type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","meta"],"additionalProperties":false}}},"required":["schemas","totalResults","itemsPerPage","startIndex","Resources"],"additionalProperties":false}}},"description":"SCIM Group List"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startIndex","in":"query","schema":{"default":1,"type":"number","minimum":1},"required":false},{"name":"count","in":"query","schema":{"default":1000,"type":"number","minimum":1,"maximum":1000},"required":false},{"name":"filter","in":"query","schema":{"default":"","type":"string"},"required":false},{"name":"excludedAttributes","in":"query","schema":{"type":"string","const":"members"},"required":false}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"post":{"description":"Creates a new group in the organization. The group name must be unique within the organization.","summary":"Create SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["value"]},"description":"Array of SCIM user ids"}},"required":["displayName","members"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Group already exists"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/scim-provisioning/v2/Groups/{groupId}":{"get":{"description":"Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.","summary":"Get SCIM group","tags":["scim"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"excludedAttributes","in":"query","schema":{"type":"string","const":"members"},"required":false}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"put":{"description":"Updates a group by its ID. The group name must be unique within the organization.","summary":"Update SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:schemas:core:2.0:Group"},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["value"]}}},"required":["schemas","displayName","members"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"patch":{"description":"Update attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.","summary":"Update SCIM group","tags":["scim"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"type":"array","items":{"type":"string","const":"urn:ietf:params:scim:api:messages:2.0:PatchOp"},"examples":[["urn:ietf:params:scim:api:messages:2.0:PatchOp"]]},"Operations":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string"},"value":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]}}},"required":["op","path"]},{"type":"object","properties":{"op":{"type":"string"},"path":{"type":"string"},"value":{}},"required":["op","value"]}]}}},"required":["schemas","Operations"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schemas":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"string","enum":["urn:ietf:params:scim:schemas:core:2.0:Group"]},"examples":[["urn:ietf:params:scim:schemas:core:2.0:Group"]]},"id":{"type":"string","examples":["123"]},"displayName":{"type":"string","examples":["Group 1"]},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"],"additionalProperties":false},"examples":[[{"value":"john"}]]},"externalId":{"anyOf":[{"type":"string","examples":["unique-identifier"]},{"type":"null"}]},"meta":{"type":"object","properties":{"resourceType":{"type":"string","enum":["Group"],"examples":["Group"]},"location":{"type":"string","examples":["https://huggingface.co/api/organizations/:name/scim/v2/Groups/:id"]}},"required":["resourceType","location"],"additionalProperties":false}},"required":["schemas","id","displayName","members","meta"],"additionalProperties":false}}},"description":"SCIM Group"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]},"delete":{"summary":"Delete SCIM group","tags":["scim"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"SCIM Group deleted"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/oauth/register":{"post":{"summary":"Register OAuth app","tags":["oauth"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_uris":{"type":"array","items":{"type":"string","format":"uri"}},"client_name":{"type":"string"},"client_uri":{"type":"string","format":"uri"},"logo_uri":{"type":"string","format":"uri"},"scope":{"type":"string"},"contacts":{"type":"array","items":{"type":"string"}},"token_endpoint_auth_method":{"type":"string","enum":["client_secret_basic","none","client_secret_post"]},"software_id":{"type":"string"},"software_version":{"type":"string"}}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_id":{"type":"string"},"client_secret":{"type":"string"},"client_id_issued_at":{"type":"number"},"client_secret_expires_at":{"type":"number"},"redirect_uris":{"type":"array","items":{"type":"string","format":"uri"}},"client_name":{"type":"string"},"client_uri":{"type":"string","format":"uri"},"logo_uri":{"type":"string","format":"uri"},"scope":{"type":"string"},"grant_types":{"readOnly":true,"type":"array","items":{"type":"string","enum":["urn:ietf:params:oauth:grant-type:token-exchange","urn:ietf:params:oauth:grant-type:device_code","authorization_code","refresh_token"]}},"contacts":{"type":"array","items":{"type":"string"}},"token_endpoint_auth_method":{"type":"string","enum":["client_secret_basic","none","client_secret_post"]},"software_id":{"type":"string"},"software_version":{"type":"string"}},"required":["client_id","client_id_issued_at","client_secret_expires_at","redirect_uris","scope","grant_types"],"additionalProperties":false}}},"description":"Details of the OAuth app that was created"}}}},"/oauth/device":{"post":{"summary":"Initiate device authorization","tags":["oauth"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_id":{"type":"string"},"scope":{"type":"string"}},"required":["client_id"],"description":"Initiate device authorization as per https://datatracker.ietf.org/doc/html/rfc8628#section-3.1"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"device_code":{"type":"string"},"user_code":{"type":"string"},"verification_uri":{"type":"string"},"expires_in":{"type":"number"}},"required":["device_code","user_code","verification_uri","expires_in"],"additionalProperties":false}}},"description":"Details of the device code that was created as per https://datatracker.ietf.org/doc/html/rfc8628#section-3.2"}}}},"/oauth/userinfo":{"get":{"description":"Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.","summary":"Get user info","tags":["oauth"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sub":{"type":"string","description":"ID of the user"},"name":{"description":"Full name of the user","type":"string"},"preferred_username":{"description":"Username of the user","type":"string"},"profile":{"description":"Profile URL of the user","type":"string","format":"uri"},"picture":{"description":"Avatar URL of the user","type":"string","format":"uri"},"website":{"description":"Website of the user","type":"string","format":"uri"},"email":{"description":"Email of the user","type":"string"},"email_verified":{"description":"Whether the email is verified","type":"boolean"},"hardwareItems":{"description":"The user's hardware items, if the `profile` scope is granted and the user did not set them as private","type":"array","items":{"type":"object","properties":{"sku":{"type":"array","prefixItems":[{"type":"string"},{"type":"string"},{"type":"string"}],"items":false,"minItems":3,"maxItems":3,"description":"Hardware SKU as [type, vendor, model]"},"mem":{"type":"number","description":"Memory in GB"},"num":{"type":"number","description":"Number of units"},"isPrimary":{"type":"boolean","const":true}},"required":["sku","mem","num"],"additionalProperties":false}},"isPro":{"type":"boolean","description":"Whether the user is a Pro user"},"canPay":{"description":"Whether the user has access to billing. You should check `canPay` first.","type":"boolean"},"billingMode":{"description":"Whether the user is on prepaid or postpaid billing","type":"string","enum":["prepaid","postpaid"]},"orgs":{"type":"array","items":{"type":"object","properties":{"sub":{"type":"string","description":"ID of the organization"},"name":{"type":"string","description":"Name of the organization"},"picture":{"type":"string","format":"uri","description":"Avatar URL of the organization"},"preferred_username":{"type":"string","description":"Username of the organization"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"canPay":{"type":"boolean"},"billingMode":{"type":"string","enum":["prepaid","postpaid"]},"roleInOrg":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"securityRestrictions":{"description":"Current security restrictions for accessing data in this organization with current authentication method","type":"array","items":{"type":"string","enum":["mfa","token-policy","token-revoked","sso","ip"]}},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"sub":{"type":"string"},"name":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["sub","name","role"],"additionalProperties":false}}},"required":["sub","name","picture","preferred_username"],"additionalProperties":false}}},"required":["sub","isPro","orgs"],"additionalProperties":false}}},"description":"User info"}}},"post":{"description":"Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.","summary":"Get user info","tags":["oauth"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sub":{"type":"string","description":"ID of the user"},"name":{"description":"Full name of the user","type":"string"},"preferred_username":{"description":"Username of the user","type":"string"},"profile":{"description":"Profile URL of the user","type":"string","format":"uri"},"picture":{"description":"Avatar URL of the user","type":"string","format":"uri"},"website":{"description":"Website of the user","type":"string","format":"uri"},"email":{"description":"Email of the user","type":"string"},"email_verified":{"description":"Whether the email is verified","type":"boolean"},"hardwareItems":{"description":"The user's hardware items, if the `profile` scope is granted and the user did not set them as private","type":"array","items":{"type":"object","properties":{"sku":{"type":"array","prefixItems":[{"type":"string"},{"type":"string"},{"type":"string"}],"items":false,"minItems":3,"maxItems":3,"description":"Hardware SKU as [type, vendor, model]"},"mem":{"type":"number","description":"Memory in GB"},"num":{"type":"number","description":"Number of units"},"isPrimary":{"type":"boolean","const":true}},"required":["sku","mem","num"],"additionalProperties":false}},"isPro":{"type":"boolean","description":"Whether the user is a Pro user"},"canPay":{"description":"Whether the user has access to billing. You should check `canPay` first.","type":"boolean"},"billingMode":{"description":"Whether the user is on prepaid or postpaid billing","type":"string","enum":["prepaid","postpaid"]},"orgs":{"type":"array","items":{"type":"object","properties":{"sub":{"type":"string","description":"ID of the organization"},"name":{"type":"string","description":"Name of the organization"},"picture":{"type":"string","format":"uri","description":"Avatar URL of the organization"},"preferred_username":{"type":"string","description":"Username of the organization"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"canPay":{"type":"boolean"},"billingMode":{"type":"string","enum":["prepaid","postpaid"]},"roleInOrg":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"securityRestrictions":{"description":"Current security restrictions for accessing data in this organization with current authentication method","type":"array","items":{"type":"string","enum":["mfa","token-policy","token-revoked","sso","ip"]}},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"sub":{"type":"string"},"name":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["sub","name","role"],"additionalProperties":false}}},"required":["sub","name","picture","preferred_username"],"additionalProperties":false}}},"required":["sub","isPro","orgs"],"additionalProperties":false}}},"description":"User info"}}}},"/api/registry/token":{"get":{"description":"Mints a short-lived EdDSA JWT for the HuggingFace container registry, verifiable via the JWK at `/api/keys/jwt`.","summary":"Registry token","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"EdDSA JWT signed by the moon JWT key, carrying `access[]`."},"access_token":{"type":"string","description":"Identical to `token` \u2014 Docker Distribution v2 accepts either field."},"expires_in":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"JWT lifetime in seconds."},"issued_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"ISO-8601 timestamp at which the JWT was minted."}},"required":["token","access_token","expires_in","issued_at"],"additionalProperties":false}}},"description":"Docker Distribution v2 token response \u2014 see https://distribution.github.io/distribution/spec/auth/jwt/"}},"parameters":[{"name":"service","in":"query","schema":{"type":"string","minLength":1,"description":"Registry service identifier \u2014 placed in the JWT `aud` claim."},"required":true},{"name":"scope","in":"query","schema":{"description":"Docker Distribution scope(s), e.g. `repository:org/img:push,pull`. May be repeated.","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false}]}},"/api/blog/{slug}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{slug}/comment/{commentId}/reply":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{slug}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{slug}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{slug}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment/{commentId}/reply":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/{namespace}/{slug}/resource-group":{"get":{"summary":"Blog resource group","tags":["blogs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group the blog currently belongs to"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"description":"Assign, move, or unassign an organization-owned blog to a resource group. Pass null to unassign. User-owned blogs are not eligible.","summary":"Blog resource group","tags":["blogs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to assign the blog to. If null, the blog is removed from any resource group."}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},{"type":"null"}]},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["resourceGroupId","id","slug","title","private","addedBy"],"additionalProperties":false}}},"description":"The blog and its resource group after the assignment"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/blog/zh":{"get":{"summary":"List blogs","tags":["blogs"],"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"community_sort","in":"query","schema":{"default":"trending","type":"string","enum":["trending","recent"]},"required":false},{"name":"tag","in":"query","schema":{"type":"string"},"required":false}]}},"/api/docs":{"get":{"description":"Get list of available documentation","summary":"List docs","tags":["docs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"category":{"type":"string"}},"required":["id","url"],"additionalProperties":false}}}},"description":"List of available documentation"}}}},"/api/docs/search":{"get":{"description":"Search any Hugging Face documentation","summary":"Search docs","tags":["docs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"_vectors":{"type":"object","properties":{"embeddings":{"type":"array","items":{"type":"number"}}},"required":["embeddings"],"additionalProperties":false},"heading1":{"type":"string"},"text":{"type":"string"},"text_plain":{"type":"string"},"product":{"type":"string"},"source_page_url":{"type":"string"},"source_page_title":{"type":"string"},"heading2":{"type":"string"},"heading3":{"type":"string"},"heading4":{"type":"string"},"heading5":{"type":"string"}},"required":["id","_vectors","heading1","text","text_plain","product","source_page_url","source_page_title"],"additionalProperties":false}}}},"description":"Search results"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":250},"required":true},{"name":"product","in":"query","schema":{"type":"string","enum":["hub","transformers","diffusers","datasets","gradio","trackio","smolagents","huggingface_hub","cli","huggingface.js","transformers.js","inference-providers","inference-endpoints","peft","accelerate","optimum","optimum-habana","optimum-neuron","optimum-intel","optimum-executorch","optimum-tpu","tokenizers","llm-course","context-course","robotics-course","mcp-course","smol-course","agents-course","deep-rl-course","computer-vision-course","evaluate","tasks","dataset-viewer","trl","openenv","simulate","sagemaker","timm","safetensors","tgi","setfit","audio-course","lerobot","reachy_mini","autotrain","tei","bitsandbytes","cookbook","sentence_transformers","ml-games-course","diffusion-course","ml-for-3d-course","chat-ui","leaderboards","lighteval","argilla","distilabel","microsoft-azure","kernels","google-cloud","xet"]},"required":false},{"name":"limit","in":"query","schema":{"default":10,"type":"integer","minimum":1,"maximum":25},"required":false}]}},"/api/docs/search/full-text":{"get":{"description":"Full-text search across Hugging Face documentation","summary":"Full-text search docs","tags":["docs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hits":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"hierarchy_lvl0":{"type":"string"},"hierarchy_lvl1":{"type":"string"},"hierarchy_lvl2":{"type":"string"},"hierarchy_lvl3":{"type":"string"},"hierarchy_lvl4":{"type":"string"},"hierarchy_lvl5":{"type":"string"},"hierarchy_lvl6":{"type":"string"},"_formatted":{"type":"object","properties":{"url":{"type":"string"},"hierarchy_lvl0":{"type":"string"},"hierarchy_lvl1":{"type":"string"},"hierarchy_lvl2":{"type":"string"},"hierarchy_lvl3":{"type":"string"},"hierarchy_lvl4":{"type":"string"},"hierarchy_lvl5":{"type":"string"},"hierarchy_lvl6":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},"required":["url"],"additionalProperties":false}}},"required":["hits"],"additionalProperties":false}}},"description":"Full-text search results"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":250},"required":true},{"name":"limit","in":"query","schema":{"default":9,"type":"integer","minimum":1,"maximum":100},"required":false},{"name":"domain","in":"query","schema":{"type":"string","maxLength":100},"required":false}]}},"/api/whoami-v2":{"get":{"description":"Get information about the user and auth method used","summary":"Get user info","tags":["auth"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"auth":{"type":"object","properties":{"type":{"type":"string"},"accessToken":{"type":"object","properties":{"displayName":{"type":"string"},"role":{"type":"string","enum":["read","write","god","fineGrained"]},"fineGrained":{"type":"object","properties":{"scoped":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container","collection","org","user","resource-group","oauth-app"]}},"required":["_id","type"],"additionalProperties":false},"permissions":{"type":"array","items":{"type":"string"}}},"required":["entity","permissions"],"additionalProperties":false}},"global":{"type":"array","items":{"type":"string","enum":["discussion.write","post.write"]}},"canReadGatedRepos":{"description":"Allow access to all public gated repos to which the user has access","type":"boolean"}},"required":["scoped"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["displayName","role","createdAt"],"additionalProperties":false},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resource":{"type":"object","properties":{"sub":{"type":"string"}},"required":["sub"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},"type":{"type":"string","const":"user"},"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"email":{"type":["string","null"]},"canPay":{"type":"boolean"},"billingMode":{"type":"string","enum":["prepaid","postpaid"]},"avatarUrl":{"type":"string"},"periodEnd":{"type":["number","null"]},"emailVerified":{"type":"boolean"},"isPro":{"type":"boolean"},"orgs":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"org"},"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"email":{"type":["string","null"]},"canPay":{"type":"boolean"},"spendLimitReached":{"type":"boolean"},"billingMode":{"type":"string","enum":["prepaid","postpaid"]},"avatarUrl":{"type":"string"},"periodEnd":{"type":["number","null"]},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"roleInOrg":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"securityRestrictions":{"description":"Current security restrictions for accessing data in this organization with current authentication method","type":"array","items":{"type":"string","enum":["mfa","token-policy","token-revoked","sso","ip"]}},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"role":{"type":"string","enum":["admin","write","contributor","read","no_access"]}},"required":["id","name","role"],"additionalProperties":false}}},"required":["type","id","name","fullname","avatarUrl"],"additionalProperties":false}}},"required":["auth","type","id","name","fullname","avatarUrl","isPro","orgs"],"additionalProperties":false}]}}},"description":"Auth information"}}}},"/api/organizations/{name}/billing/usage-v2":{"get":{"description":"Get org usage for a given period","summary":"Get org usage","tags":["orgs"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true},{"name":"endDate","in":"query","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true}]}},"/api/organizations/{name}/billing/usage-by-resource-group":{"get":{"description":"Get org usage breakdown per resource group, returned as a time-series of monthly periods. Window is [startDate, endDate], defaults to the current month. Both dates must fall within the last 12 months. Storage values are the peak observed within each monthly period.","summary":"Resource group usage","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"currency":{"type":"string"},"periods":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"storage":{"type":"object","properties":{"privateGB":{"type":"number"},"publicGB":{"type":"number"}},"required":["privateGB","publicGB"],"additionalProperties":false},"inference":{"type":"object","properties":{"requestCount":{"type":"number"},"costCents":{"type":"number"}},"required":["requestCount","costCents"],"additionalProperties":false},"compute":{"type":"object","properties":{"spaces":{"type":"object","properties":{"uptimeSec":{"type":"number"},"costCents":{"type":"number"}},"required":["uptimeSec","costCents"],"additionalProperties":false},"endpoints":{"type":"object","properties":{"uptimeSec":{"type":"number"},"costCents":{"type":"number"}},"required":["uptimeSec","costCents"],"additionalProperties":false},"jobs":{"type":"object","properties":{"uptimeSec":{"type":"number"},"costCents":{"type":"number"}},"required":["uptimeSec","costCents"],"additionalProperties":false}},"required":["spaces","endpoints","jobs"],"additionalProperties":false}},"required":["id","name","storage","inference","compute"],"additionalProperties":false}}},"required":["period","resourceGroups"],"additionalProperties":false}}},"required":["currency","periods"],"additionalProperties":false}}},"description":"Org usage breakdown per resource group, indexed by monthly period"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","schema":{"default":"2026-10-01T00:00:00.000Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"endDate","in":"query","schema":{"default":"2026-10-15T09:38:55.296Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]}},"/api/organizations/{name}/billing/usage-by-inference-session":{"get":{"description":"Get org inference-provider usage broken down per session id, as a time-series of monthly periods.","summary":"Session inference usage","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"currency":{"type":"string"},"periods":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"sessions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"requestCount":{"type":"number"},"costCents":{"type":"number"}},"required":["id","requestCount","costCents"],"additionalProperties":false}}},"required":["period","sessions"],"additionalProperties":false}}},"required":["currency","periods"],"additionalProperties":false}}},"description":"Inference-provider usage breakdown per session, indexed by monthly period"}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","schema":{"default":"2026-10-01T00:00:00.000Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"endDate","in":"query","schema":{"default":"2026-10-15T09:38:55.297Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]}},"/api/organizations/{name}/billing/usage/inference":{"get":{"description":"Get org inference-provider usage per member, model and provider, returned as a time-series of daily periods. Window is [startDate, endDate], defaults to the current month. Both dates must fall within the last 12 months. Returns up to `limit` periods, follow the `Link` header for the next ones. Requests are included up to 2 hours after they are made.","summary":"Inference usage","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"period":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"usage":{"type":"array","items":{"type":"object","properties":{"user":{"type":["string","null"]},"model":{"type":["string","null"]},"provider":{"type":"string"},"requestCount":{"type":"number"},"costCents":{"type":"number"},"inputTokens":{"type":"number"},"outputTokens":{"type":"number"},"cachedInputTokens":{"type":"number"}},"required":["user","model","provider","requestCount","costCents","inputTokens","outputTokens","cachedInputTokens"],"additionalProperties":false}}},"required":["period","usage"],"additionalProperties":false}}}},"description":"Org inference-provider usage per member, model and provider, indexed by daily period","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","schema":{"default":"2026-10-01T00:00:00.000Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"endDate","in":"query","schema":{"default":"2026-10-15T09:38:55.297Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"limit","in":"query","schema":{"default":7,"description":"Number of daily periods per page","type":"integer","minimum":1,"maximum":31},"required":false}],"x-badges":[{"name":"Enterprise","position":"before"},{"name":"Enterprise Plus","position":"before"},{"name":"Academia Hub","position":"before"}]}},"/api/organizations/{name}/billing/usage/live":{"get":{"description":"Get live usage for org","summary":"Stream usage","tags":["orgs"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/settings/billing/usage-v2":{"get":{"description":"Get user usage for a given period","summary":"Get user usage","tags":["users"],"parameters":[{"name":"startDate","in":"query","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true},{"name":"endDate","in":"query","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"required":true}]}},"/api/settings/billing/usage-by-inference-session":{"get":{"description":"Get user inference-provider usage broken down per session id","summary":"Session inference usage","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"currency":{"type":"string"},"periods":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"sessions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"requestCount":{"type":"number"},"costCents":{"type":"number"}},"required":["id","requestCount","costCents"],"additionalProperties":false}}},"required":["period","sessions"],"additionalProperties":false}}},"required":["currency","periods"],"additionalProperties":false}}},"description":"Inference-provider usage breakdown per session, indexed by monthly period"}},"parameters":[{"name":"startDate","in":"query","schema":{"default":"2026-10-01T00:00:00.000Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"endDate","in":"query","schema":{"default":"2026-10-15T09:38:55.297Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]}},"/api/settings/billing/usage/jobs":{"get":{"description":"Get user Jobs usage for current subscription period","summary":"Get jobs usage","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"usage":{"type":"object","properties":{"usedMicroUsd":{"type":"number"},"totalMinutes":{"type":"number"},"periodStart":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"periodEnd":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"jobDetails":{"type":"array","items":{"type":"object","properties":{"jobId":{"type":"string"},"hardwareFlavor":{"type":"string"},"totalMinutes":{"type":"number"},"totalCostMicroUsd":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"completedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["jobId","hardwareFlavor","totalMinutes","totalCostMicroUsd","startedAt"],"additionalProperties":false}}},"required":["usedMicroUsd","totalMinutes","periodStart","periodEnd","jobDetails"],"additionalProperties":false},"hasAccess":{"type":"boolean"}},"required":["usage","hasAccess"],"additionalProperties":false}}},"description":"Jobs usage information"}}}},"/api/settings/billing/usage/live":{"get":{"description":"Get live usage for user","summary":"Stream usage","tags":["users"]}},"/api/settings/metrics/live":{"get":{"description":"Get live usage and running jobs count for the logged-in user, over a single SSE connection","summary":"Stream metrics","tags":["users"]}},"/api/users/{username}/billing/usage/live":{"get":{"description":"Get live usage for user","summary":"Stream usage","tags":["users"],"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/users/{username}/overview":{"get":{"summary":"User overview","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"hardwareItems":{"description":"The user's hardware items, unless the user set them as private","type":"array","items":{"type":"object","properties":{"sku":{"type":"array","prefixItems":[{"type":"string"},{"type":"string"},{"type":"string"}],"items":false,"minItems":3,"maxItems":3,"description":"Hardware SKU as [type, vendor, model]"},"mem":{"type":"number","description":"Memory in GB"},"num":{"type":"number","description":"Number of units"},"isPrimary":{"type":"boolean","const":true}},"required":["sku","mem","num"],"additionalProperties":false}}},"required":["_id","avatarUrl","fullname","isPro","user","type","createdAt"],"additionalProperties":false}}},"description":"User overview data including their organizations, stats, and creation date"}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/users/{username}/socials":{"get":{"description":"Get a user's social media handles","summary":"Get social handles","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string"},"user":{"type":"string"},"socialHandles":{"type":"object","properties":{"twitter":{"type":"string"},"github":{"type":"string"},"linkedin":{"type":"string"},"bluesky":{"type":"string"}},"additionalProperties":false}},"required":["_id","user","socialHandles"],"additionalProperties":false}}},"description":"The user's social media handles. Only includes handles that the user has provided."}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/users/{username}/avatar":{"get":{"description":"This endpoint returns a JSON with the avatar URL for the user.\n\nIf called with the `Sec-Fetch-Dest: image` header, it instead redirects to the avatar URL","summary":"Retrieve user avatar","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"avatarUrl":{"type":"string","format":"uri"}},"required":["avatarUrl"],"additionalProperties":false}}},"description":"Avatar URL"}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"redirect","in":"query","schema":{"description":"Redirect to the avatar url instead of returning it","type":"string"},"required":false}]}},"/api/users/{username}/likes":{"get":{"description":"List public repos liked by a user","summary":"List user likes","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"repo":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]}},"required":["name","type"],"additionalProperties":false}},"required":["createdAt","repo"],"additionalProperties":false}}}},"description":"Likes on public repositories","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"description":"Max number of likes to return","type":"integer","minimum":1,"maximum":9007199254740991},"required":false},{"name":"cursor","in":"query","schema":{"description":"Cursor for pagination. Always check to see if more results, a page can be empty or not filled.","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false}]}},"/api/users/{username}/followers":{"get":{"summary":"List user followers","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"anyOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"}},"required":["_id","avatarUrl","fullname","isPro","user","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"followedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["_id","followedAt"],"additionalProperties":false,"description":"Returned when `expand=followedAt` is set"}]}}}},"description":"The users following the given user","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Cursor for pagination","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"limit","in":"query","schema":{"default":500,"description":"Max number of followers to return","type":"integer","minimum":10,"maximum":10000},"required":false},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["followedAt"]}},"required":false}]}},"/api/users/{username}/following":{"get":{"summary":"List followed users","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"}},"required":["_id","avatarUrl","fullname","isPro","user","type"],"additionalProperties":false}}}},"description":"The users followed by the given user","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Cursor for pagination","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false}]}},"/api/users/{username}/following/orgs":{"get":{"summary":"List followed organizations","tags":["users"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"orgType":{"type":"string","enum":["company","university","classroom","non-profit","government","community"]},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isFollowing":{"type":"boolean"},"numModels":{"type":"number"},"followerCount":{"type":"number"},"reasonToFollow":{"type":"string"},"emailDomains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"verified":{"type":"boolean"}},"required":["domain"],"additionalProperties":false}}},"required":["_id","avatarUrl","name","fullname","type","isHf"],"additionalProperties":false}}}},"description":"The organizations followed by the given user","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Cursor for pagination","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false}]}},"/api/organizations/{name}/socials":{"get":{"description":"Get an organization's social media handles","summary":"Get social handles","tags":["orgs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string"},"org":{"type":"string"},"socialHandles":{"type":"object","properties":{"twitter":{"type":"string"},"github":{"type":"string"},"linkedin":{"type":"string"}},"additionalProperties":false}},"required":["_id","org","socialHandles"],"additionalProperties":false}}},"description":"The organization's social media handles. Only includes handles that the organization has provided."}},"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/avatars/{namespace}":{"get":{"description":"Display the avatar for any user or organization. This endpoint redirects to the avatar URL for either a user or an organization","summary":"Get avatar","tags":["users","orgs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/inference-endpoints/{namespace}/auth-check/{perms}":{"post":{"description":"Check if the user has access to the inference endpoint","summary":"Check access","tags":["inference-endpoints"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hasHfLevelAccess":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"}},"required":["namespace","user"],"additionalProperties":false}}},"description":"The user has access to the inference endpoint/resource"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hasHfLevelAccess":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false},"patternRestrictions":{"type":"array","items":{"type":"string"}},"resourceGroupId":{"type":"string"}},"required":["namespace","user","patternRestrictions"],"additionalProperties":false}}},"description":"The user has access to the resource, but the endpoint name is restricted by pattern restrictions. Can only be returned if `endpoint` is not provided in the path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"perms","in":"path","required":true,"schema":{"type":"string","enum":["read","write","infer"]}},{"name":"own","in":"query","schema":{"type":"string"},"required":false},{"name":"is_creator","in":"query","schema":{"type":"string"},"required":false},{"name":"creator_id","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"incur_cost","in":"query","schema":{"type":"string"},"required":false},{"name":"resource_group_id","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"repo_id","in":"query","schema":{"type":"string"},"required":false}]}},"/api/inference-endpoints/{namespace}/{endpoint}/auth-check/{perms}":{"post":{"description":"Check if the user has access to the inference endpoint","summary":"Check access","tags":["inference-endpoints"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hasHfLevelAccess":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"}},"required":["namespace","user"],"additionalProperties":false}}},"description":"The user has access to the inference endpoint/resource"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hasHfLevelAccess":{"type":"boolean"}},"required":["id","name"],"additionalProperties":false},"patternRestrictions":{"type":"array","items":{"type":"string"}},"resourceGroupId":{"type":"string"}},"required":["namespace","user","patternRestrictions"],"additionalProperties":false}}},"description":"The user has access to the resource, but the endpoint name is restricted by pattern restrictions. Can only be returned if `endpoint` is not provided in the path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"endpoint","in":"path","required":true,"schema":{"type":"string"}},{"name":"perms","in":"path","required":true,"schema":{"type":"string","enum":["read","write","infer"]}},{"name":"own","in":"query","schema":{"type":"string"},"required":false},{"name":"is_creator","in":"query","schema":{"type":"string"},"required":false},{"name":"creator_id","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"incur_cost","in":"query","schema":{"type":"string"},"required":false},{"name":"resource_group_id","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"repo_id","in":"query","schema":{"type":"string"},"required":false}]}},"/api/jobs/{namespace}/auth-check/{perms}":{"post":{"description":"Check if the user has access to jobs in the namespace","summary":"Check access","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"required":["namespace","user"],"additionalProperties":false}}},"description":"The user has access to jobs in the namespace"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"perms","in":"path","required":true,"schema":{"type":"string","enum":["read","write"]}}]}},"/api/jobs/{namespace}/{jobId}/auth-check/{perms}":{"post":{"description":"Check if the user has access to jobs in the namespace","summary":"Check access","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"required":["namespace","user"],"additionalProperties":false}}},"description":"The user has access to jobs in the namespace"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}},{"name":"perms","in":"path","required":true,"schema":{"type":"string","enum":["read","write"]}}]}},"/api/models/{namespace}/{repo}/likers":{"get":{"summary":"List likers","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["likedAt"]}},"required":false}]}},"/api/datasets/{namespace}/{repo}/likers":{"get":{"summary":"List likers","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["likedAt"]}},"required":false}]}},"/api/spaces/{namespace}/{repo}/likers":{"get":{"summary":"List likers","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["likedAt"]}},"required":false}]}},"/api/kernels/{namespace}/{repo}/likers":{"get":{"summary":"List likers","tags":["kernels"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["likedAt"]}},"required":false}]}},"/api/models/{namespace}/{repo}/treesize/{rev}/{path}":{"get":{"description":"Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.","summary":"Get folder size","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"The normalized path of the subtree, starting with a slash"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total size in bytes of all files under the subtree"}},"required":["path","size"],"additionalProperties":false}}},"description":"Total size of a repository at a given revision, under the given path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/spaces/{namespace}/{repo}/treesize/{rev}/{path}":{"get":{"description":"Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.","summary":"Get folder size","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"The normalized path of the subtree, starting with a slash"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total size in bytes of all files under the subtree"}},"required":["path","size"],"additionalProperties":false}}},"description":"Total size of a repository at a given revision, under the given path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/datasets/{namespace}/{repo}/treesize/{rev}/{path}":{"get":{"description":"Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.","summary":"Get folder size","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"The normalized path of the subtree, starting with a slash"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total size in bytes of all files under the subtree"}},"required":["path","size"],"additionalProperties":false}}},"description":"Total size of a repository at a given revision, under the given path"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/models/{namespace}/{repo}/safetensors-metadata/{path}":{"get":{"description":"Get the parsed headers of all the shards of a sharded safetensors model in a single request, instead of reading the index and then the header of every shard.\n\nOnly the `main` revision is served: the `ETag` is the commit sha of `main`, and requests with a matching `If-None-Match` get a 304. Returns 400 when the path isn't a `.safetensors.index.json` file and 422 when the files can't be parsed.\n\nThe response is brotli-compressed when the client accepts it, otherwise gzip-compressed or plain JSON.","summary":"Get safetensors metadata","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sharded":{"type":"boolean","const":true},"index":{"type":"object","properties":{"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number"]}}},"additionalProperties":false,"description":"The index file, without its `weight_map`: each shard header lists its tensors"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"object","properties":{"dtype":{"type":"string"},"shape":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"data_offsets":{"type":"array","prefixItems":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}],"items":false,"minItems":2,"maxItems":2}},"required":["dtype","shape","data_offsets"],"additionalProperties":false},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}]}},"description":"The header of each shard, by shard file name: `__metadata__`, then the `dtype`, `shape` and `data_offsets` of each tensor"},"parameterCount":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":"Number of parameters per dtype"},"parameterTotal":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"filepaths":{"type":"array","items":{"type":"string"},"description":"The index file, then every shard file"}},"required":["sharded","index","headers","parameterCount","filepaths"],"additionalProperties":false}}},"description":"Parsed headers of the shards of a sharded safetensors model"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/models/{namespace}/{repo}/lfs-files":{"get":{"description":"List Xet/LFS files for a repo","summary":"List Large files","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"pusher":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false},"ref":{"type":"string"},"fileOid":{"type":"string"},"oid":{"type":"string"},"size":{"type":"number"},"pushedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"filename":{"description":"Potential filename of the LFS file","type":"string"},"xetHash":{"type":"string"}},"required":["fileOid","oid","size","pushedAt"],"additionalProperties":false}}}},"description":"List of Xet/LFS files for the repo","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","type":"string","enum":["asc","desc"]},"required":false},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":1,"maximum":1000},"required":false},{"name":"sort","in":"query","schema":{"default":"size","type":"string","enum":["size","pushedAt"]},"required":false},{"name":"xet","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/lfs-files":{"get":{"description":"List Xet/LFS files for a repo","summary":"List Large files","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"pusher":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false},"ref":{"type":"string"},"fileOid":{"type":"string"},"oid":{"type":"string"},"size":{"type":"number"},"pushedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"filename":{"description":"Potential filename of the LFS file","type":"string"},"xetHash":{"type":"string"}},"required":["fileOid","oid","size","pushedAt"],"additionalProperties":false}}}},"description":"List of Xet/LFS files for the repo","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","type":"string","enum":["asc","desc"]},"required":false},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":1,"maximum":1000},"required":false},{"name":"sort","in":"query","schema":{"default":"size","type":"string","enum":["size","pushedAt"]},"required":false},{"name":"xet","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/lfs-files":{"get":{"description":"List Xet/LFS files for a repo","summary":"List Large files","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"pusher":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false},"ref":{"type":"string"},"fileOid":{"type":"string"},"oid":{"type":"string"},"size":{"type":"number"},"pushedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"filename":{"description":"Potential filename of the LFS file","type":"string"},"xetHash":{"type":"string"}},"required":["fileOid","oid","size","pushedAt"],"additionalProperties":false}}}},"description":"List of Xet/LFS files for the repo","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"direction","in":"query","schema":{"default":"desc","type":"string","enum":["asc","desc"]},"required":false},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":1,"maximum":1000},"required":false},{"name":"sort","in":"query","schema":{"default":"size","type":"string","enum":["size","pushedAt"]},"required":false},{"name":"xet","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/lfs-files/batch":{"post":{"description":"Delete Xet/LFS files in batch","summary":"Delete Large files","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deletions":{"type":"object","properties":{"sha":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"rewriteHistory":{"default":true,"type":"boolean"}},"required":["sha"]}},"required":["deletions"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/lfs-files/batch":{"post":{"description":"Delete Xet/LFS files in batch","summary":"Delete Large files","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deletions":{"type":"object","properties":{"sha":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"rewriteHistory":{"default":true,"type":"boolean"}},"required":["sha"]}},"required":["deletions"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/lfs-files/batch":{"post":{"description":"Delete Xet/LFS files in batch","summary":"Delete Large files","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deletions":{"type":"object","properties":{"sha":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}},"rewriteHistory":{"default":true,"type":"boolean"}},"required":["sha"]}},"required":["deletions"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/lfs-files/{sha}":{"delete":{"description":"Delete a Xet/LFS file","summary":"Delete Large file","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"schema":{"type":"string"}},{"name":"rewriteHistory","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/lfs-files/{sha}":{"delete":{"description":"Delete a Xet/LFS file","summary":"Delete Large file","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"schema":{"type":"string"}},{"name":"rewriteHistory","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/lfs-files/{sha}":{"delete":{"description":"Delete a Xet/LFS file","summary":"Delete Large file","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"schema":{"type":"string"}},{"name":"rewriteHistory","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["kernels"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/lfs-files/duplicate":{"post":{"description":"Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.","summary":"Duplicate xet files","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"target":{"type":"object","properties":{"type":{"type":"string","enum":["model","space","dataset","kernel"]},"name":{"type":"string","minLength":1}},"required":["type","name"]},"files":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"sha256":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-fA-F]{64}$"},"filename":{"type":"string","maxLength":1000}},"required":["xetHash","sha256"]}}},"required":["target","files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"},"207":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all requested files were duplicated (or already present)"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of unique files processed"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of files duplicated or already present in the target"},"failed":{"type":"array","items":{"type":"object","properties":{"xetHash":{"type":"string","description":"Xet content hash of the file that failed"},"sha256":{"type":"string","description":"sha256 of the file that failed"},"error":{"type":"string","description":"Error message"}},"required":["xetHash","sha256","error"],"additionalProperties":false},"description":"Per-file failures"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Duplicate xet files response"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/commits/{rev}":{"get":{"summary":"List commits","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"message":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"user":{"type":"string"},"avatar":{"type":"string"}},"required":["user"],"additionalProperties":false}},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"formatted":{"description":"Available if expand includes formatted","type":"object","properties":{"title":{"type":"string"},"message":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["id","title","message","authors","date"],"additionalProperties":false}}}},"description":"Commits list","headers":{"X-Total-Count":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":false},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["formatted"]}},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":1000},"required":false}]}},"/api/spaces/{namespace}/{repo}/commits/{rev}":{"get":{"summary":"List commits","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"message":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"user":{"type":"string"},"avatar":{"type":"string"}},"required":["user"],"additionalProperties":false}},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"formatted":{"description":"Available if expand includes formatted","type":"object","properties":{"title":{"type":"string"},"message":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["id","title","message","authors","date"],"additionalProperties":false}}}},"description":"Commits list","headers":{"X-Total-Count":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":false},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["formatted"]}},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":1000},"required":false}]}},"/api/datasets/{namespace}/{repo}/commits/{rev}":{"get":{"summary":"List commits","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"message":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"user":{"type":"string"},"avatar":{"type":"string"}},"required":["user"],"additionalProperties":false}},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"formatted":{"description":"Available if expand includes formatted","type":"object","properties":{"title":{"type":"string"},"message":{"type":"string"}},"required":["title"],"additionalProperties":false}},"required":["id","title","message","authors","date"],"additionalProperties":false}}}},"description":"Commits list","headers":{"X-Total-Count":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link to the next page"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":false},{"name":"expand","in":"query","schema":{"type":"array","items":{"type":"string","enum":["formatted"]}},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":1000},"required":false}]}},"/api/models/{namespace}/{repo}/refs":{"get":{"summary":"List references","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"branches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"converts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"pullRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}}},"required":["tags","branches","converts"],"additionalProperties":false}}},"description":"List of references in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_prs","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/refs":{"get":{"summary":"List references","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"branches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"converts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"pullRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}}},"required":["tags","branches","converts"],"additionalProperties":false}}},"description":"List of references in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_prs","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/refs":{"get":{"summary":"List references","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"branches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"converts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}},"pullRequests":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ref":{"type":"string"},"targetCommit":{"type":"string"}},"required":["name","ref","targetCommit"],"additionalProperties":false}}},"required":["tags","branches","converts"],"additionalProperties":false}}},"description":"List of references in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"include_prs","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/compare/{compare}":{"get":{"summary":"Get compare rev","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The diff between the two revisions"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"compare","in":"path","required":true,"schema":{"type":"string"}},{"name":"raw","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/compare/{compare}":{"get":{"summary":"Get compare rev","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The diff between the two revisions"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"compare","in":"path","required":true,"schema":{"type":"string"}},{"name":"raw","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/compare/{compare}":{"get":{"summary":"Get compare rev","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The diff between the two revisions"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"compare","in":"path","required":true,"schema":{"type":"string"}},{"name":"raw","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/paths-info/{rev}":{"post":{"summary":"List paths info","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]},"expand":{"anyOf":[{"type":"string"},{"default":false,"type":"boolean"}],"description":"Expand the response with the last commit and security file status"}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"type":"number"},"lfs":{"type":"object","properties":{"pointerSize":{"type":"number"}},"required":["pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"path":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid","size","path"],"additionalProperties":false}}}},"description":"List of paths in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/paths-info/{rev}":{"post":{"summary":"List paths info","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]},"expand":{"anyOf":[{"type":"string"},{"default":false,"type":"boolean"}],"description":"Expand the response with the last commit and security file status"}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"type":"number"},"lfs":{"type":"object","properties":{"pointerSize":{"type":"number"}},"required":["pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"path":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid","size","path"],"additionalProperties":false}}}},"description":"List of paths in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/paths-info/{rev}":{"post":{"summary":"List paths info","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]},"expand":{"anyOf":[{"type":"string"},{"default":false,"type":"boolean"}],"description":"Expand the response with the last commit and security file status"}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"type":"number"},"lfs":{"type":"object","properties":{"pointerSize":{"type":"number"}},"required":["pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"path":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid","size","path"],"additionalProperties":false}}}},"description":"List of paths in the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/preupload/{rev}":{"post":{"description":"Check if a file should be uploaded through the Large File mechanism or directly.","summary":"Check upload method","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"size":{"type":"number"},"sample":{"type":"string"}},"required":["path","size","sample"]}},"gitAttributes":{"description":"Provide this parameter if you plan to modify `.gitattributes` yourself at the same time as uploading LFS files. Note that this is not needed if you solely rely on automatic LFS detection from HF: the commit endpoint will automatically edit the `.gitattributes` file to track the files passed to its `lfsFiles` param.","type":"string"},"gitIgnore":{"description":"Content of the .gitignore file for the revision. Optional, otherwise takes the existing content of `.gitignore` for the revision.","type":"string"}},"required":["files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"uploadMode":{"type":"string","enum":["lfs","regular"]},"shouldIgnore":{"type":"boolean"},"oid":{"description":"The oid of the blob if it already exists in the repository. If the blob is a LFS file, it'll be the lfs oid.","type":"string"}},"required":["path","uploadMode","shouldIgnore"],"additionalProperties":false}},"commitOid":{"type":"string"}},"required":["files","commitOid"],"additionalProperties":false}}},"description":"Files to be uploaded."},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"The request is invalid"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/preupload/{rev}":{"post":{"description":"Check if a file should be uploaded through the Large File mechanism or directly.","summary":"Check upload method","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"size":{"type":"number"},"sample":{"type":"string"}},"required":["path","size","sample"]}},"gitAttributes":{"description":"Provide this parameter if you plan to modify `.gitattributes` yourself at the same time as uploading LFS files. Note that this is not needed if you solely rely on automatic LFS detection from HF: the commit endpoint will automatically edit the `.gitattributes` file to track the files passed to its `lfsFiles` param.","type":"string"},"gitIgnore":{"description":"Content of the .gitignore file for the revision. Optional, otherwise takes the existing content of `.gitignore` for the revision.","type":"string"}},"required":["files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"uploadMode":{"type":"string","enum":["lfs","regular"]},"shouldIgnore":{"type":"boolean"},"oid":{"description":"The oid of the blob if it already exists in the repository. If the blob is a LFS file, it'll be the lfs oid.","type":"string"}},"required":["path","uploadMode","shouldIgnore"],"additionalProperties":false}},"commitOid":{"type":"string"}},"required":["files","commitOid"],"additionalProperties":false}}},"description":"Files to be uploaded."},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"The request is invalid"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/preupload/{rev}":{"post":{"description":"Check if a file should be uploaded through the Large File mechanism or directly.","summary":"Check upload method","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"size":{"type":"number"},"sample":{"type":"string"}},"required":["path","size","sample"]}},"gitAttributes":{"description":"Provide this parameter if you plan to modify `.gitattributes` yourself at the same time as uploading LFS files. Note that this is not needed if you solely rely on automatic LFS detection from HF: the commit endpoint will automatically edit the `.gitattributes` file to track the files passed to its `lfsFiles` param.","type":"string"},"gitIgnore":{"description":"Content of the .gitignore file for the revision. Optional, otherwise takes the existing content of `.gitignore` for the revision.","type":"string"}},"required":["files"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"uploadMode":{"type":"string","enum":["lfs","regular"]},"shouldIgnore":{"type":"boolean"},"oid":{"description":"The oid of the blob if it already exists in the repository. If the blob is a LFS file, it'll be the lfs oid.","type":"string"}},"required":["path","uploadMode","shouldIgnore"],"additionalProperties":false}},"commitOid":{"type":"string"}},"required":["files","commitOid"],"additionalProperties":false}}},"description":"Files to be uploaded."},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"The request is invalid"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/xet-write-token/{rev}":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/xet-write-token/{rev}":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/xet-write-token/{rev}":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/xet-write-token":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/xet-write-token":{"get":{"description":"Get a write short-lived access token for XET upload","summary":"Xet write token","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetWriteAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/xet-read-token/{rev}":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/xet-read-token/{rev}":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/xet-read-token/{rev}":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/xet-read-token":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/xet-read-token":{"get":{"description":"Get a read short-lived access token for XET","summary":"Xet read token","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"casUrl":{"type":"string"},"exp":{"type":"number"},"accessToken":{"type":"string"}},"required":["casUrl","exp","accessToken"],"additionalProperties":false}}},"description":"The response from the getXetReadAccessToken endpoint.","headers":{"X-Xet-Cas-Url":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Token-Expiration":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}},"X-Xet-Access-Token":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/commit/{rev}":{"post":{"description":"For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit.\n\nJSON-lines payload:\n```json\n{\n \"key\": \"header\",\n \"value\": {\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n }\n}\n{\n \"key\": \"file\",\n \"value\": {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n{\n \"key\": \"deletedEntry\",\n \"value\": {\n \"path\": \"string (REQUIRED)\"\n }\n}\n{\n \"key\": \"lfsFile\",\n \"value\": {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n```\n\nJSON payload:\n```json\n{\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n \"files\": [\n {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ],\n \"deletedEntries\": [\n {\n \"path\": \"string (REQUIRED)\"\n }\n ],\n \"lfsFiles\": [\n {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ]\n}\n```\n","summary":"Commit","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"Whether the commit was successful"},"pullRequestUrl":{"type":"string","description":"The URL of the pull request"},"commitOid":{"type":"string","description":"The OID of the commit"},"commitUrl":{"type":"string","description":"The URL of the commit"},"hookOutput":{"type":"string","description":"The output of the git hook"}},"required":["success","commitOid","commitUrl","hookOutput"],"additionalProperties":false}}},"description":"The response of the commit"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"create_pr","in":"query","schema":{"description":"Whether to create a pull request from the commit","type":"string"},"required":false},{"name":"hot_reload","in":"query","schema":{"description":"For Spaces, whether to try to hot reload the commit (only for single python files updates)","type":"string"},"required":false},{"name":"Content-Type","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"application/x-ndjson","description":"`application/x-ndjson` if you to commit by json lines","type":"string","enum":["application/json","application/x-ndjson"]}}]}},"/api/datasets/{namespace}/{repo}/commit/{rev}":{"post":{"description":"For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit.\n\nJSON-lines payload:\n```json\n{\n \"key\": \"header\",\n \"value\": {\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n }\n}\n{\n \"key\": \"file\",\n \"value\": {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n{\n \"key\": \"deletedEntry\",\n \"value\": {\n \"path\": \"string (REQUIRED)\"\n }\n}\n{\n \"key\": \"lfsFile\",\n \"value\": {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n```\n\nJSON payload:\n```json\n{\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n \"files\": [\n {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ],\n \"deletedEntries\": [\n {\n \"path\": \"string (REQUIRED)\"\n }\n ],\n \"lfsFiles\": [\n {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ]\n}\n```\n","summary":"Commit","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"Whether the commit was successful"},"pullRequestUrl":{"type":"string","description":"The URL of the pull request"},"commitOid":{"type":"string","description":"The OID of the commit"},"commitUrl":{"type":"string","description":"The URL of the commit"},"hookOutput":{"type":"string","description":"The output of the git hook"}},"required":["success","commitOid","commitUrl","hookOutput"],"additionalProperties":false}}},"description":"The response of the commit"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"create_pr","in":"query","schema":{"description":"Whether to create a pull request from the commit","type":"string"},"required":false},{"name":"hot_reload","in":"query","schema":{"description":"For Spaces, whether to try to hot reload the commit (only for single python files updates)","type":"string"},"required":false},{"name":"Content-Type","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"application/x-ndjson","description":"`application/x-ndjson` if you to commit by json lines","type":"string","enum":["application/json","application/x-ndjson"]}}]}},"/api/spaces/{namespace}/{repo}/commit/{rev}":{"post":{"description":"For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit.\n\nJSON-lines payload:\n```json\n{\n \"key\": \"header\",\n \"value\": {\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n }\n}\n{\n \"key\": \"file\",\n \"value\": {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n{\n \"key\": \"deletedEntry\",\n \"value\": {\n \"path\": \"string (REQUIRED)\"\n }\n}\n{\n \"key\": \"lfsFile\",\n \"value\": {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n}\n```\n\nJSON payload:\n```json\n{\n \"summary\": \"string (REQUIRED)\",\n \"description\": \"string (OPTIONAL - defaults to empty string)\",\n \"parentCommit\": \"string (OPTIONAL - 40-character hex SHA)\"\n \"files\": [\n {\n \"path\": \"string (REQUIRED)\",\n \"content\": \"string (OPTIONAL - required if oldPath not set)\",\n \"encoding\": \"utf-8 | base64 (OPTIONAL - defaults to utf-8)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ],\n \"deletedEntries\": [\n {\n \"path\": \"string (REQUIRED)\"\n }\n ],\n \"lfsFiles\": [\n {\n \"path\": \"string (REQUIRED - max 1000 chars)\",\n \"oid\": \"string (OPTIONAL - required if oldPath not set, 64 hex chars)\",\n \"algo\": \"sha256 (OPTIONAL - only sha256 supported)\",\n \"size\": \"number (OPTIONAL - required if oldPath is set)\",\n \"oldPath\": \"string (OPTIONAL - for move/rename operations)\"\n }\n ]\n}\n```\n","summary":"Commit","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"Whether the commit was successful"},"pullRequestUrl":{"type":"string","description":"The URL of the pull request"},"commitOid":{"type":"string","description":"The OID of the commit"},"commitUrl":{"type":"string","description":"The URL of the commit"},"hookOutput":{"type":"string","description":"The output of the git hook"}},"required":["success","commitOid","commitUrl","hookOutput"],"additionalProperties":false}}},"description":"The response of the commit"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"create_pr","in":"query","schema":{"description":"Whether to create a pull request from the commit","type":"string"},"required":false},{"name":"hot_reload","in":"query","schema":{"description":"For Spaces, whether to try to hot reload the commit (only for single python files updates)","type":"string"},"required":false},{"name":"Content-Type","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"application/x-ndjson","description":"`application/x-ndjson` if you to commit by json lines","type":"string","enum":["application/json","application/x-ndjson"]}}]}},"/api/models/{namespace}/{repo}/tag/{rev}":{"post":{"summary":"Create tag","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tag":{"type":"string"},"message":{"type":"string"}},"required":["tag"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a tag","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/tag/{rev}":{"post":{"summary":"Create tag","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tag":{"type":"string"},"message":{"type":"string"}},"required":["tag"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a tag","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/tag/{rev}":{"post":{"summary":"Create tag","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tag":{"type":"string"},"message":{"type":"string"}},"required":["tag"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a tag","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/branch/{rev}":{"post":{"summary":"Create branch","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"startingPoint":{"description":"The commit to start from","type":"string"},"emptyBranch":{"default":false,"description":"Create an empty branch","type":"boolean"},"overwrite":{"default":false,"description":"Overwrite the branch if it already exists","type":"boolean"}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a branch","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/branch/{rev}":{"post":{"summary":"Create branch","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"startingPoint":{"description":"The commit to start from","type":"string"},"emptyBranch":{"default":false,"description":"Create an empty branch","type":"boolean"},"overwrite":{"default":false,"description":"Overwrite the branch if it already exists","type":"boolean"}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a branch","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/branch/{rev}":{"post":{"summary":"Create branch","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"startingPoint":{"description":"The commit to start from","type":"string"},"emptyBranch":{"default":false,"description":"Create an empty branch","type":"boolean"},"overwrite":{"default":false,"description":"Overwrite the branch if it already exists","type":"boolean"}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a branch","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/resource-group":{"post":{"description":"Add the repository to a resource group","summary":"Add resource group","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to add the repository to, if null, the repository will be removed from the resource group"}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["name","type","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get resource group","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group of the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/resource-group":{"post":{"description":"Add the repository to a resource group","summary":"Add resource group","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to add the repository to, if null, the repository will be removed from the resource group"}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["name","type","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get resource group","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group of the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/resource-group":{"post":{"description":"Add the repository to a resource group","summary":"Add resource group","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to add the repository to, if null, the repository will be removed from the resource group"}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["name","type","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get resource group","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group of the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/resource-group":{"post":{"description":"Add the repository to a resource group","summary":"Add resource group","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to add the repository to, if null, the repository will be removed from the resource group"}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["name","type","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get resource group","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group of the repository"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/super-squash/{rev}":{"post":{"description":"Squash all commits in the current ref into a single commit with the given message. Action is irreversible.","summary":"Squash ref","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string","maxLength":500}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"commitId":{"type":"string","description":"The new commit ID after the squash"}},"required":["commitId"],"additionalProperties":false}}},"description":"Response containing the new commit ID after the squash"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/super-squash/{rev}":{"post":{"description":"Squash all commits in the current ref into a single commit with the given message. Action is irreversible.","summary":"Squash ref","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string","maxLength":500}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"commitId":{"type":"string","description":"The new commit ID after the squash"}},"required":["commitId"],"additionalProperties":false}}},"description":"Response containing the new commit ID after the squash"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/super-squash/{rev}":{"post":{"description":"Squash all commits in the current ref into a single commit with the given message. Action is irreversible.","summary":"Squash ref","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string","maxLength":500}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"commitId":{"type":"string","description":"The new commit ID after the squash"}},"required":["commitId"],"additionalProperties":false}}},"description":"Response containing the new commit ID after the squash"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/settings":{"put":{"description":"Update the settings of a repo","summary":"Update repo settings","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}},"additionalProperties":false}}},"description":"The updated repo settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/settings":{"put":{"description":"Update the settings of a repo","summary":"Update repo settings","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}},"additionalProperties":false}}},"description":"The updated repo settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/settings":{"put":{"description":"Update the settings of a repo","summary":"Update repo settings","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces.","type":"string","enum":["private","public","protected"]},"discussionsDisabled":{"type":"boolean"},"discussionsSorting":{"type":"string","enum":["recently-created","trending","reactions"]},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"orgMembersGated":{"description":"If true, members of the owning org (except admins) must also go through the gated access-request flow.","type":"boolean"},"gatedNotificationsEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"gatedNotificationsMode":{"type":"string","enum":["bulk","real-time"]}},"additionalProperties":false}}},"description":"The updated repo settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/tree/{rev}/{path}":{"get":{"description":"List the content of a repository tree, with pagination support.","summary":"List folder content","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"description":"If the file is a LFS pointer, it'll return the size of the remote file","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lfs":{"type":"object","properties":{"oid":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pointerSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["oid","size","pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid"],"additionalProperties":false}}}},"description":"List of entries in the repository tree","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, if applicable"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"expand","in":"query","schema":{"description":"If true, returns returns associated commit data for each entry and security scanner metadata.","type":"string"},"required":false},{"name":"recursive","in":"query","schema":{"description":"If true, returns the tree recursively.","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"1.000 by default, 100 by default for expand=true"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/tree/{rev}/{path}":{"get":{"description":"List the content of a repository tree, with pagination support.","summary":"List folder content","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"description":"If the file is a LFS pointer, it'll return the size of the remote file","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lfs":{"type":"object","properties":{"oid":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pointerSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["oid","size","pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid"],"additionalProperties":false}}}},"description":"List of entries in the repository tree","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, if applicable"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"expand","in":"query","schema":{"description":"If true, returns returns associated commit data for each entry and security scanner metadata.","type":"string"},"required":false},{"name":"recursive","in":"query","schema":{"description":"If true, returns the tree recursively.","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"1.000 by default, 100 by default for expand=true"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/tree/{rev}/{path}":{"get":{"description":"List the content of a repository tree, with pagination support.","summary":"List folder content","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory","unknown"]},"oid":{"type":"string"},"size":{"description":"If the file is a LFS pointer, it'll return the size of the remote file","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lfs":{"type":"object","properties":{"oid":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pointerSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["oid","size","pointerSize"],"additionalProperties":false},"xetHash":{"type":"string"},"lastCommit":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","title","date"],"additionalProperties":false},"securityFileStatus":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"jFrogScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"protectAiScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"avScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"pickleImportScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false},"virusTotalScan":{"type":"object","properties":{"status":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]},"message":{"type":"string"},"reportLink":{"type":"string"},"reportLabel":{"type":"string"},"pickleImports":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string"},"name":{"type":"string"},"safety":{"type":"string","enum":["innocuous","suspicious","dangerous"]}},"required":["module","name","safety"],"additionalProperties":false}},"version":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["status","avScan","pickleImportScan"],"additionalProperties":false}},"required":["type","oid"],"additionalProperties":false}}}},"description":"List of entries in the repository tree","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, if applicable"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"expand","in":"query","schema":{"description":"If true, returns returns associated commit data for each entry and security scanner metadata.","type":"string"},"required":false},{"name":"recursive","in":"query","schema":{"description":"If true, returns the tree recursively.","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"1.000 by default, 100 by default for expand=true"},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/notebook/{rev}/{path}":{"get":{"description":"Get a jupyter notebook URL for the requested file","summary":"Get notebook URL","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false},{"type":"object","properties":{"notInCache":{"type":"boolean","const":true}},"required":["notInCache"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}]}}},"description":"Response containing the url of the notebook"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/datasets/{namespace}/{repo}/notebook/{rev}/{path}":{"get":{"description":"Get a jupyter notebook URL for the requested file","summary":"Get notebook URL","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false},{"type":"object","properties":{"notInCache":{"type":"boolean","const":true}},"required":["notInCache"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}]}}},"description":"Response containing the url of the notebook"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/spaces/{namespace}/{repo}/notebook/{rev}/{path}":{"get":{"description":"Get a jupyter notebook URL for the requested file","summary":"Get notebook URL","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false},{"type":"object","properties":{"notInCache":{"type":"boolean","const":true}},"required":["notInCache"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}]}}},"description":"Response containing the url of the notebook"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}}]}},"/api/models/{namespace}/{repo}/scan":{"get":{"description":"Get the security status of a repo","summary":"Get security status","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scansDone":{"type":"boolean"},"filesWithIssues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"level":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]}},"required":["path","level"],"additionalProperties":false}}},"required":["scansDone","filesWithIssues"],"additionalProperties":false}}},"description":"The security status of the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/scan":{"get":{"description":"Get the security status of a repo","summary":"Get security status","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scansDone":{"type":"boolean"},"filesWithIssues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"level":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]}},"required":["path","level"],"additionalProperties":false}}},"required":["scansDone","filesWithIssues"],"additionalProperties":false}}},"description":"The security status of the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/scan":{"get":{"description":"Get the security status of a repo","summary":"Get security status","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scansDone":{"type":"boolean"},"filesWithIssues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"level":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]}},"required":["path","level"],"additionalProperties":false}}},"required":["scansDone","filesWithIssues"],"additionalProperties":false}}},"description":"The security status of the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels/{namespace}/{repo}/scan":{"get":{"description":"Get the security status of a repo","summary":"Get security status","tags":["kernels"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scansDone":{"type":"boolean"},"filesWithIssues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"level":{"type":"string","enum":["unscanned","safe","queued","error","caution","suspicious","unsafe"]}},"required":["path","level"],"additionalProperties":false}}},"required":["scansDone","filesWithIssues"],"additionalProperties":false}}},"description":"The security status of the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions":{"get":{"description":"Get discussions for a repo","summary":"List discussions","tags":["discussions"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"discussions":{"type":"array","items":{"type":"object","properties":{"num":{"type":"number"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"repo":{"$ref":"#/components/schemas/RepoId"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"topReactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"count":{"type":"number"}},"required":["reaction","count"],"additionalProperties":false}},"status":{"type":"string","enum":["draft","open","closed","merged"]},"isPullRequest":{"type":"boolean"},"numComments":{"type":"number"},"numReactionUsers":{"type":"number"},"pinned":{"type":"boolean"},"repoOwner":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["org","user"]},"isParticipating":{"type":"boolean"},"isDiscussionAuthor":{"type":"boolean"}},"required":["name","type","isParticipating","isDiscussionAuthor"],"additionalProperties":false}},"required":["num","repo","title","createdAt","topReactions","status","isPullRequest","numComments","numReactionUsers","pinned"],"additionalProperties":false}},"count":{"type":"number"},"start":{"type":"number"},"numClosedDiscussions":{"description":"Number of closed discussions on the first page","type":"number"}},"required":["discussions","count","start"],"additionalProperties":false}}},"description":"List of discussions"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":false},{"name":"type","in":"query","schema":{"default":"all","type":"string","enum":["all","discussion","pull_request"]},"required":false},{"name":"status","in":"query","schema":{"default":"all","type":"string","enum":["all","open","closed"]},"required":false},{"name":"author","in":"query","schema":{"type":"string","minLength":2,"maxLength":42,"pattern":"^\\b(?!\\d+$)(?![0-9a-fA-F]{24}$)([a-zA-Z0-9]|-(?!-))+\\b$"},"required":false},{"name":"search","in":"query","schema":{"type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"recently-created","type":"string","enum":["recently-created","trending","reactions"]},"required":false}]},"post":{"summary":"Create discussion","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":3,"maxLength":200},"description":{"type":"string","maxLength":65536},"pullRequest":{"type":"boolean"}},"required":["title","description"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"num":{"type":"number"},"pullRequest":{"type":"boolean"},"references":{"type":"object","properties":{"base":{"type":"string"},"mergeCommitId":{"type":"string"}},"required":["base"],"additionalProperties":false}},"required":["url","num","pullRequest"],"additionalProperties":false}}},"description":"Discussion creation response"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}":{"get":{"summary":"Get discussion details","tags":["discussions"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"diffUrl":{"type":"string"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"num":{"type":"number"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"org":{"type":"object","properties":{"avatarUrl":{"type":"string"},"email":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"requiresSSO":{"type":"boolean"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false},"repo":{"$ref":"#/components/schemas/RepoId"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["draft","open","closed","merged"]},"events":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"status-change"},"data":{"type":"object","properties":{"status":{"type":"string","enum":["draft","open","closed","merged"]},"reason":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"commit"},"data":{"type":"object","properties":{"subject":{"type":"string"},"oid":{"type":"string"}},"required":["subject","oid"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"title-change"},"data":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"pinning-change"},"data":{"type":"object","properties":{"pinned":{"type":"boolean"}},"required":["pinned"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"locking-change"},"data":{"type":"object","properties":{"locked":{"type":"boolean"}},"required":["locked"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"report-status-change"},"data":{"type":"object","properties":{"report":{"type":"boolean"}},"required":["report"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"ref-deleted"},"data":{"type":"object","properties":{},"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"commits-truncated"},"data":{"type":"object","properties":{"hiddenCommits":{"type":"number"},"headOid":{"type":"string"}},"required":["hiddenCommits","headOid"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}]}},"pinned":{"type":"boolean"},"locked":{"type":"boolean"},"collection":{"type":"string","enum":["discussions","paper_discussions","social_posts","community_blogs"]},"isPullRequest":{"type":"boolean","const":false},"isReport":{"type":"boolean"}},"required":["_id","title","status","events","pinned","locked","collection","isPullRequest","isReport"],"additionalProperties":false},{"type":"object","properties":{"diffUrl":{"type":"string"},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"num":{"type":"number"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"org":{"type":"object","properties":{"avatarUrl":{"type":"string"},"email":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"requiresSSO":{"type":"boolean"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false},"repo":{"$ref":"#/components/schemas/RepoId"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["draft","open","closed","merged"]},"events":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"status-change"},"data":{"type":"object","properties":{"status":{"type":"string","enum":["draft","open","closed","merged"]},"reason":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"commit"},"data":{"type":"object","properties":{"subject":{"type":"string"},"oid":{"type":"string"}},"required":["subject","oid"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"title-change"},"data":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"pinning-change"},"data":{"type":"object","properties":{"pinned":{"type":"boolean"}},"required":["pinned"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"locking-change"},"data":{"type":"object","properties":{"locked":{"type":"boolean"}},"required":["locked"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"report-status-change"},"data":{"type":"object","properties":{"report":{"type":"boolean"}},"required":["report"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"ref-deleted"},"data":{"type":"object","properties":{},"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"commits-truncated"},"data":{"type":"object","properties":{"hiddenCommits":{"type":"number"},"headOid":{"type":"string"}},"required":["hiddenCommits","headOid"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}]}},"pinned":{"type":"boolean"},"locked":{"type":"boolean"},"collection":{"type":"string","const":"discussions"},"isPullRequest":{"type":"boolean","const":true},"filesWithConflicts":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"boolean","const":true}],"description":"The list of files with conflicts. `true` means there are conflicts but we cannot list them."},"changes":{"type":"object","properties":{"base":{"type":"string"},"mergeCommitId":{"type":"string"},"headCommitId":{"description":"The last commit ID of the PR branch, stored before ref deletion so diffs can still be computed.","type":"string"},"refDeleted":{"description":"Whether the PR ref has been deleted (to free up storage).","type":"boolean"}},"required":["base"],"additionalProperties":false}},"required":["_id","title","status","events","pinned","locked","collection","isPullRequest","filesWithConflicts","changes"],"additionalProperties":false}]}}},"description":"Discussion details"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a discussion","tags":["discussions"],"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/status":{"post":{"description":"Change the status of a discussion","summary":"Change status","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["open","closed"]},"comment":{"type":"string"}},"required":["status"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newStatus":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"status-change"},"data":{"type":"object","properties":{"status":{"type":"string","enum":["draft","open","closed","merged"]},"reason":{"type":"string"}},"required":["status"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newStatus"],"additionalProperties":false}}},"description":"New status event"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/title":{"post":{"description":"Change the title of a discussion","summary":"Change title","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":3,"maxLength":200}},"required":["title"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newTitle":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"title-change"},"data":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newTitle"],"additionalProperties":false}}},"description":"New title event"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/pin":{"post":{"summary":"Pin a discussion","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pinned":{"type":"boolean"}},"required":["pinned"]}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/merge":{"post":{"summary":"Merge pull request","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string"}}}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/ref":{"delete":{"description":"Deletes the git ref for a closed/merged pull request to free up storage. LFS files unique to this PR will be garbage collected. The PR page and diff will still be viewable using stored commit data.","summary":"Delete PR ref","tags":["discussions"],"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/storage":{"get":{"description":"Estimates the LFS storage used by a PR that could be freed if the ref is deleted.","summary":"PR storage estimate","tags":["discussions"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"estimatedStorage":{"type":"number","description":"Estimated storage in bytes that may be freed"},"refDeleted":{"type":"boolean","description":"Whether the ref has already been deleted"}},"required":["estimatedStorage","refDeleted"],"additionalProperties":false}}},"description":"PR storage estimate response"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/ignore":{"post":{"summary":"Toggle ignore discussion","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","enum":["add","remove"]}},"required":["action"]}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/discussions/{num}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","spaces","datasets","kernels"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"num","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels":{"get":{"description":"List kernels with optional filtering, sorting, and pagination","summary":"List kernels","tags":["kernels"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Kernel ID in format namespace/name"},"author":{"description":"Namespace (user or organization) of the kernel","type":"string"},"private":{"description":"Whether the kernel is private","type":"boolean"},"cardData":{"description":"Kernel card metadata","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"disabled":{"description":"Whether the kernel is disabled","type":"boolean"},"downloads":{"description":"Number of downloads in the last 30 days","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"downloadsAllTime":{"description":"Total number of downloads","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"gated":{"description":"Gated access status","anyOf":[{"type":"boolean"},{"type":"string","const":"auto"},{"type":"string","const":"manual"}]},"lastModified":{"description":"Last modification timestamp","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"createdAt":{"description":"Creation timestamp","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"description":"Number of likes","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sha":{"description":"Current commit SHA","type":"string"},"files":{"description":"List of files in the kernel","type":"array","items":{"type":"string"}},"tags":{"description":"Kernel tags","type":"array","items":{"type":"string"}},"trendingScore":{"description":"Trending score","type":"number"},"buildMetadata":{"description":"Build metadata","type":"object","properties":{"compatibility":{"type":"object","properties":{"torch":{"type":"array","items":{"type":"string","enum":["2.8","2.9","2.10","2.11","2.12","2.13","2.14"]}},"os":{"type":"array","items":{"type":"string","enum":["macos","linux","windows"]}},"arch":{"type":"array","items":{"type":"string","enum":["x86_64","arm64","aarch64"]}}},"required":["torch","os","arch"],"additionalProperties":false},"backends":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["cuda","rocm","metal","xpu","cpu","webgpu"]},"hardwareTypes":{"type":"array","items":{"type":"string","enum":["5.0","5.2","6.0","6.1","6.2","7.0","7.2","7.5","8.0","8.6","8.7","8.9","9.0","10.0","10.3","11.0","12.0","12.1","13.0","5.0+PTX","5.2+PTX","6.0+PTX","6.1+PTX","6.2+PTX","7.0+PTX","7.2+PTX","7.5+PTX","8.0+PTX","8.6+PTX","8.7+PTX","8.9+PTX","9.0+PTX","10.0+PTX","10.3+PTX","11.0+PTX","12.0+PTX","12.1+PTX","13.0+PTX","9.0a","10.0a","10.3a","11.0a","12.0a","12.1a","13.0a","10.0f","12.0f","13.0f","gfx900","gfx906","gfx908","gfx90a","gfx942","gfx950","gfx1030","gfx1100","gfx1101","gfx1102","gfx1150","gfx1151","gfx1200","gfx1201"]}},"noArchs":{"type":"boolean","const":true}},"required":["type","hardwareTypes"],"additionalProperties":false}},"builder":{"type":"object","properties":{"version":{"type":"string"},"commit":{"type":"string"},"dirty":{"type":"boolean"}},"required":["version"],"additionalProperties":false}},"required":["backends"],"additionalProperties":false},"supportedDriverFamilies":{"description":"Driver families supported by the kernel (derived from build metadata)","type":"array","items":{"type":"string","enum":["cuda","rocm","metal","xpu","cpu","webgpu"]}},"resourceGroup":{"description":"Resource group information","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["id"],"additionalProperties":false}}}},"description":"List of kernels"}},"parameters":[{"name":"search","in":"query","schema":{"description":"Filter by search term","type":"string"},"required":false},{"name":"author","in":"query","schema":{"description":"Filter by author","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"id","in":"query","schema":{"description":"Filter by ID","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"arxivIds","in":"query","schema":{"description":"Filter by Arxiv ID","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"filter","in":"query","schema":{"description":"Filter by tags","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"sort","in":"query","schema":{"default":"trendingScore","description":"Sort field (e.g. downloads, likes, lastModified, trendingScore)","type":"string","enum":["downloads","likes","lastModified","trendingScore","likes30d","_id","id"]},"required":false},{"name":"direction","in":"query","schema":{"default":"-1","description":"Sort direction: 1 for ascending, -1 for descending","type":"string","enum":["1","-1"]},"required":false},{"name":"limit","in":"query","schema":{"default":1000,"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":1000},"required":false},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor from Link header","type":"string"},"required":false},{"name":"full","in":"query","schema":{"description":"Return full kernel info including author, sha, lastModified, files, gated","type":"boolean"},"required":false},{"name":"gated","in":"query","schema":{"description":"Filter by gated","type":"boolean"},"required":false},{"name":"expand","in":"query","schema":{"description":"Display specific fields in the response","anyOf":[{"type":"string","enum":["author","cardData","disabled","downloads","downloadsAllTime","gated","lastModified","createdAt","likes","private","sha","files","tags","trendingScore","buildMetadata","supportedDriverFamilies","resourceGroup","arxivIds"]},{"type":"array","items":{"type":"string","enum":["author","cardData","disabled","downloads","downloadsAllTime","gated","lastModified","createdAt","likes","private","sha","files","tags","trendingScore","buildMetadata","supportedDriverFamilies","resourceGroup","arxivIds"]}}]},"required":false}]}},"/api/kernels/{namespace}/{repo}":{"get":{"summary":"Get kernel","tags":["kernels"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"kernel"},"sha":{"type":"string"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"files":{"type":"array","items":{"type":"string"}},"supportedDriverFamilies":{"type":"array","items":{"type":"string","enum":["cuda","rocm","metal","xpu","cpu","webgpu"]}},"trustedPublisher":{"type":"boolean"}},"required":["author","downloads","id","isLikedByUser","lastModified","likes","private","repoType","sha","gated"],"additionalProperties":false}}},"description":"Kernel overview information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels/{namespace}/{repo}/revision/{rev}":{"get":{"summary":"Get kernel","tags":["kernels"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"kernel"},"sha":{"type":"string"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"files":{"type":"array","items":{"type":"string"}},"supportedDriverFamilies":{"type":"array","items":{"type":"string","enum":["cuda","rocm","metal","xpu","cpu","webgpu"]}},"trustedPublisher":{"type":"boolean"}},"required":["author","downloads","id","isLikedByUser","lastModified","likes","private","repoType","sha","gated"],"additionalProperties":false}}},"description":"Kernel overview information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/kernels/access-request/approve":{"post":{"summary":"Approve kernel access","tags":["kernels"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"namespace":{"type":"string","minLength":1},"sendEmail":{"type":"boolean"}},"required":["namespace"]}}}}}},"/api/datasets/{namespace}/{repo}/leaderboard":{"get":{"description":"Returns the evaluation results ranked by score for a dataset/task","summary":"Get dataset leaderboard","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"rank":{"type":"number"},"modelId":{"type":"string"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"value":{"type":"number"},"verified":{"type":"boolean"},"source":{"type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"isExternal":{"type":"boolean"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["url","isExternal"],"additionalProperties":false},"pullRequest":{"type":"number"},"filename":{"type":"string"},"notes":{"type":"string"},"lower_is_better":{"type":"boolean"},"num_parameters":{"type":"number"}},"required":["rank","modelId","author","value","filename"],"additionalProperties":false}}}},"description":"Evaluation results"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"task_id","in":"query","schema":{"type":"string"},"required":false},{"name":"max_params","in":"query","schema":{"type":"string"},"required":false},{"name":"base_model","in":"query","schema":{"type":"string"},"required":false}]}},"/api/models/{namespace}/{repo}/jwt":{"get":{"description":"Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.","summary":"Generate JWT","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accessToken":{"type":"string","description":"The JWT token with Bearer prefix"},"exp":{"description":"Token expiration timestamp in seconds (JWT standard)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"token":{"type":"string","description":"The JWT token"},"encryptedToken":{"description":"Encrypted JWT token and key ID (only if encrypted=true was requested)","type":"object","properties":{"encrypted":{"type":"string","description":"The encrypted JWT token"},"keyId":{"type":"string","description":"Key ID used to encrypt the token"}},"required":["encrypted","keyId"],"additionalProperties":false}},"required":["accessToken","token"],"additionalProperties":false}}},"description":"The JWT token and related information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"write","in":"query","schema":{"type":"string"},"required":false},{"name":"expiration","in":"query","schema":{"description":"Requested expiration datetime, capped at the default (10 minutes with write, 24 hours for spaces, 1 hour otherwise). Use expires_in instead.","deprecated":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"expires_in","in":"query","schema":{"description":"Requested lifetime in seconds, capped at the default (600s with write, 86400s for spaces, 3600s otherwise)","type":"integer","exclusiveMinimum":0,"maximum":86400},"required":false},{"name":"encrypted","in":"query","schema":{"type":"string"},"required":false},{"name":"inference_api","in":"query","schema":{"type":"string"},"required":false},{"name":"include_pro_status","in":"query","schema":{"deprecated":true,"description":"Use billing_details instead.","type":"string"},"required":false},{"name":"billing_details","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/jwt":{"get":{"description":"Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.","summary":"Generate JWT","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accessToken":{"type":"string","description":"The JWT token with Bearer prefix"},"exp":{"description":"Token expiration timestamp in seconds (JWT standard)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"token":{"type":"string","description":"The JWT token"},"encryptedToken":{"description":"Encrypted JWT token and key ID (only if encrypted=true was requested)","type":"object","properties":{"encrypted":{"type":"string","description":"The encrypted JWT token"},"keyId":{"type":"string","description":"Key ID used to encrypt the token"}},"required":["encrypted","keyId"],"additionalProperties":false}},"required":["accessToken","token"],"additionalProperties":false}}},"description":"The JWT token and related information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"write","in":"query","schema":{"type":"string"},"required":false},{"name":"expiration","in":"query","schema":{"description":"Requested expiration datetime, capped at the default (10 minutes with write, 24 hours for spaces, 1 hour otherwise). Use expires_in instead.","deprecated":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"expires_in","in":"query","schema":{"description":"Requested lifetime in seconds, capped at the default (600s with write, 86400s for spaces, 3600s otherwise)","type":"integer","exclusiveMinimum":0,"maximum":86400},"required":false},{"name":"encrypted","in":"query","schema":{"type":"string"},"required":false},{"name":"inference_api","in":"query","schema":{"type":"string"},"required":false},{"name":"include_pro_status","in":"query","schema":{"deprecated":true,"description":"Use billing_details instead.","type":"string"},"required":false},{"name":"billing_details","in":"query","schema":{"type":"string"},"required":false}]}},"/api/datasets/{namespace}/{repo}/jwt":{"get":{"description":"Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.","summary":"Generate JWT","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accessToken":{"type":"string","description":"The JWT token with Bearer prefix"},"exp":{"description":"Token expiration timestamp in seconds (JWT standard)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"token":{"type":"string","description":"The JWT token"},"encryptedToken":{"description":"Encrypted JWT token and key ID (only if encrypted=true was requested)","type":"object","properties":{"encrypted":{"type":"string","description":"The encrypted JWT token"},"keyId":{"type":"string","description":"Key ID used to encrypt the token"}},"required":["encrypted","keyId"],"additionalProperties":false}},"required":["accessToken","token"],"additionalProperties":false}}},"description":"The JWT token and related information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"write","in":"query","schema":{"type":"string"},"required":false},{"name":"expiration","in":"query","schema":{"description":"Requested expiration datetime, capped at the default (10 minutes with write, 24 hours for spaces, 1 hour otherwise). Use expires_in instead.","deprecated":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"expires_in","in":"query","schema":{"description":"Requested lifetime in seconds, capped at the default (600s with write, 86400s for spaces, 3600s otherwise)","type":"integer","exclusiveMinimum":0,"maximum":86400},"required":false},{"name":"encrypted","in":"query","schema":{"type":"string"},"required":false},{"name":"inference_api","in":"query","schema":{"type":"string"},"required":false},{"name":"include_pro_status","in":"query","schema":{"deprecated":true,"description":"Use billing_details instead.","type":"string"},"required":false},{"name":"billing_details","in":"query","schema":{"type":"string"},"required":false}]}},"/api/agent-harnesses":{"get":{"description":"Get the registry of AI agents / harnesses known to the Hub, along with the standard environment variables used to detect them. Clients use this registry to identify which agent they are running in when reporting Hub activity.","summary":"Get agent harnesses","tags":["agents"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"standardEnvVars":{"type":"array","items":{"type":"string"},"description":"Standard environment variables that any agent can set to identify itself. Their value is matched against the harness ids."},"harnesses":{"type":"object","propertyNames":{"type":"string","description":"Unique identifier of the harness, used when reporting Hub activity"},"additionalProperties":{"type":"object","properties":{"prettyLabel":{"type":"string","description":"Human-readable name of the harness"},"repoUrl":{"description":"URL to the harness's code repository","type":"string"},"docsUrl":{"description":"URL to the harness's documentation or website","type":"string"},"description":{"description":"Short description of the harness","type":"string"},"envVars":{"description":"Environment variable(s) identifying this harness, mapped to the value pattern they must match: \"*\" (set to any non-empty value), an exact value, or a \"*\" fuzzy match. Detection matches if ANY entry matches.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["prettyLabel"],"additionalProperties":false},"description":"Registered harnesses, keyed by id and ordered by detection priority: the first match wins"}},"required":["standardEnvVars","harnesses"],"additionalProperties":false}}},"description":"The registry of AI agents / harnesses known to the Hub"}}}},"/api/models-tags-by-type":{"get":{"description":"Get all possible tags used for models, grouped by tag type. Optionally restrict to only one tag type","summary":"Get model tags","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string","enum":["pipeline_tag","library","dataset","bucket","language","license","arxiv","doi","region","deploy","other"]},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["pipeline_tag","library","dataset","bucket","language","license","arxiv","doi","region","deploy","other"]},"subType":{"type":"string"},"clickable":{"default":true,"type":"boolean"}},"required":["id","label","type"],"additionalProperties":false}}}}},"description":"The tags, grouped by tag type"}},"parameters":[{"name":"type","in":"query","schema":{"type":"string","enum":["pipeline_tag","library","dataset","bucket","language","license","arxiv","doi","region","deploy","other"]},"required":false}]}},"/api/datasets-tags-by-type":{"get":{"description":"Get all possible tags used for datasets, grouped by tag type. Optionally restrict to only one tag type","summary":"Get dataset tags","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string","enum":["benchmark","task_categories","size_categories","modality","format","library","language","license","arxiv","doi","region","other","task_ids","annotations_creators","language_creators","multilinguality","source_datasets"]},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["benchmark","task_categories","size_categories","modality","format","library","language","license","arxiv","doi","region","other","task_ids","annotations_creators","language_creators","multilinguality","source_datasets"]},"subType":{"type":"string"},"clickable":{"default":true,"type":"boolean"}},"required":["id","label","type"],"additionalProperties":false}}}}},"description":"The tags, grouped by tag type"}},"parameters":[{"name":"type","in":"query","schema":{"type":"string","enum":["benchmark","task_categories","size_categories","modality","format","library","language","license","arxiv","doi","region","other","task_ids","annotations_creators","language_creators","multilinguality","source_datasets"]},"required":false}]}},"/api/trending":{"get":{"description":"Get the trending repositories","summary":"Get trending","tags":["models","spaces","datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"recentlyTrending":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"repoType":{"type":"string","const":"dataset"},"repoData":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"}},"required":["author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified"],"additionalProperties":false}},"required":["repoType","repoData"],"additionalProperties":false},{"type":"object","properties":{"repoType":{"type":"string","const":"model"},"repoData":{"type":"object","properties":{"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true}},"required":["author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated"],"additionalProperties":false}},"required":["repoType","repoData"],"additionalProperties":false},{"type":"object","properties":{"repoType":{"type":"string","const":"space"},"repoData":{"type":"object","properties":{"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]}},"required":["author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility"],"additionalProperties":false}},"required":["repoType","repoData"],"additionalProperties":false}]}}},"required":["recentlyTrending"],"additionalProperties":false}}},"description":"Trending repos"}},"parameters":[{"name":"type","in":"query","schema":{"default":"all","type":"string","enum":["all","model","space","dataset"]},"required":false},{"name":"limit","in":"query","schema":{"default":10,"type":"integer","minimum":1,"maximum":20},"required":false}]}},"/api/quicksearch":{"get":{"description":"Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets","summary":"Quick search","tags":["repo-search"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"datasets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"trendingWeight":{"type":"number"}},"required":["id","trendingWeight"],"additionalProperties":false}},"datasetsCount":{"type":"number"},"models":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"trendingWeight":{"type":"number"}},"required":["id","trendingWeight"],"additionalProperties":false}},"modelsCount":{"type":"number"},"orgs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"}},"required":["_id","avatarUrl","fullname","name"],"additionalProperties":false}},"q":{"type":"string"},"spaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"emoji":{"type":"string"},"trendingWeight":{"type":"number"}},"required":["id","emoji","trendingWeight"],"additionalProperties":false}},"spacesCount":{"type":"number"},"users":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatarUrl","fullname","user"],"additionalProperties":false}},"papers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"papersCount":{"type":"number"},"collections":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}},"required":["_id","title"],"additionalProperties":false}},"collectionsCount":{"type":"number"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"bucketsCount":{"type":"number"},"containers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"containersCount":{"type":"number"},"kernels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"kernelsCount":{"type":"number"},"blogs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"}},"required":["_id","slug","title","private"],"additionalProperties":false}},"blogsCount":{"type":"number"}},"required":["datasets","datasetsCount","models","modelsCount","orgs","q","spaces","spacesCount","users","papers","papersCount","collections","collectionsCount","buckets","bucketsCount","containers","containersCount","kernels","kernelsCount","blogs","blogsCount"],"additionalProperties":false}}},"description":"The quick search results"}},"parameters":[{"name":"q","in":"query","schema":{"default":"","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"integer","minimum":1,"maximum":20},{"type":"integer","minimum":1,"maximum":20}]},"required":false},{"name":"lang","in":"query","schema":{"anyOf":[{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},{"type":"string"}]},"required":false},{"name":"library","in":"query","schema":{"anyOf":[{"type":"string","enum":["aadya-neural","acestep","adapter-transformers","allennlp","aneforge","anemoi","araclip","asimov","aviation-ner","asteroid","audiocraft","audioseal","bagel-mot","bboxmaskpose","ben2","bertopic","big_vision","bionemo","birder","birefnet","bm25s","boltzgen","cancertathomev2","cartesia_pytorch","cartesia_mlx","causilo","ccpfn","champ","chatterbox","chaossim","chat_tts","chexmix","chronos-forecasting","clara","clipscope","cloud-agents","collectorvision","colipri","cosyvoice","cotracker","colpali","comet","cortiq","cosmos","cxr-foundation","deepforest","depth-anything-v2","depth-pro","derm-foundation","describe-anything","dia-tts","dia2","diff-interpretation-tuning","diffree","diffusers","diffusionkit","docking-at-home","doctr","drinkme","edsnlp","elm","encoderfile","ensomi","espnet","eupe","fairseq","fastai","fastprint","fasttext","fixer","flair","flexray","flextab","fme","gaussianformer","gemma.cpp","geometry-crafter","gliformer","gliner","gliner2","glm-tts","glyph-byt5","granite-library","grok","habibi-tts","hallo","minimax-h3","mect","hermes","holomotion","hezar","htrflow","hunyuan-dit","hunyuan3d-2","hunyuanworld-voyager","hy-worldplay","hy-world-2","image-matching-models","imstoucan","index-tts","infinitetalk","infinite-you","intellifold","ising-decoding","jev-style","keras","tf-keras","keras-hub","zeromodels","kernels","kimi-audio","kittentts","kronos","k2","lyra-2.0","lagernvs","laya","ltx","lightning-ir","litert","litert-lm","lerobot","lightglue","liveportrait","longcat-video-avatar-1.5","llama-cpp-python","mini-omni2","mindspore","magi-1","magenta-realtime","magenta-realtime-2","mamba-ssm","manas-1","mars5-tts","matanyone","memra","mesh-anything","merlin","medvae","mflux","microduck","mitie","ml-agents","ml-sharp","mlx","mlx-image","mlc-llm","model2vec","mobilint","montreal-forced-aligner","moshi","mtvcraft","multimolecule","nemo","ninfer","nobg","nv-medtech","open-oasis","open_clip","openasr","opendde","openpeerllm","open-sora","outetts","paddlenlp","PaddleOCR","peft","perception-encoder","phantom-wan","piper","pocket-tts","pruna-ai","pxia","pyannote-audio","py-feat","pythae","quantumpeer","qwen3_tts","recurrentgemma","relik","refiners","renderformer","reverb","rkllm","robo-orchard-lab","routee-powertrain","rwkv","saelens","scail-2","sam2","sam-3d-body","sam-3d-objects","same","sample-factory","sap-rpt-1-oss","sapiens","sapiens2","seedvr","self-forcing","sentence-transformers","setfit","shadow","sklearn","spacy","span-marker","speechbrain","ssr-speech","stable-audio-3","stable-audio-tools","monkeyocr","diffusion-single-file","seed-story","skala","soloaudio","songbloom","stable-baselines3","stanza","supertonic","swarmformer","synthefy-migas","f5-tts","genmo","tencent-song-generation","tensorflowtts","tensorrt","tabpfn","terratorch","tic-clip","timesfm","timee-ts","timm","tirex","tirex-2","torchgeo","transformers","transformers.js","trellis","trellis2","tunejury","ultralytics","univa","uni-3dar","unity-sentis","sana","videoprism","vfi-mamba","vismatch","lvface","voicecraft","voxcpm","vui","vqweb","vibevoice","videox_fun","wan2.2","wham","whisperkit","yolov10","yolov26","zonos","3dtopia-xl"]},{"type":"string"}]},"required":false},{"name":"type","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["model","dataset","space","org","user","paper","collection","bucket","container","kernel","blog"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"orgsFilter","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["own","unwatched"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"reposFilter","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["skip_disabled","skip_gated","own","own_orgs","granted_access"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"pipelines","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other"]}},{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}],"description":"Comma-separated or array of pipeline types"},"required":false},{"name":"exclude","in":"query","schema":{"description":"Array of excluded resources: spaces/repo, models/repo, datasets/repo, papers/paperId, collections/collectionId, users/username, orgs/orgName, buckets/bucketName, containers/containerName, kernels/repo, blog/blogSlug","default":[],"type":"array","items":{"type":"string","pattern":"^(spaces|models|datasets|papers|collections|users|orgs|buckets|containers|kernels|blog)\\/.*"}},"required":false},{"name":"namespace","in":"query","schema":{"description":"Namespace to filter by","type":"string"},"required":false},{"name":"includeInvitees","in":"query","schema":{"type":["boolean","string"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"repoType","in":"query","schema":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string"}]},"required":false},{"name":"discussionId","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"discussionCollectionName","in":"query","schema":{"type":"string"},"required":false},{"name":"spacesTags","in":"query","schema":{"type":"array","items":{"type":"string"}},"required":false}]},"post":{"description":"Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets","summary":"Quick search","tags":["repo-search"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"default":"","type":"string"},"limit":{"anyOf":[{"type":"integer","minimum":1,"maximum":20},{"type":"integer","minimum":1,"maximum":20}]},"lang":{"anyOf":[{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},{"type":"string"}]},"library":{"anyOf":[{"type":"string","enum":["aadya-neural","acestep","adapter-transformers","allennlp","aneforge","anemoi","araclip","asimov","aviation-ner","asteroid","audiocraft","audioseal","bagel-mot","bboxmaskpose","ben2","bertopic","big_vision","bionemo","birder","birefnet","bm25s","boltzgen","cancertathomev2","cartesia_pytorch","cartesia_mlx","causilo","ccpfn","champ","chatterbox","chaossim","chat_tts","chexmix","chronos-forecasting","clara","clipscope","cloud-agents","collectorvision","colipri","cosyvoice","cotracker","colpali","comet","cortiq","cosmos","cxr-foundation","deepforest","depth-anything-v2","depth-pro","derm-foundation","describe-anything","dia-tts","dia2","diff-interpretation-tuning","diffree","diffusers","diffusionkit","docking-at-home","doctr","drinkme","edsnlp","elm","encoderfile","ensomi","espnet","eupe","fairseq","fastai","fastprint","fasttext","fixer","flair","flexray","flextab","fme","gaussianformer","gemma.cpp","geometry-crafter","gliformer","gliner","gliner2","glm-tts","glyph-byt5","granite-library","grok","habibi-tts","hallo","minimax-h3","mect","hermes","holomotion","hezar","htrflow","hunyuan-dit","hunyuan3d-2","hunyuanworld-voyager","hy-worldplay","hy-world-2","image-matching-models","imstoucan","index-tts","infinitetalk","infinite-you","intellifold","ising-decoding","jev-style","keras","tf-keras","keras-hub","zeromodels","kernels","kimi-audio","kittentts","kronos","k2","lyra-2.0","lagernvs","laya","ltx","lightning-ir","litert","litert-lm","lerobot","lightglue","liveportrait","longcat-video-avatar-1.5","llama-cpp-python","mini-omni2","mindspore","magi-1","magenta-realtime","magenta-realtime-2","mamba-ssm","manas-1","mars5-tts","matanyone","memra","mesh-anything","merlin","medvae","mflux","microduck","mitie","ml-agents","ml-sharp","mlx","mlx-image","mlc-llm","model2vec","mobilint","montreal-forced-aligner","moshi","mtvcraft","multimolecule","nemo","ninfer","nobg","nv-medtech","open-oasis","open_clip","openasr","opendde","openpeerllm","open-sora","outetts","paddlenlp","PaddleOCR","peft","perception-encoder","phantom-wan","piper","pocket-tts","pruna-ai","pxia","pyannote-audio","py-feat","pythae","quantumpeer","qwen3_tts","recurrentgemma","relik","refiners","renderformer","reverb","rkllm","robo-orchard-lab","routee-powertrain","rwkv","saelens","scail-2","sam2","sam-3d-body","sam-3d-objects","same","sample-factory","sap-rpt-1-oss","sapiens","sapiens2","seedvr","self-forcing","sentence-transformers","setfit","shadow","sklearn","spacy","span-marker","speechbrain","ssr-speech","stable-audio-3","stable-audio-tools","monkeyocr","diffusion-single-file","seed-story","skala","soloaudio","songbloom","stable-baselines3","stanza","supertonic","swarmformer","synthefy-migas","f5-tts","genmo","tencent-song-generation","tensorflowtts","tensorrt","tabpfn","terratorch","tic-clip","timesfm","timee-ts","timm","tirex","tirex-2","torchgeo","transformers","transformers.js","trellis","trellis2","tunejury","ultralytics","univa","uni-3dar","unity-sentis","sana","videoprism","vfi-mamba","vismatch","lvface","voicecraft","voxcpm","vui","vqweb","vibevoice","videox_fun","wan2.2","wham","whisperkit","yolov10","yolov26","zonos","3dtopia-xl"]},{"type":"string"}]},"type":{"anyOf":[{"type":"array","items":{"type":"string","enum":["model","dataset","space","org","user","paper","collection","bucket","container","kernel","blog"]}},{"type":"array","items":{"type":"string"}}]},"orgsFilter":{"anyOf":[{"type":"array","items":{"type":"string","enum":["own","unwatched"]}},{"type":"array","items":{"type":"string"}}]},"reposFilter":{"anyOf":[{"type":"array","items":{"type":"string","enum":["skip_disabled","skip_gated","own","own_orgs","granted_access"]}},{"type":"array","items":{"type":"string"}}]},"pipelines":{"anyOf":[{"type":"array","items":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other"]}},{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}],"description":"Comma-separated or array of pipeline types"},"exclude":{"description":"Array of excluded resources: spaces/repo, models/repo, datasets/repo, papers/paperId, collections/collectionId, users/username, orgs/orgName, buckets/bucketName, containers/containerName, kernels/repo, blog/blogSlug","default":[],"type":"array","items":{"type":"string","pattern":"^(spaces|models|datasets|papers|collections|users|orgs|buckets|containers|kernels|blog)\\/.*"}},"namespace":{"description":"Namespace to filter by","type":"string"},"includeInvitees":{"type":["boolean","string"]},"repoName":{"type":"string"},"repoType":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string"}]},"discussionId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"discussionCollectionName":{"type":"string"},"spacesTags":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"datasets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"trendingWeight":{"type":"number"}},"required":["id","trendingWeight"],"additionalProperties":false}},"datasetsCount":{"type":"number"},"models":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"trendingWeight":{"type":"number"}},"required":["id","trendingWeight"],"additionalProperties":false}},"modelsCount":{"type":"number"},"orgs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"}},"required":["_id","avatarUrl","fullname","name"],"additionalProperties":false}},"q":{"type":"string"},"spaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"},"emoji":{"type":"string"},"trendingWeight":{"type":"number"}},"required":["id","emoji","trendingWeight"],"additionalProperties":false}},"spacesCount":{"type":"number"},"users":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"user":{"type":"string"}},"required":["_id","avatarUrl","fullname","user"],"additionalProperties":false}},"papers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"papersCount":{"type":"number"},"collections":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}},"required":["_id","title"],"additionalProperties":false}},"collectionsCount":{"type":"number"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"bucketsCount":{"type":"number"},"containers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"containersCount":{"type":"number"},"kernels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"private":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"kernelsCount":{"type":"number"},"blogs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"}},"required":["_id","slug","title","private"],"additionalProperties":false}},"blogsCount":{"type":"number"}},"required":["datasets","datasetsCount","models","modelsCount","orgs","q","spaces","spacesCount","users","papers","papersCount","collections","collectionsCount","buckets","bucketsCount","containers","containersCount","kernels","kernelsCount","blogs","blogsCount"],"additionalProperties":false}}},"description":"The quick search results"}},"parameters":[{"name":"q","in":"query","schema":{"default":"","type":"string"},"required":false},{"name":"limit","in":"query","schema":{"anyOf":[{"type":"integer","minimum":1,"maximum":20},{"type":"integer","minimum":1,"maximum":20}]},"required":false},{"name":"lang","in":"query","schema":{"anyOf":[{"type":"string","enum":["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]},{"type":"string"}]},"required":false},{"name":"library","in":"query","schema":{"anyOf":[{"type":"string","enum":["aadya-neural","acestep","adapter-transformers","allennlp","aneforge","anemoi","araclip","asimov","aviation-ner","asteroid","audiocraft","audioseal","bagel-mot","bboxmaskpose","ben2","bertopic","big_vision","bionemo","birder","birefnet","bm25s","boltzgen","cancertathomev2","cartesia_pytorch","cartesia_mlx","causilo","ccpfn","champ","chatterbox","chaossim","chat_tts","chexmix","chronos-forecasting","clara","clipscope","cloud-agents","collectorvision","colipri","cosyvoice","cotracker","colpali","comet","cortiq","cosmos","cxr-foundation","deepforest","depth-anything-v2","depth-pro","derm-foundation","describe-anything","dia-tts","dia2","diff-interpretation-tuning","diffree","diffusers","diffusionkit","docking-at-home","doctr","drinkme","edsnlp","elm","encoderfile","ensomi","espnet","eupe","fairseq","fastai","fastprint","fasttext","fixer","flair","flexray","flextab","fme","gaussianformer","gemma.cpp","geometry-crafter","gliformer","gliner","gliner2","glm-tts","glyph-byt5","granite-library","grok","habibi-tts","hallo","minimax-h3","mect","hermes","holomotion","hezar","htrflow","hunyuan-dit","hunyuan3d-2","hunyuanworld-voyager","hy-worldplay","hy-world-2","image-matching-models","imstoucan","index-tts","infinitetalk","infinite-you","intellifold","ising-decoding","jev-style","keras","tf-keras","keras-hub","zeromodels","kernels","kimi-audio","kittentts","kronos","k2","lyra-2.0","lagernvs","laya","ltx","lightning-ir","litert","litert-lm","lerobot","lightglue","liveportrait","longcat-video-avatar-1.5","llama-cpp-python","mini-omni2","mindspore","magi-1","magenta-realtime","magenta-realtime-2","mamba-ssm","manas-1","mars5-tts","matanyone","memra","mesh-anything","merlin","medvae","mflux","microduck","mitie","ml-agents","ml-sharp","mlx","mlx-image","mlc-llm","model2vec","mobilint","montreal-forced-aligner","moshi","mtvcraft","multimolecule","nemo","ninfer","nobg","nv-medtech","open-oasis","open_clip","openasr","opendde","openpeerllm","open-sora","outetts","paddlenlp","PaddleOCR","peft","perception-encoder","phantom-wan","piper","pocket-tts","pruna-ai","pxia","pyannote-audio","py-feat","pythae","quantumpeer","qwen3_tts","recurrentgemma","relik","refiners","renderformer","reverb","rkllm","robo-orchard-lab","routee-powertrain","rwkv","saelens","scail-2","sam2","sam-3d-body","sam-3d-objects","same","sample-factory","sap-rpt-1-oss","sapiens","sapiens2","seedvr","self-forcing","sentence-transformers","setfit","shadow","sklearn","spacy","span-marker","speechbrain","ssr-speech","stable-audio-3","stable-audio-tools","monkeyocr","diffusion-single-file","seed-story","skala","soloaudio","songbloom","stable-baselines3","stanza","supertonic","swarmformer","synthefy-migas","f5-tts","genmo","tencent-song-generation","tensorflowtts","tensorrt","tabpfn","terratorch","tic-clip","timesfm","timee-ts","timm","tirex","tirex-2","torchgeo","transformers","transformers.js","trellis","trellis2","tunejury","ultralytics","univa","uni-3dar","unity-sentis","sana","videoprism","vfi-mamba","vismatch","lvface","voicecraft","voxcpm","vui","vqweb","vibevoice","videox_fun","wan2.2","wham","whisperkit","yolov10","yolov26","zonos","3dtopia-xl"]},{"type":"string"}]},"required":false},{"name":"type","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["model","dataset","space","org","user","paper","collection","bucket","container","kernel","blog"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"orgsFilter","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["own","unwatched"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"reposFilter","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["skip_disabled","skip_gated","own","own_orgs","granted_access"]}},{"type":"array","items":{"type":"string"}}]},"required":false},{"name":"pipelines","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other"]}},{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}],"description":"Comma-separated or array of pipeline types"},"required":false},{"name":"exclude","in":"query","schema":{"description":"Array of excluded resources: spaces/repo, models/repo, datasets/repo, papers/paperId, collections/collectionId, users/username, orgs/orgName, buckets/bucketName, containers/containerName, kernels/repo, blog/blogSlug","default":[],"type":"array","items":{"type":"string","pattern":"^(spaces|models|datasets|papers|collections|users|orgs|buckets|containers|kernels|blog)\\/.*"}},"required":false},{"name":"namespace","in":"query","schema":{"description":"Namespace to filter by","type":"string"},"required":false},{"name":"includeInvitees","in":"query","schema":{"type":["boolean","string"]},"required":false},{"name":"repoName","in":"query","schema":{"type":"string"},"required":false},{"name":"repoType","in":"query","schema":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"string"}]},"required":false},{"name":"discussionId","in":"query","schema":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"required":false},{"name":"discussionCollectionName","in":"query","schema":{"type":"string"},"required":false},{"name":"spacesTags","in":"query","schema":{"type":"array","items":{"type":"string"}},"required":false}]}},"/api/search/full-text":{"get":{"summary":"Full-text search","tags":["repo-search"],"parameters":[{"name":"q","in":"query","schema":{"default":"","type":"string","maxLength":250},"required":false},{"name":"limit","in":"query","schema":{"default":20,"type":"integer","minimum":1,"maximum":100},"required":false},{"name":"skip","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"type","in":"query","schema":{"anyOf":[{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]},{"type":"array","items":{"type":"string","enum":["dataset","model","space","bucket","kernel","container"]}}]},"required":false},{"name":"filter","in":"query","schema":{"type":"string","maxLength":600},"required":false}]}},"/api/spaces/hardware":{"get":{"description":"Get available space hardware","summary":"List space hardware","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"prettyName":{"type":"string"},"cpu":{"type":"string"},"ram":{"type":"string"},"accelerator":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["gpu","neuron"]},"model":{"type":"string"},"quantity":{"type":"string"},"vram":{"type":"string"},"manufacturer":{"type":"string","enum":["Nvidia","AWS"]}},"required":["type","model","quantity","vram","manufacturer"],"additionalProperties":false},{"type":"null"}]},"unitCostMicroUSD":{"type":"number"},"unitCostUSD":{"type":"number"},"unitLabel":{"type":"string"}},"required":["name","prettyName","cpu","ram","accelerator","unitCostMicroUSD","unitCostUSD","unitLabel"],"additionalProperties":false}}}},"description":"Available space hardware (public only)"}}}},"/api/spaces/templates":{"get":{"description":"Returns the catalog of official Space templates. The `repoId` of a template can be passed as `template` when creating a Space through the create-repo endpoint.","summary":"List Space templates","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"templates":{"type":"array","items":{"type":"object","properties":{"sdk":{"type":"string","enum":["docker","static","gradio"]},"name":{"type":"string","description":"Human-friendly name of the template (e.g. `JupyterLab`)."},"repoId":{"type":"string","description":"Repo id of the template Space, to pass as `template` on create."},"preferredPrivate":{"type":"boolean","description":"Whether the created Space is expected to be private."}},"required":["sdk","name","repoId","preferredPrivate"],"additionalProperties":false}}},"required":["templates"],"additionalProperties":false}}},"description":"The list of available Space templates."}}}},"/api/spaces/zero-gpu/quota":{"get":{"description":"Get the authenticated user's current ZeroGPU quota usage and limits","summary":"Get ZeroGPU quota","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"base":{"type":"number","description":"Total quota in GPU-seconds"},"current":{"type":"number","description":"Remaining quota in GPU-seconds"},"resetsAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}],"description":"ISO 8601 timestamp when the quota resets, or null if the quota has not been used yet"},"overquotaUsed":{"description":"Overquota (paid) GPU-seconds consumed","type":"number"},"runs":{"description":"Execution (runs) accounting, or omitted for visitors without a runs limit","type":"object","properties":{"used":{"type":"number","description":"Executions used in the current runs window"},"limit":{"type":"number","description":"Maximum number of executions allowed in the runs window"},"remaining":{"type":"number","description":"Executions left before the runs limit is reached"},"resetsAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}],"description":"ISO 8601 timestamp when the runs window resets, or null if no run has happened yet. Independent of resetsAt."}},"required":["used","limit","remaining","resetsAt"],"additionalProperties":false}},"required":["base","current","resetsAt"],"additionalProperties":false}}},"description":"The authenticated user's current ZeroGPU quota usage and limits"}}}},"/api/spaces/{namespace}/{repo}/secrets":{"post":{"description":"Upsert Spaces's secret","summary":"Upsert secret","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"default":"","type":"string"}},"required":["key"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete Spaces's secret","summary":"Delete secret","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string"}},"required":["key"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"description":"List a Space's secret keys. Values are never returned.","summary":"List secrets","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"key":{"type":"string"},"description":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["key"],"additionalProperties":false}}}},"description":"Secret keys indexed by name."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/variables":{"post":{"description":"Upsert Spaces's variable","summary":"Upsert variable","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"default":"","type":"string"}},"required":["key"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete Spaces's variable","summary":"Delete variable","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string"}},"required":["key"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"description":"List a Space's variables with their values.","summary":"List variables","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"},"description":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["key","value"],"additionalProperties":false}}}},"description":"Variables indexed by name"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/duplicate":{"post":{"summary":"Duplicate a repository","tags":["repos"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"repository":{"type":"string"},"private":{"type":"boolean"},"visibility":{"type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"hardware":{"default":"","type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6",""]},"sleepTimeSeconds":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"number","const":-1}]},"secrets":{"default":[],"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}},"variables":{"default":[],"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the duplicated Space.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}}},"required":["repository"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"filesCopyPending":{"type":"boolean","description":"True when the repo's LFS/Xet files are still being copied in the background; poll `\u2026/duplicate/status`"}},"required":["url","filesCopyPending"],"additionalProperties":false}}},"description":"Repository created, url is given"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["spaces"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/duplicate/status":{"get":{"summary":"Duplication status","tags":["repos"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pending":{"type":"boolean","description":"True while the LFS/Xet files are still being copied"},"filesTotal":{"description":"Number of LFS/Xet files the duplicate references","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"filesCopied":{"description":"Number of files copied so far","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["pending"],"additionalProperties":false}}},"description":"Progress of the background LFS/Xet copy of a duplicated repository"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["models","datasets","spaces"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/repos/create":{"post":{"summary":"Create repository","tags":["repos"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"name":{"type":"string"},"organization":{"type":["string","null"]},"region":{"description":"The region where the repository is hosted.","type":"string","enum":["us","eu"]},"license":{"description":"The license of the repository. You can select 'Other' if your license is not in the list","type":"string","enum":["apache-2.0","mit","openrail","bigscience-openrail-m","creativeml-openrail-m","bigscience-bloom-rail-1.0","bigcode-openrail-m","afl-3.0","artistic-2.0","bsl-1.0","bsd","bsd-2-clause","bsd-3-clause","bsd-3-clause-clear","c-uda","cc","cc0-1.0","cc-by-2.0","cc-by-2.5","cc-by-3.0","cc-by-4.0","cc-by-sa-3.0","cc-by-sa-4.0","cc-by-nc-2.0","cc-by-nc-3.0","cc-by-nc-4.0","cc-by-nd-4.0","cc-by-nc-nd-3.0","cc-by-nc-nd-4.0","cc-by-nc-sa-2.0","cc-by-nc-sa-3.0","cc-by-nc-sa-4.0","cdla-sharing-1.0","cdla-permissive-1.0","cdla-permissive-2.0","wtfpl","ecl-2.0","epl-1.0","epl-2.0","etalab-2.0","eupl-1.1","eupl-1.2","agpl-3.0","gfdl","gpl","gpl-2.0","gpl-3.0","lgpl","lgpl-2.1","lgpl-3.0","isc","h-research","intel-research","lppl-1.3c","ms-pl","apple-ascl","apple-amlr","mpl-2.0","odc-by","odbl","openmdw-1.0","openmdw-1.1","openrail++","osl-3.0","postgresql","ofl-1.1","ncsa","unlicense","zlib","pddl","lgpl-lr","deepfloyd-if-license","fair-noncommercial-research-license","llama2","llama3","llama3.1","llama3.2","llama3.3","llama4","grok2-community","gemma","unknown","other"]},"license_name":{"type":"string","pattern":"^[a-z0-9-.]+$"},"license_link":{"anyOf":[{"type":"string","const":"LICENSE"},{"type":"string","const":"LICENSE.md"},{"type":"string","format":"uri"}]},"private":{"description":"Repository visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces. Cannot be specified along with private.","type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"path":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","base64"]}},"required":["content","path"]}},"type":{"type":"string","const":"dataset"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"organization":{"type":["string","null"]},"region":{"description":"The region where the repository is hosted.","type":"string","enum":["us","eu"]},"license":{"description":"The license of the repository. You can select 'Other' if your license is not in the list","type":"string","enum":["apache-2.0","mit","openrail","bigscience-openrail-m","creativeml-openrail-m","bigscience-bloom-rail-1.0","bigcode-openrail-m","afl-3.0","artistic-2.0","bsl-1.0","bsd","bsd-2-clause","bsd-3-clause","bsd-3-clause-clear","c-uda","cc","cc0-1.0","cc-by-2.0","cc-by-2.5","cc-by-3.0","cc-by-4.0","cc-by-sa-3.0","cc-by-sa-4.0","cc-by-nc-2.0","cc-by-nc-3.0","cc-by-nc-4.0","cc-by-nd-4.0","cc-by-nc-nd-3.0","cc-by-nc-nd-4.0","cc-by-nc-sa-2.0","cc-by-nc-sa-3.0","cc-by-nc-sa-4.0","cdla-sharing-1.0","cdla-permissive-1.0","cdla-permissive-2.0","wtfpl","ecl-2.0","epl-1.0","epl-2.0","etalab-2.0","eupl-1.1","eupl-1.2","agpl-3.0","gfdl","gpl","gpl-2.0","gpl-3.0","lgpl","lgpl-2.1","lgpl-3.0","isc","h-research","intel-research","lppl-1.3c","ms-pl","apple-ascl","apple-amlr","mpl-2.0","odc-by","odbl","openmdw-1.0","openmdw-1.1","openrail++","osl-3.0","postgresql","ofl-1.1","ncsa","unlicense","zlib","pddl","lgpl-lr","deepfloyd-if-license","fair-noncommercial-research-license","llama2","llama3","llama3.1","llama3.2","llama3.3","llama4","grok2-community","gemma","unknown","other"]},"license_name":{"type":"string","pattern":"^[a-z0-9-.]+$"},"license_link":{"anyOf":[{"type":"string","const":"LICENSE"},{"type":"string","const":"LICENSE.md"},{"type":"string","format":"uri"}]},"private":{"description":"Repository visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces. Cannot be specified along with private.","type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"path":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","base64"]}},"required":["content","path"]}},"type":{"default":"model","type":"string","const":"model"}},"required":["name"]},{"type":"object","properties":{"name":{"type":"string"},"organization":{"type":["string","null"]},"region":{"description":"The region where the repository is hosted.","type":"string","enum":["us","eu"]},"license":{"description":"The license of the repository. You can select 'Other' if your license is not in the list","type":"string","enum":["apache-2.0","mit","openrail","bigscience-openrail-m","creativeml-openrail-m","bigscience-bloom-rail-1.0","bigcode-openrail-m","afl-3.0","artistic-2.0","bsl-1.0","bsd","bsd-2-clause","bsd-3-clause","bsd-3-clause-clear","c-uda","cc","cc0-1.0","cc-by-2.0","cc-by-2.5","cc-by-3.0","cc-by-4.0","cc-by-sa-3.0","cc-by-sa-4.0","cc-by-nc-2.0","cc-by-nc-3.0","cc-by-nc-4.0","cc-by-nd-4.0","cc-by-nc-nd-3.0","cc-by-nc-nd-4.0","cc-by-nc-sa-2.0","cc-by-nc-sa-3.0","cc-by-nc-sa-4.0","cdla-sharing-1.0","cdla-permissive-1.0","cdla-permissive-2.0","wtfpl","ecl-2.0","epl-1.0","epl-2.0","etalab-2.0","eupl-1.1","eupl-1.2","agpl-3.0","gfdl","gpl","gpl-2.0","gpl-3.0","lgpl","lgpl-2.1","lgpl-3.0","isc","h-research","intel-research","lppl-1.3c","ms-pl","apple-ascl","apple-amlr","mpl-2.0","odc-by","odbl","openmdw-1.0","openmdw-1.1","openrail++","osl-3.0","postgresql","ofl-1.1","ncsa","unlicense","zlib","pddl","lgpl-lr","deepfloyd-if-license","fair-noncommercial-research-license","llama2","llama3","llama3.1","llama3.2","llama3.3","llama4","grok2-community","gemma","unknown","other"]},"license_name":{"type":"string","pattern":"^[a-z0-9-.]+$"},"license_link":{"anyOf":[{"type":"string","const":"LICENSE"},{"type":"string","const":"LICENSE.md"},{"type":"string","format":"uri"}]},"private":{"description":"Repository visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces. Cannot be specified along with private.","type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"path":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","base64"]}},"required":["content","path"]}},"type":{"type":"string","const":"kernel"}},"required":["name","type"]},{"type":"object","properties":{"name":{"type":"string"},"organization":{"type":["string","null"]},"region":{"description":"The region where the repository is hosted.","type":"string","enum":["us","eu"]},"license":{"description":"The license of the repository. You can select 'Other' if your license is not in the list","type":"string","enum":["apache-2.0","mit","openrail","bigscience-openrail-m","creativeml-openrail-m","bigscience-bloom-rail-1.0","bigcode-openrail-m","afl-3.0","artistic-2.0","bsl-1.0","bsd","bsd-2-clause","bsd-3-clause","bsd-3-clause-clear","c-uda","cc","cc0-1.0","cc-by-2.0","cc-by-2.5","cc-by-3.0","cc-by-4.0","cc-by-sa-3.0","cc-by-sa-4.0","cc-by-nc-2.0","cc-by-nc-3.0","cc-by-nc-4.0","cc-by-nd-4.0","cc-by-nc-nd-3.0","cc-by-nc-nd-4.0","cc-by-nc-sa-2.0","cc-by-nc-sa-3.0","cc-by-nc-sa-4.0","cdla-sharing-1.0","cdla-permissive-1.0","cdla-permissive-2.0","wtfpl","ecl-2.0","epl-1.0","epl-2.0","etalab-2.0","eupl-1.1","eupl-1.2","agpl-3.0","gfdl","gpl","gpl-2.0","gpl-3.0","lgpl","lgpl-2.1","lgpl-3.0","isc","h-research","intel-research","lppl-1.3c","ms-pl","apple-ascl","apple-amlr","mpl-2.0","odc-by","odbl","openmdw-1.0","openmdw-1.1","openrail++","osl-3.0","postgresql","ofl-1.1","ncsa","unlicense","zlib","pddl","lgpl-lr","deepfloyd-if-license","fair-noncommercial-research-license","llama2","llama3","llama3.1","llama3.2","llama3.3","llama4","grok2-community","gemma","unknown","other"]},"license_name":{"type":"string","pattern":"^[a-z0-9-.]+$"},"license_link":{"anyOf":[{"type":"string","const":"LICENSE"},{"type":"string","const":"LICENSE.md"},{"type":"string","format":"uri"}]},"private":{"description":"Repository visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Repository visibility. `protected` is only supported for Spaces. Cannot be specified along with private.","type":"string","enum":["private","public","protected"]},"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"path":{"type":"string"},"encoding":{"type":"string","enum":["utf-8","base64"]}},"required":["content","path"]}},"type":{"type":"string","const":"space"},"template":{"type":"string"},"short_description":{"type":"string","maxLength":60},"hardware":{"description":"The hardware flavor of the space. If you select 'zero-a10g' or 'zerogpu', the SDK must be Gradio.","type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6","zerogpu"]},"secrets":{"default":[],"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}},"variables":{"default":[],"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"description":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}},"sleepTimeSeconds":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"number","const":-1}]},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the Space container.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"sdk":{"type":"string","enum":["gradio","docker","static"],"description":"The Space SDK. `static` is free for everyone. `gradio` and `docker` run on compute: on the free `cpu-basic` flavor they require a subscription (PRO for users, Team/Enterprise for orgs), while paid hardware only requires billing (a payment method and prepaid credits)."},"sdkVersion":{"type":["string","null"]},"devModeEnabled":{"type":"boolean"}},"required":["name","type","sdk"]}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"filesCopyPending":{"type":"boolean"}},"required":["url","name","id"],"additionalProperties":false}}},"description":"Repository created, url is given"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"url":{"type":"string"}},"required":["error","url"],"additionalProperties":false}}},"description":"Repository already exists, url is given"}}}},"/api/repos/move":{"post":{"description":"Move or rename a repo","summary":"Move repo","tags":["repos"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"fromRepo":{"type":"string","examples":["black-forest-labs/FLUX.1-dev"]},"toRepo":{"type":"string"},"type":{"default":"model","type":"string","enum":["dataset","model","space","bucket","kernel","container"]}},"required":["fromRepo","toRepo"]}}}}}},"/api/{repoType}/{namespace}/{repo}/sql-console/embed/{id}":{"patch":{"description":"Update SQL Console embed","summary":"Update embed","tags":["sql-console"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","maxLength":200},"private":{"type":"boolean"},"sql":{"type":"string"}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"repoId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"views":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"displayName":{"type":"string"},"viewName":{"type":"string"}},"required":["key","displayName","viewName"],"additionalProperties":false}},"sql":{"type":"string"},"title":{"type":"string"},"userId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"slug":{"type":"string"},"private":{"type":"boolean"},"rating":{"type":"number"},"justification":{"type":"string"}},"required":["_id","repoId","views","sql","title","userId","createdAt","slug"],"additionalProperties":false}}},"description":"Updated SQL console embed"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["datasets"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete SQL Console embed","summary":"Delete embed","tags":["sql-console"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"SQL console embed deleted successfully"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["datasets"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/sql-console/embed/{id}/hide":{"post":{"description":"Hide a SQL Console embed from the dataset's community queries. Requires write access to the dataset.","summary":"Hide embed","tags":["sql-console"],"responses":{"204":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"SQL console embed hidden successfully"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["datasets"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/{repoType}/{namespace}/{repo}/sql-console/embed":{"post":{"description":"Create SQL Console embed","summary":"Create embed","tags":["sql-console"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sql":{"type":"string"},"title":{"type":"string","maxLength":200},"private":{"type":"boolean"},"views":{"minItems":1,"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"displayName":{"type":"string"},"viewName":{"type":"string"}},"required":["key","displayName","viewName"]}}},"required":["sql","title","views"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"repoId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"views":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"displayName":{"type":"string"},"viewName":{"type":"string"}},"required":["key","displayName","viewName"],"additionalProperties":false}},"sql":{"type":"string"},"title":{"type":"string"},"userId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"slug":{"type":"string"},"private":{"type":"boolean"},"rating":{"type":"number"},"justification":{"type":"string"}},"required":["_id","repoId","views","sql","title","userId","createdAt","slug"],"additionalProperties":false}}},"description":"Created SQL console embed"}},"parameters":[{"name":"repoType","in":"path","required":true,"schema":{"type":"string","enum":["datasets"]}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/spaces/{namespace}/{repo}/resolve/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/datasets/{namespace}/{repo}/resolve/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/{namespace}/{repo}/resolve/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/api/resolve-cache/spaces/{namespace}/{repo}/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["spaces"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/api/resolve-cache/datasets/{namespace}/{repo}/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/api/resolve-cache/models/{namespace}/{repo}/{rev}/{path}":{"get":{"description":"This endpoint requires to follow redirection","summary":"Resolve a file","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size"],"additionalProperties":false}}},"description":"The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json"},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file"},"304":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Not modified"},"307":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to Xet endpoint"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"rev","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"Range","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"The range in bytes of the file to download","type":"string"}},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info - if the file is a xet file","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/{namespace}/{repo}/ask-access":{"post":{"description":"Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)","summary":"Request access","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"responses":{"303":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/datasets/{namespace}/{repo}/ask-access":{"post":{"description":"Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)","summary":"Request access","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"responses":{"303":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to the repo"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/{namespace}/{repo}/user-access-report":{"get":{"description":"Export a report of all access requests for a gated repository","summary":"Export access report","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The report of all access requests for a gated repository","headers":{"Content-Disposition":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"The filename of the report"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/datasets/{namespace}/{repo}/user-access-report":{"get":{"description":"Export a report of all access requests for a gated repository","summary":"Export access report","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}},"description":"The report of all access requests for a gated repository","headers":{"Content-Disposition":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"The filename of the report"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/user-access-request/cancel":{"post":{"description":"Cancel the current user's access request to a gated repository","summary":"Cancel access request","tags":["models"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/user-access-request/cancel":{"post":{"description":"Cancel the current user's access request to a gated repository","summary":"Cancel access request","tags":["datasets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/user-access-request/{status}":{"get":{"description":"List access requests for a gated repository","summary":"List access requests","tags":["models"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"user":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"email":{"type":"string"},"verifiedOrgNames":{"type":"array","items":{"type":"string"}}},"required":["_id","avatarUrl","fullname","isPro","user","type","verifiedOrgNames"],"additionalProperties":false},"grantedBy":{"anyOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"email":{"type":"string"}},"required":["_id","avatarUrl","fullname","isPro","user","type"],"additionalProperties":false},{"type":"object","properties":{},"additionalProperties":false}]},"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"reviewedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","timestamp"],"additionalProperties":false}}}},"description":"List of access requests for the gated repository","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"path","required":true,"schema":{"type":"string","enum":["pending","accepted","rejected","reset"]}},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":10,"maximum":1000},"required":false},{"name":"after","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"before","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"q","in":"query","schema":{"description":"Search requests by requester username, fullname, email, email domain or verified organization","type":"string","maxLength":250},"required":false}]}},"/api/datasets/{namespace}/{repo}/user-access-request/{status}":{"get":{"description":"List access requests for a gated repository","summary":"List access requests","tags":["datasets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"user":{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"email":{"type":"string"},"verifiedOrgNames":{"type":"array","items":{"type":"string"}}},"required":["_id","avatarUrl","fullname","isPro","user","type","verifiedOrgNames"],"additionalProperties":false},"grantedBy":{"anyOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["id","name","fullname","avatarUrl"],"additionalProperties":false}},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"user":{"type":"string"},"numModels":{"type":"number"},"numDatasets":{"type":"number"},"numSpaces":{"type":"number"},"numBuckets":{"type":"number"},"numKernels":{"type":"number"},"numDiscussions":{"type":"number"},"numPapers":{"type":"number"},"numUpvotes":{"type":"number"},"numLikes":{"type":"number"},"numFollowers":{"type":"number"},"numFollowing":{"type":"number"},"numFollowingOrgs":{"type":"number"},"details":{"type":"string"},"isFollowing":{"type":"boolean"},"reasonToFollow":{"type":"string"},"primaryOrgAvatarUrl":{"type":"string"},"serviceAccount":{"description":"Set when the user is a service account","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"org":{"type":"string"},"orgAvatarUrl":{"type":"string"},"description":{"type":"string"}},"required":["id","org","orgAvatarUrl"],"additionalProperties":false},"type":{"type":"string","const":"user"},"email":{"type":"string"}},"required":["_id","avatarUrl","fullname","isPro","user","type"],"additionalProperties":false},{"type":"object","properties":{},"additionalProperties":false}]},"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"reviewedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","timestamp"],"additionalProperties":false}}}},"description":"List of access requests for the gated repository","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"path","required":true,"schema":{"type":"string","enum":["pending","accepted","rejected","reset"]}},{"name":"limit","in":"query","schema":{"default":1000,"type":"integer","minimum":10,"maximum":1000},"required":false},{"name":"after","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"before","in":"query","schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false},{"name":"q","in":"query","schema":{"description":"Search requests by requester username, fullname, email, email domain or verified organization","type":"string","maxLength":250},"required":false}]}},"/api/models/{namespace}/{repo}/user-access-request/handle":{"post":{"description":"Handle a user's access request to a gated repository","summary":"Handle access request","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"description":"Either userId or user must be provided","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"description":"Either userId or user must be provided","type":"string"},"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"rejectionReason":{"type":"string","maxLength":200},"resetReason":{"type":"string","maxLength":200}},"required":["status"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/user-access-request/handle":{"post":{"description":"Handle a user's access request to a gated repository","summary":"Handle access request","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"description":"Either userId or user must be provided","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"description":"Either userId or user must be provided","type":"string"},"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"rejectionReason":{"type":"string","maxLength":200},"resetReason":{"type":"string","maxLength":200}},"required":["status"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/user-access-request/batch":{"post":{"description":"Accept, reject, reset or set back to pending up to 100 access requests for a single gated repository in one call. The same `status` (and optional `rejectionReason` or `resetReason`) is applied to every request in the list.","summary":"Batch access requests","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"rejectionReason":{"type":"string","maxLength":200},"resetReason":{"type":"string","maxLength":200},"requests":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"userId":{"description":"Either userId or user must be provided","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"description":"Either userId or user must be provided","type":"string"}}}}},"required":["status","requests"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"user":{"type":"string"},"ok":{"type":"boolean"},"error":{"type":"string","enum":["user_not_found","request_not_found"]}},"required":["ok"],"additionalProperties":false}}}},"description":"Per-request outcomes, in the same order as the input requests array."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/user-access-request/batch":{"post":{"description":"Accept, reject, reset or set back to pending up to 100 access requests for a single gated repository in one call. The same `status` (and optional `rejectionReason` or `resetReason`) is applied to every request in the list.","summary":"Batch access requests","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["accepted","rejected","pending","reset"]},"rejectionReason":{"type":"string","maxLength":200},"resetReason":{"type":"string","maxLength":200},"requests":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"userId":{"description":"Either userId or user must be provided","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"description":"Either userId or user must be provided","type":"string"}}}}},"required":["status","requests"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"user":{"type":"string"},"ok":{"type":"boolean"},"error":{"type":"string","enum":["user_not_found","request_not_found"]}},"required":["ok"],"additionalProperties":false}}}},"description":"Per-request outcomes, in the same order as the input requests array."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/models/{namespace}/{repo}/user-access-request/grant":{"post":{"description":"Grant access to a user for a gated repository","summary":"Grant access","tags":["models"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"type":"string"}},"description":"The user to grant access to either by userId or user"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/datasets/{namespace}/{repo}/user-access-request/grant":{"post":{"description":"Grant access to a user for a gated repository","summary":"Grant access","tags":["datasets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"user":{"type":"string"}},"description":"The user to grant access to either by userId or user"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/volumes":{"put":{"summary":"Set Space volumes","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"volumes":{"minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}}},"required":["volumes"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete Space volumes","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/hardware":{"post":{"summary":"Update hardware flavor","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"sleepTimeSeconds":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"number","const":-1}]}},"required":["flavor"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/sleeptime":{"post":{"summary":"Set sleep time","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"seconds":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"number","const":-1}]}},"required":["seconds"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/logs/{logType}":{"get":{"description":"Get logs for a specific Space in a streaming fashion, with SSE protocol","summary":"Stream logs","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"logType","in":"path","required":true,"schema":{"type":"string","enum":["build","run"]}},{"name":"tail","in":"query","schema":{"description":"Maximum number of lines to return from the logs.","type":"integer","minimum":0,"maximum":9007199254740991},"required":false}]}},"/api/spaces/{namespace}/{repo}/events":{"get":{"description":"Get status updates for a specific Space in a streaming fashion, with SSE protocol","summary":"Stream events","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_uuid","in":"query","schema":{"type":"string"},"required":false}]}},"/api/spaces/{namespace}/{repo}/metrics":{"get":{"description":"Get live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage","summary":"Stream metrics","tags":["spaces"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/dev-mode":{"post":{"summary":"Toggle dev mode","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/{namespace}/{repo}/custom-domain":{"post":{"summary":"Set custom domain","tags":["spaces"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"domain":{"type":"string","pattern":"^([a-z0-9]+(-[a-z0-9_]+)*\\.)+[a-z]{2,}$"}},"required":["domain"]}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/spaces/semantic-search":{"get":{"summary":"Semantic search","tags":["spaces"],"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":250},"required":false},{"name":"category","in":"query","schema":{"type":"string","enum":["image-generation","video-generation","text-generation","language-translation","speech-synthesis","voice-cloning","face-recognition","object-detection","pose-estimation","text-analysis","sentiment-analysis","question-answering","code-generation","data-visualization","3d-modeling","image-editing","background-removal","image-upscaling","ocr","document-analysis","visual-qa","image-captioning","chatbots","text-summarization","music-generation","medical-imaging","financial-analysis","game-ai","model-benchmarking","fine-tuning-tools","dataset-creation","anomaly-detection","recommendation-systems","character-animation","style-transfer","agent-environment","image","other"]},"required":false},{"name":"includeNonRunning","in":"query","schema":{"type":"boolean"},"required":false},{"name":"sdk","in":"query","schema":{"type":"array","items":{"type":"string","enum":["gradio","docker","static","streamlit"]}},"required":false},{"name":"filter","in":"query","schema":{"type":"array","items":{"type":"string"}},"required":false},{"name":"agents","in":"query","schema":{"type":"boolean"},"required":false}]}},"/api/spaces/featured":{"get":{"summary":"Featured spaces","tags":["spaces"],"parameters":[{"name":"date","in":"query","schema":{"type":"string"},"required":false}]}},"/api/daily_papers":{"get":{"summary":"Get Daily Papers","tags":["papers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"paper":{"type":"object","properties":{"id":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"statusLastChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"user":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"hidden":{"type":"boolean"}},"required":["_id","name","hidden"],"additionalProperties":false,"description":"Paper author information"}},"mediaUrls":{"type":"array","items":{"type":"string"}},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"submittedOnDailyAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"title":{"type":"string"},"submittedOnDailyBy":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"summary":{"type":"string"},"upvotes":{"type":"number"},"withdrawnAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"discussionId":{"type":"string"},"projectPage":{"type":"string"},"githubRepo":{"type":"string"},"ai_summary":{"type":"string"},"ai_keywords":{"type":"array","items":{"type":"string"}},"ai_summary_model":{"type":"string"},"githubStars":{"type":"number"}},"required":["id","authors","publishedAt","title","summary","upvotes","discussionId"],"additionalProperties":false,"description":"Paper data with metadata"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"title":{"type":"string"},"summary":{"type":"string"},"mediaUrls":{"type":"array","items":{"type":"string"}},"thumbnail":{"type":"string"},"numComments":{"type":"number"},"submittedBy":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"isAuthorParticipating":{"type":"boolean"}},"required":["paper","publishedAt","title","summary","thumbnail","numComments","submittedBy","isAuthorParticipating"],"additionalProperties":false,"description":"Daily paper data for API responses"}}}},"description":"List of daily papers"}},"parameters":[{"name":"p","in":"query","schema":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":100},"required":false},{"name":"date","in":"query","schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"required":false},{"name":"week","in":"query","schema":{"type":"string","pattern":"^\\d{4}-W(0[1-9]|[1-4][0-9]|5[0-2])$"},"required":false},{"name":"month","in":"query","schema":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"},"required":false},{"name":"submitter","in":"query","schema":{"type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"publishedAt","type":"string","enum":["publishedAt","trending"]},"required":false}]}},"/api/papers":{"get":{"description":"List arXiv papers sorted by published date","summary":"List papers","tags":["papers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"statusLastChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"user":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"hidden":{"type":"boolean"}},"required":["_id","name","hidden"],"additionalProperties":false,"description":"Paper author information"}},"summary":{"type":"string"},"projectPage":{"type":"string"},"githubRepo":{"type":"string"},"ai_summary":{"type":"string"},"organization":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"fullname":{"type":"string"},"avatar":{"type":"string"}},"required":["_id","name"],"additionalProperties":false}},"required":["id","title","upvotes","publishedAt","authors","summary"],"additionalProperties":false}}}},"description":"List of papers"}},"parameters":[{"name":"cursor","in":"query","schema":{"description":"Pagination cursor","type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"limit","in":"query","schema":{"default":50,"type":"integer","minimum":1,"maximum":100},"required":false}]}},"/api/papers/search":{"get":{"description":"Perform a hybrid semantic / full-text-search on papers","summary":"Search papers","tags":["papers"],"parameters":[{"name":"q","in":"query","schema":{"default":"","type":"string","maxLength":250},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":120},"required":false}]}},"/api/papers/index":{"post":{"description":"Index a paper from arXiv by its ID. If the paper is already indexed, only its authors can re-index it.","summary":"Index a paper","tags":["papers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"arxivId":{"description":"The arXiv ID of the paper to index (e.g. 2301.00001)","type":"string","pattern":"^\\d{4}\\.\\d{4,5}$"}},"required":["arxivId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"Empty object on success"}}}},"/api/papers/{paperId}":{"get":{"summary":"Get a paper","tags":["papers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"authors":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"statusLastChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"user":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"hidden":{"type":"boolean"}},"required":["_id","name","hidden"],"additionalProperties":false,"description":"Paper author information"}},"mediaUrls":{"type":"array","items":{"type":"string"}},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"submittedOnDailyAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"title":{"type":"string"},"submittedOnDailyBy":{"type":"object","properties":{"_id":{"type":"string"},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"isPro":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"}},"required":["_id","avatarUrl","fullname","isPro","name","type"],"additionalProperties":false,"description":"User overview information"},"summary":{"type":"string"},"upvotes":{"type":"number"},"withdrawnAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"discussionId":{"type":"string"},"projectPage":{"type":"string"},"githubRepo":{"type":"string"},"ai_summary":{"type":"string"},"ai_keywords":{"type":"array","items":{"type":"string"}},"ai_summary_model":{"type":"string"},"githubStars":{"type":"number"},"submissionDeadline":{"description":"only available when field contains 'submissionDeadline'","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"linkedModels":{"type":"array","items":{"type":"object","properties":{"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true}},"required":["author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated"],"additionalProperties":false}},"numTotalModels":{"type":"number"},"linkedDatasets":{"type":"array","items":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"}},"required":["author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified"],"additionalProperties":false}},"numTotalDatasets":{"type":"number"},"linkedSpaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"emoji":{"type":"string"},"running":{"type":"boolean"},"shortDescription":{"type":"string"},"featured":{"type":"boolean"}},"required":["id","emoji","running","featured"],"additionalProperties":false}},"numTotalSpaces":{"type":"number"},"comments":{"description":"only available when field contains 'comments'","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}}},"required":["id","authors","publishedAt","title","summary","upvotes","discussionId","linkedModels","numTotalModels","linkedDatasets","numTotalDatasets","linkedSpaces","numTotalSpaces"],"additionalProperties":false}}},"description":"Paper data"}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"field","in":"query","schema":{"anyOf":[{"type":"string","enum":["submissionDeadline","comments"]},{"type":"array","items":{"type":"string","enum":["submissionDeadline","comments"]}}]},"required":false}]}},"/api/papers/{paperId}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/comment/{commentId}/reply":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/papers/{paperId}/links":{"post":{"description":"Update the project page, GitHub repository, or submitting organization for a paper. Requires the requester to be the paper author, the Daily Papers submitter, or a papers admin.","summary":"Update paper links","tags":["papers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectPage":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"githubRepo":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"organizationId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}},"description":"Paper links updated"}},"parameters":[{"name":"paperId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}":{"delete":{"summary":"Delete a discussion","tags":["discussions"],"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment/{commentId}/reply":{"post":{"summary":"Create comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":65536}},"required":["comment"]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"newMessage":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"isOwner":{"type":"boolean"},"isOrgMember":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"oauthApp":{"type":"object","properties":{"imageUrl":{"type":"string"},"imageData":{"type":"object","properties":{"emoji":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"}},"required":["emoji","colorFrom","colorTo"],"additionalProperties":false},"url":{"type":"string"},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"type":{"type":"string","const":"comment"},"data":{"type":"object","properties":{"edited":{"type":"boolean"},"hidden":{"type":"boolean"},"hiddenBy":{"type":"string"},"hiddenReason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]},"latest":{"type":"object","properties":{"raw":{"type":"string"},"html":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]}},"required":["raw","html","updatedAt"],"additionalProperties":false},"numEdits":{"type":"number"},"editors":{"type":"array","items":{"type":"string"}},"editorAvatarUrls":{"type":"array","items":{"type":"string"}},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"users":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}},"required":["reaction","users","count"],"additionalProperties":false}},"identifiedLanguage":{"type":"object","properties":{"language":{"type":"string"},"probability":{"type":"number"}},"required":["language","probability"],"additionalProperties":false},"relatedEventId":{"type":"string"},"isReport":{"type":"boolean"},"parentCommentId":{"type":"string"}},"required":["edited","hidden","latest","numEdits","editors","editorAvatarUrls","reactions"],"additionalProperties":false}},"required":["id","createdAt","type","data"],"additionalProperties":false}},"required":["newMessage"],"additionalProperties":false}}},"description":"New comment created"}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment/{commentId}/reaction":{"post":{"summary":"React to comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reaction":{"type":"string","enum":["fire","rocket","eyes","heart","hugs","cool","plus","brain","thumbsup","handshake","sad","mindblown"]},"action":{"type":"string","enum":["add","remove"]}},"required":["reaction","action"]}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment/{commentId}/hide":{"post":{"summary":"Hide comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","enum":["Spam","Abuse","Graphic Content","Resolved","Off-Topic","Low Quality"]}}}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/posts/{username}/{postSlug}/comment/{commentId}/edit":{"post":{"summary":"Update a comment","tags":["discussions"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":65536}},"required":["content"]}}}},"parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}},{"name":"postSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}-{id}":{"get":{"summary":"Get a collection","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The collection data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]},"patch":{"summary":"Update a collection","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"position":{"type":"integer","minimum":0,"maximum":9007199254740991},"private":{"type":"boolean"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":150},"gating":{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"]},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"]}},"required":["mode","notifications"]}]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}},"required":["success","data"],"additionalProperties":false}}},"description":"The updated collection"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a collection","tags":["collections"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}":{"get":{"summary":"Get a collection","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The collection data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"patch":{"summary":"Update a collection","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"position":{"type":"integer","minimum":0,"maximum":9007199254740991},"private":{"type":"boolean"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":150},"gating":{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"]},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"]}},"required":["mode","notifications"]}]}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}},"required":["success","data"],"additionalProperties":false}}},"description":"The updated collection"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete a collection","tags":["collections"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}-{id}/items":{"post":{"description":"Add an item to a collection","summary":"Add item","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"item":{"type":"object","properties":{"type":{"type":"string","enum":["paper","collection","space","model","dataset","bucket"]},"id":{"type":"string"}},"required":["type","id"]},"note":{"type":"string","maxLength":500}},"required":["item"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The updated collection"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}/items":{"post":{"description":"Add an item to a collection","summary":"Add item","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"item":{"type":"object","properties":{"type":{"type":"string","enum":["paper","collection","space","model","dataset","bucket"]},"id":{"type":"string"}},"required":["type","id"]},"note":{"type":"string","maxLength":500}},"required":["item"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The updated collection"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}-{id}/items/batch":{"post":{"description":"Batch update items in a collection","summary":"Batch update items","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"action":{"type":"string","enum":["update"]},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"data":{"type":"object","properties":{"gallery":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string","maxLength":500},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}}}},"required":["action","_id","data"]}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}/items/batch":{"post":{"description":"Batch update items in a collection","summary":"Batch update items","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"action":{"type":"string","enum":["update"]},"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"data":{"type":"object","properties":{"gallery":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string","maxLength":500},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}}}},"required":["action","_id","data"]}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}-{id}/items/{itemId}":{"patch":{"description":"Update an item in a collection","summary":"Update item","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gallery":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string","maxLength":500},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete an item from a collection","summary":"Delete item","tags":["collections"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}/items/{slug}":{"patch":{"description":"Update an item in a collection","summary":"Update item","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gallery":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string","maxLength":500},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}}}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"description":"Delete an item from a collection","summary":"Delete item","tags":["collections"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections":{"post":{"summary":"Create a collection","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":60},"description":{"type":"string","maxLength":150},"namespace":{"type":"string"},"item":{"type":"object","properties":{"type":{"type":"string","enum":["paper","collection","space","model","dataset","bucket"]},"id":{"type":"string"}},"required":["type","id"]},"private":{"description":"If not provided, the collection will be public. This field will respect the organization's visibility setting.","type":"boolean"},"resourceGroupId":{"description":"Assign the collection to a resource group of the owning organization. Only valid for organization-owned collections.","type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["title","namespace"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"position":{"type":"number"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"shareUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","position","theme","private","upvotes","shareUrl","isUpvotedByUser","items"],"additionalProperties":false}}},"description":"The created collection"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"slug":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"The collection already exists"}}},"get":{"summary":"Get collections","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"gating":{"anyOf":[{"type":"boolean","const":true},{"anyOf":[{"type":"boolean","const":false},{"type":"object","properties":{"mode":{"type":"string","const":"auto"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"manual"},"notifications":{"type":"object","properties":{"mode":{"type":"string","enum":["bulk","real-time"]},"email":{"type":"string"}},"required":["mode"],"additionalProperties":false}},"required":["mode","notifications"],"additionalProperties":false}]}]},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"private":{"type":"boolean"},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"likes":{"type":"number"},"datasetsServerInfo":{"type":"object","properties":{"viewer":{"type":"string","enum":["preview","viewer-partial","viewer"]},"numRows":{"type":["number","null"]},"libraries":{"type":"array","items":{"type":"string","enum":["mlcroissant","webdataset","datasets","pandas","dask","distilabel","fiftyone","lance","argilla","polars","duckdb","datadesigner","harbor","verifiers","openenv","nemo-gym","agentenv"]}},"formats":{"type":"array","items":{"type":"string","enum":["json","csv","parquet","imagefolder","audiofolder","webdataset","text","arrow","optimized-parquet","agent-traces"]}},"modalities":{"type":"array","items":{"type":"string","enum":["3d","audio","document","geospatial","image","tabular","text","timeseries","video"]}}},"required":["viewer","numRows","libraries","formats","modalities"],"additionalProperties":false},"private":{"type":"boolean"},"repoType":{"type":"string","const":"dataset"},"downloads":{"type":"number"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"isBenchmark":{"type":"boolean"},"isTraces":{"type":"boolean"},"isEnvironment":{"type":"boolean"},"type":{"type":"string","const":"dataset"}},"required":["position","author","id","isLikedByUser","likes","private","repoType","downloads","gated","lastModified","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"downloads":{"type":"number"},"id":{"type":"string"},"availableInferenceProviders":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["baseten","cerebras","cohere","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","humain-ai","novita","nscale","openai","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]},"providerStatus":{"type":"string","enum":["live","staging","error"]},"modelStatus":{"type":"string","enum":["live","staging","error"]},"providerId":{"type":"string"},"task":{"type":"string","enum":["text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video","other","conversational"]},"adapterType":{"type":"string","const":"lora"},"adapterWeightsPath":{"type":"string"},"features":{"type":"object","properties":{"toolCalling":{"type":"boolean"}},"additionalProperties":false},"isCheapestPricingOutput":{"type":"boolean"},"isFastestThroughput":{"type":"boolean"},"isModelAuthor":{"type":"boolean"},"tokensPerSecond":{"type":"number"},"pricingOutput":{"type":"number"},"freeUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["provider","providerStatus","modelStatus","providerId","task","isCheapestPricingOutput","isFastestThroughput","isModelAuthor"],"additionalProperties":false}},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pipeline_tag":{"type":"string"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"model"},"gated":{"anyOf":[{"type":"boolean","const":false},{"type":"string","enum":["auto","manual"]}]},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"numParameters":{"type":"number"},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"widgetOutputUrls":{"type":"array","items":{"type":"string","format":"uri"}},"isPreRelease":{"type":"boolean","const":true},"type":{"type":"string","const":"model"}},"required":["position","author","downloads","id","availableInferenceProviders","isLikedByUser","lastModified","likes","private","repoType","gated","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"colorFrom":{"type":"string"},"colorTo":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"emoji":{"type":"string"},"id":{"type":"string"},"isLikedByUser":{"type":"boolean"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"likes":{"type":"number"},"pinned":{"type":"boolean"},"private":{"type":"boolean"},"repoType":{"type":"string","const":"space"},"title":{"type":"string"},"sdk":{"type":"string","enum":["gradio","docker","static","streamlit"]},"runtime":{"type":"object","properties":{"stage":{"type":"string","enum":["NO_APP_FILE","CONFIG_ERROR","BUILDING","BUILD_ERROR","APP_STARTING","RUNNING","RUNNING_BUILDING","RUNNING_APP_STARTING","RUNTIME_ERROR","DELETING","STOPPED","PAUSED","SLEEPING"]},"hardware":{"type":"object","properties":{"current":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]},"requested":{"anyOf":[{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},{"type":"null"}]}},"required":["current","requested"],"additionalProperties":false},"errorMessage":{"type":"string"},"gcTimeout":{"type":["number","null"]},"replicas":{"type":"object","properties":{"current":{"type":["number","null"]},"requested":{"anyOf":[{"type":"number"},{"type":"string","const":"auto"}]}},"required":["requested"],"additionalProperties":false},"devMode":{"type":"boolean"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"isCustom":{"type":["boolean","null"]},"stage":{"type":"string","enum":["READY","PENDING","PENDING_CHALLENGE","EXPIRED_CHALLENGE","MISCONFIGURED"]}},"required":["domain","stage"],"additionalProperties":false}},"sha":{"type":"string"},"hotReloading":{"type":"object","properties":{"status":{"type":"string"},"replicaStatuses":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"type":["string","null"]}],"items":false,"minItems":2,"maxItems":2}}},"required":["status","replicaStatuses"],"additionalProperties":false}},"required":["stage","hardware","replicas"],"additionalProperties":false},"disabled":{"type":"boolean"},"originRepo":{"type":"object","properties":{"author":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"name":{"type":"string"}},"required":["author","name"],"additionalProperties":false},"ai_short_description":{"type":"string"},"ai_category":{"type":"string"},"trendingScore":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"authorData":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"shortDescription":{"type":"string"},"semanticRelevancyScore":{"type":"number"},"featured":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private","protected"]},"type":{"type":"string","const":"space"}},"required":["position","author","colorFrom","colorTo","createdAt","emoji","id","isLikedByUser","lastModified","likes","pinned","private","repoType","title","runtime","disabled","tags","featured","visibility","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"id":{"type":"string"},"title":{"type":"string"},"upvotes":{"type":"number"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"thumbnailUrl":{"type":"string"},"isUpvotedByUser":{"type":"boolean"},"type":{"type":"string","const":"paper"}},"required":["position","id","title","upvotes","publishedAt","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"slug":{"type":"string"},"lastUpdated":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"owner":{"oneOf":[{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"org"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"isUserFollowing":{"type":"boolean"}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type"],"additionalProperties":false},{"type":"object","properties":{"_id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"isHf":{"type":"boolean"},"isHfAdmin":{"type":"boolean"},"isMod":{"type":"boolean"},"followerCount":{"type":"number"},"type":{"type":"string","const":"user"},"isPro":{"type":"boolean"},"isUserFollowing":{"type":"boolean"},"primaryOrg":{"type":"object","properties":{"avatarUrl":{"type":"string"},"fullname":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","const":"org"},"isHf":{"type":"boolean"},"isFollowing":{"type":"boolean"},"plan":{"type":"string","enum":["team","enterprise","plus","academia"]},"details":{"type":"string"},"hasPrivateMembersList":{"type":"boolean"},"userRole":{"type":"string","enum":["admin","write","contributor","read","no_access"]},"numUsers":{"type":"number"}},"required":["avatarUrl","fullname","name","type","isHf"],"additionalProperties":false}},"required":["_id","avatarUrl","fullname","name","isHf","isHfAdmin","isMod","type","isPro"],"additionalProperties":false}]},"title":{"type":"string"},"theme":{"type":"string","enum":["orange","blue","green","purple","pink","indigo"]},"upvotes":{"type":"number"},"isUpvotedByUser":{"type":"boolean"},"shareUrl":{"type":"string"},"id":{"type":"string"},"numberItems":{"type":"number"},"type":{"type":"string","const":"collection"}},"required":["position","slug","lastUpdated","owner","title","theme","upvotes","isUpvotedByUser","shareUrl","id","numberItems","type"],"additionalProperties":false},{"type":"object","properties":{"note":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}},"required":["html","text"],"additionalProperties":false},"gallery":{"type":"array","items":{"type":"string"}},"position":{"type":"number"},"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"type":{"type":"string","const":"bucket"}},"required":["position","author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions","type"],"additionalProperties":false}]}}},"required":["slug","title","lastUpdated","gating","owner","theme","private","upvotes","isUpvotedByUser","items"],"additionalProperties":false}},{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"private":{"type":"boolean"},"upvotes":{"type":"number"},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"name":{"type":"string"}},"required":["title","private","upvotes","name"],"additionalProperties":false}}]}}},"description":"The collection data","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"item","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^spaces|models|datasets|papers\\/.*"}},{"type":"string","pattern":"^spaces|models|datasets|papers\\/.*"}]},"required":false},{"name":"owner","in":"query","schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}]},"required":false},{"name":"q","in":"query","schema":{"type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"trending","type":"string","enum":["upvotes","lastModified","trending"]},"required":false},{"name":"cursor","in":"query","schema":{"type":"string"},"required":false},{"name":"expand","in":"query","schema":{"type":"string"},"required":false},{"name":"limit","in":"query","schema":{"default":10,"type":"number","minimum":1,"maximum":10000},"required":false}]}},"/api/collections/{namespace}/{slug}-{id}/resource-group":{"get":{"summary":"Collection resource group","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group the collection currently belongs to"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"description":"Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.","summary":"Collection resource group","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to assign the collection to. If null, the collection is removed from any resource group."}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["id","slug","title","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the collection after the assignment"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/collections/{namespace}/{slug}/resource-group":{"get":{"summary":"Collection resource group","tags":["collections"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}}},"description":"The resource group the collection currently belongs to"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"description":"Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.","summary":"Collection resource group","tags":["collections"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resourceGroupId":{"anyOf":[{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},{"type":"null"}],"description":"The resource group to assign the collection to. If null, the collection is removed from any resource group."}},"required":["resourceGroupId"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"private":{"type":"boolean"},"addedBy":{"type":"string"}},"required":["id","slug","title","private","addedBy"],"additionalProperties":false}}},"description":"Minimal information about the collection after the assignment"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}":{"post":{"summary":"Create bucket","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"description":"Bucket visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Bucket visibility. Cannot be specified along with private.","type":"string","enum":["private","public"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"cdn":{"description":"CDN pre-warming regions","type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"]}},"region":{"description":"The region where the bucket is hosted.","type":"string","enum":["us","eu"]},"description":{"description":"Free-text description.","type":"string","maxLength":500}},"description":"Bucket creation options"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["url","name","id"],"additionalProperties":false}}},"description":"Bucket created, url is given"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"url":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["error","url","id"],"additionalProperties":false}}},"description":"Bucket already exists, url is given"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete bucket","tags":["buckets"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get bucket details","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions"],"additionalProperties":false}}},"description":"Bucket overview information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}":{"post":{"summary":"Create bucket","tags":["containers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"description":"Bucket visibility. Defaults to public. Cannot be specified along with visibility.","type":["boolean","null"]},"visibility":{"description":"Bucket visibility. Cannot be specified along with private.","type":"string","enum":["private","public"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"},"cdn":{"description":"CDN pre-warming regions","type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"]}},"region":{"description":"The region where the bucket is hosted.","type":"string","enum":["us","eu"]},"description":{"description":"Free-text description.","type":"string","maxLength":500}},"description":"Bucket creation options"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["url","name","id"],"additionalProperties":false}}},"description":"Bucket created, url is given"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"url":{"type":"string"},"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."}},"required":["error","url","id"],"additionalProperties":false}}},"description":"Bucket already exists, url is given"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete bucket","tags":["containers"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"summary":"Get bucket details","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions"],"additionalProperties":false}}},"description":"Bucket overview information"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/settings":{"put":{"summary":"Update bucket settings","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":["boolean","string"]},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"]}}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}}},"additionalProperties":false}}},"description":"The updated bucket settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/settings":{"put":{"summary":"Update bucket settings","tags":["containers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":["boolean","string"]},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"]}}}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"private":{"type":"boolean"},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}}},"additionalProperties":false}}},"description":"The updated bucket settings."}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}":{"get":{"summary":"List namespace buckets","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions"],"additionalProperties":false,"description":"Bucket overview information"}}}},"description":"List of buckets"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","schema":{"type":"string"},"required":false}]}},"/api/containers/{namespace}":{"get":{"summary":"List namespace buckets","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"author":{"type":"string"},"id":{"type":"string"},"private":{"type":["boolean","null"]},"description":{"description":"Free-text description of the bucket / container image","type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"Moves on every successful change to the bucket's files. Poll it to know when to re-list instead of re-listing every path."},"size":{"type":"number","description":"The amount of storage used by the bucket in bytes"},"totalFiles":{"type":"number","description":"The total number of files in the bucket"},"repoType":{"type":"string","enum":["bucket","container"]},"adminTags":{"type":"array","items":{"type":"string"}},"disabled":{"type":"object","properties":{"reason":{"type":"string"},"hideReadme":{"type":"boolean"}},"required":["reason"],"additionalProperties":false},"cdnRegions":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","enum":["gcp","aws"]},"region":{"type":"string","enum":["us","eu"]}},"required":["provider","region"],"additionalProperties":false}},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false}},"required":["author","id","createdAt","updatedAt","size","totalFiles","repoType","cdnRegions"],"additionalProperties":false,"description":"Bucket overview information"}}}},"description":"List of buckets"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","schema":{"type":"string"},"required":false}]}},"/buckets/{namespace}/{repo}/resolve/{path}":{"get":{"description":"Returns file metadata including size, hash, and links to XET authentication","summary":"Get file metadata","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"},"contentType":{"description":"The content type of the file","type":"string"},"uploadedAt":{"type":"string","description":"ISO 8601 timestamp of when the file was added to the bucket"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size","uploadedAt"],"additionalProperties":false}}},"description":"XET file info returned when the Accept header is set to `application/vnd.xet-fileinfo+json`. Otherwise, a 302 redirect is returned."},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file on the xet bridge (default when no specific Accept header is set)"},"400":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"File path required"},"404":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"Bucket or file not found"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"noContentDisposition","in":"query","schema":{"type":"string"},"required":false},{"name":"download","in":"query","schema":{"type":"string"},"required":false},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/containers/{namespace}/{repo}/resolve/{path}":{"get":{"description":"Returns file metadata including size, hash, and links to XET authentication","summary":"Get file metadata","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","description":"The XET hash of the file"},"refreshUrl":{"type":"string","description":"The XET auth URL for the file"},"reconstructionUrl":{"type":"string","description":"The XET reconstruction URL for the file"},"etag":{"type":"string","description":"The ETag of the file"},"size":{"type":"number","description":"The size of the file"},"contentType":{"description":"The content type of the file","type":"string"},"uploadedAt":{"type":"string","description":"ISO 8601 timestamp of when the file was added to the bucket"}},"required":["hash","refreshUrl","reconstructionUrl","etag","size","uploadedAt"],"additionalProperties":false}}},"description":"XET file info returned when the Accept header is set to `application/vnd.xet-fileinfo+json`. Otherwise, a 302 redirect is returned."},"302":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"description":"Redirection to file on the xet bridge (default when no specific Accept header is set)"},"400":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"File path required"},"404":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"Bucket or file not found"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"noContentDisposition","in":"query","schema":{"type":"string"},"required":false},{"name":"download","in":"query","schema":{"type":"string"},"required":false},{"name":"Accept","in":"header","schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Returns json information about the XET file info","type":"string","const":"application/vnd.xet-fileinfo+json"}}]}},"/api/buckets/{namespace}/{repo}/batch":{"post":{"description":"Accepts NDJSON (newline-delimited JSON) where each line is an addFile, copyFile, or deleteFile instruction.\nAll add/copy operations must come before all delete operations.\n\nJSON-lines payload:\n```json\n\t'{\"type\":\"addFile\",\"path\":\"...\",\"xetHash\":\"...\",\"mtime\":...,\"mtimeNanos\":...,\"contentType\":\"...\"}' +\n\t'{\"type\":\"copyFile\",\"path\":\"...\",\"xetHash\":\"...\",\"sourceRepoType\":\"...\",\"sourceRepoId\":\"...\",\"mtime\":...,\"mtimeNanos\":...,\"contentType\":\"...\"}' +\n\t'{\"type\":\"deleteFile\",\"path\":\"...\"}'\n```","summary":"Batch file operations","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all operations succeeded"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of operations attempted"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of successful operations"},"failed":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"File path that failed"},"error":{"type":"string","description":"Error message"}},"required":["path","error"],"additionalProperties":false},"description":"List of failed operations"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Batch operation status"},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all operations succeeded"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of operations attempted"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of successful operations"},"failed":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"File path that failed"},"error":{"type":"string","description":"Error message"}},"required":["path","error"],"additionalProperties":false},"description":"List of failed operations"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Batch operation status"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/batch":{"post":{"description":"Accepts NDJSON (newline-delimited JSON) where each line is an addFile, copyFile, or deleteFile instruction.\nAll add/copy operations must come before all delete operations.\n\nJSON-lines payload:\n```json\n\t'{\"type\":\"addFile\",\"path\":\"...\",\"xetHash\":\"...\",\"mtime\":...,\"mtimeNanos\":...,\"contentType\":\"...\"}' +\n\t'{\"type\":\"copyFile\",\"path\":\"...\",\"xetHash\":\"...\",\"sourceRepoType\":\"...\",\"sourceRepoId\":\"...\",\"mtime\":...,\"mtimeNanos\":...,\"contentType\":\"...\"}' +\n\t'{\"type\":\"deleteFile\",\"path\":\"...\"}'\n```","summary":"Batch file operations","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all operations succeeded"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of operations attempted"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of successful operations"},"failed":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"File path that failed"},"error":{"type":"string","description":"Error message"}},"required":["path","error"],"additionalProperties":false},"description":"List of failed operations"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Batch operation status"},"422":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean","description":"True if all operations succeeded"},"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of operations attempted"},"succeeded":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of successful operations"},"failed":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"File path that failed"},"error":{"type":"string","description":"Error message"}},"required":["path","error"],"additionalProperties":false},"description":"List of failed operations"}},"required":["success","processed","succeeded","failed"],"additionalProperties":false}}},"description":"Batch operation status"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/buckets/{namespace}/{repo}/tree/{path}":{"get":{"summary":"List files","tags":["buckets"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory"]},"path":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"xetHash":{"description":"Not defined for directories","type":"string"},"mtime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mtimeNanos":{"description":"Sub-millisecond remainder of mtime, in nanoseconds (0\u2013999_999)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"contentType":{"type":"string"}},"required":["type","path","uploadedAt"],"additionalProperties":false}}}},"description":"List of files and directories","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Pagination link header"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"limit","in":"query","schema":{"default":1000,"maximum":5000,"type":"integer","minimum":1},"required":false},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor","type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"recursive","in":"query","schema":{"description":"When false, returns collapsed directory entries instead of listing all files recursively. The number of entries returned can then be less than the limit, but there will always be a pagination link if there are more entries. Note: non-recursive listing hasn't a strong consistency guarantees.","type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"path","description":"Sort order. `path` (default) sorts lexicographically; `uploadedAt` sorts by most recent upload first. In recursive mode `uploadedAt` is only supported at the bucket root (no path prefix). In non-recursive mode, only supported at root or exact folder prefixes.","type":"string","enum":["path","uploadedAt"]},"required":false},{"name":"direction","in":"query","schema":{"description":"Sort direction. Defaults to `asc` for `path` and `desc` for `uploadedAt`.","type":"string","enum":["asc","desc"]},"required":false}]}},"/api/containers/{namespace}/{repo}/tree/{path}":{"get":{"summary":"List files","tags":["containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory"]},"path":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"xetHash":{"description":"Not defined for directories","type":"string"},"mtime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mtimeNanos":{"description":"Sub-millisecond remainder of mtime, in nanoseconds (0\u2013999_999)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"contentType":{"type":"string"}},"required":["type","path","uploadedAt"],"additionalProperties":false}}}},"description":"List of files and directories","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Pagination link header"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Wildcard path parameter"}},{"name":"limit","in":"query","schema":{"default":1000,"maximum":5000,"type":"integer","minimum":1},"required":false},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor","type":"string","contentEncoding":"base64","contentMediaType":"application/json"},"required":false},{"name":"recursive","in":"query","schema":{"description":"When false, returns collapsed directory entries instead of listing all files recursively. The number of entries returned can then be less than the limit, but there will always be a pagination link if there are more entries. Note: non-recursive listing hasn't a strong consistency guarantees.","type":"string"},"required":false},{"name":"sort","in":"query","schema":{"default":"path","description":"Sort order. `path` (default) sorts lexicographically; `uploadedAt` sorts by most recent upload first. In recursive mode `uploadedAt` is only supported at the bucket root (no path prefix). In non-recursive mode, only supported at root or exact folder prefixes.","type":"string","enum":["path","uploadedAt"]},"required":false},{"name":"direction","in":"query","schema":{"description":"Sort direction. Defaults to `asc` for `path` and `desc` for `uploadedAt`.","type":"string","enum":["asc","desc"]},"required":false}]}},"/api/buckets/{namespace}/{repo}/events":{"get":{"description":"Server-sent events (`Accept: text/event-stream`) of the bucket's file changes, so clients can stop polling `/tree`.\n\nEvents:\n- `ready`: `{\"cursor\"}` \u2014 replay (if any) is done, live changes follow. `cursor` may be absent if the feed has seen no change yet.\n- `changes`: `{\"cursor\", \"changes\": [{\"path\", \"op\": \"add\" | \"update\" | \"delete\", \"size\"?, \"xetHash\"?, \"uploadedAt\"?, \"mtime\"?, \"mtimeNanos\"?}]}` \u2014 a batch of changes coalesced over ~200ms. An `update` only carries the fields that changed (an identical re-upload has just `uploadedAt`); `mtime`/`mtimeNanos` are `null` when a re-upload cleared them. `xetHash` is omitted without content read access.\n- `reset`: `{\"reason\": \"cursor_too_old\"}` \u2014 the requested `cursor`/`since` is older than what the server buffers (about 15 minutes); the stream ends and the client must re-list. A `since` at or after the bucket's `updatedAt` never resets, however old.\n- `reconnect`: `{\"cursor\"}` \u2014 sent after 20 minutes or when the server shuts down (deploys), then the stream ends; reconnect with that cursor. Treat any other end of the stream the same way: reconnect with the last cursor you received.\n\nA `: ping` comment is sent every 30s. Resume with `?cursor=` (exclusive) or `?since=` (inclusive); without either, only live changes are sent.","summary":"Follow changes","tags":["buckets"],"responses":{"503":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"}},"required":["error"],"additionalProperties":false}}},"description":"Live follow is not served by this instance, or not caught up yet; retry after `Retry-After` seconds"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"description":"Opaque cursor from a previous `ready`/`changes` event; resume after it","type":"string"},"required":false},{"name":"since","in":"query","schema":{"description":"Resume from this instant instead of a cursor (e.g. the bucket's `updatedAt` you last saw)","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"required":false}]}},"/api/buckets/{namespace}/{repo}/paths-info":{"post":{"summary":"List paths info","tags":["buckets"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory"]},"path":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"xetHash":{"description":"Not defined for directories","type":"string"},"mtime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mtimeNanos":{"description":"Sub-millisecond remainder of mtime, in nanoseconds (0\u2013999_999)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"contentType":{"type":"string"}},"required":["type","path","uploadedAt"],"additionalProperties":false}}}},"description":"List of found files (missing paths are omitted)"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/containers/{namespace}/{repo}/paths-info":{"post":{"summary":"List paths info","tags":["containers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"paths":{"anyOf":[{"maxItems":2000,"type":"array","items":{"type":"string"}},{"type":"string"}]}},"required":["paths"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["file","directory"]},"path":{"type":"string"},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"xetHash":{"description":"Not defined for directories","type":"string"},"mtime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mtimeNanos":{"description":"Sub-millisecond remainder of mtime, in nanoseconds (0\u2013999_999)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uploadedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"contentType":{"type":"string"}},"required":["type","path","uploadedAt"],"additionalProperties":false}}}},"description":"List of found files (missing paths are omitted)"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/hardware":{"get":{"description":"Get available job hardware","summary":"Get job hardware","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"prettyName":{"type":"string"},"cpu":{"type":"string"},"ram":{"type":"string"},"ephemeralStorage":{"type":"string"},"accelerator":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["gpu","neuron"]},"model":{"type":"string"},"quantity":{"type":"string"},"vram":{"type":"string"},"manufacturer":{"type":"string","enum":["Nvidia","AWS"]}},"required":["type","model","quantity","vram","manufacturer"],"additionalProperties":false},{"type":"null"}]},"unitCostMicroUSD":{"type":"number"},"unitCostUSD":{"type":"number"},"unitLabel":{"type":"string"}},"required":["name","prettyName","cpu","ram","ephemeralStorage","accelerator","unitCostMicroUSD","unitCostUSD","unitLabel"],"additionalProperties":false}}}},"description":"Available job hardware (public only)"}}}},"/api/jobs/{namespace}":{"get":{"description":"List of jobs for an entity","summary":"List jobs","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}}},"description":"The list of jobs","headers":{"Link":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"},"description":"Link header for pagination, can contain a `rel=\"next\"` link"}}}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"label","in":"query","schema":{"description":"Filter jobs by label. Format: 'key=value' (e.g., 'environment=production'). Repeat the parameter to filter by several labels.","anyOf":[{"type":"string","pattern":"^[a-zA-Z0-9_-]+=[a-zA-Z0-9_-]*$","description":"Filter jobs by label. Format: 'key=value' (e.g., 'environment=production')."},{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]+=[a-zA-Z0-9_-]*$","description":"Filter jobs by label. Format: 'key=value' (e.g., 'environment=production')."}}]},"required":false},{"name":"stage","in":"query","schema":{"description":"Filter jobs by status stage. Repeat the parameter to filter by several stages.","anyOf":[{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},{"type":"array","items":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]}}]},"required":false},{"name":"cursor","in":"query","schema":{"description":"Pagination cursor obtained from the `rel=\"next\"` link of a previous response's `Link` header.","type":"string","maxLength":2048},"required":false}]},"post":{"summary":"Start a job","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"dockerImage":{"type":"string"},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","spaceId"]},{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","dockerImage"]}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job after it has been started"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/count":{"get":{"description":"Count the number of jobs for an entity with optional status stage filter","summary":"Count jobs","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"count":{"type":"number"}},"required":["count"],"additionalProperties":false}}},"description":"The count of jobs matching the filter"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"stage","in":"query","schema":{"anyOf":[{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},{"type":"array","items":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]}}]},"required":false}]}},"/api/jobs/{namespace}/{jobId}":{"get":{"summary":"Get a job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/logs":{"get":{"description":"Stream the logs of a job, using SSE","summary":"Stream job logs","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}},{"name":"tail","in":"query","schema":{"description":"Maximum number of lines to return from the logs.","type":"integer","minimum":0,"maximum":9007199254740991},"required":false}]}},"/api/jobs/{namespace}/{jobId}/metrics":{"get":{"description":"Stream the metrics of a job, using SSE","summary":"Stream job metrics","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/events":{"get":{"description":"Stream the events of a job, using SSE","summary":"Stream job events","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/cancel":{"post":{"summary":"Cancel a job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job after it has been canceled"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/duplicate":{"post":{"description":"Duplicate an existing job, re-using its spec","summary":"Duplicate a job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The new job after it has been duplicated"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/labels":{"put":{"description":"Replace user-provided labels on a job","summary":"Update job labels","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"The new labels to set on the job. Replaces all existing labels."}},"required":["labels"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job after labels have been updated"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/jobs/{namespace}/{jobId}/expose":{"put":{"description":"Replace the exposed ports of a running job, applied live (no re-run). Ports listed in `portsPublic` are reachable without any authentication.","summary":"Job exposed ports","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job after its exposed ports have been updated"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}":{"post":{"summary":"Create scheduled job","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"jobSpec":{"oneOf":[{"type":"object","properties":{"spaceId":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"dockerImage":{"type":"string"},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","spaceId"]},{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"allOf":[{"type":"string"},{"type":"string","minLength":1}]},"arguments":{"type":"array","items":{"type":"string"}},"command":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"environment":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]+$"},"additionalProperties":{"type":"string"}},"secrets":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][_a-zA-Z0-9]*$"},"additionalProperties":{"type":"string"}},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"arch":{"type":"string","enum":["amd64","arm64"]},"timeoutSeconds":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"attempts":{"default":1,"description":"Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.","type":"integer","minimum":1,"maximum":9007199254740991},"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dashes, and underscores."},"volumes":{"description":"HuggingFace Buckets or Repos to mount as volumes in the job container.","minItems":1,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bucket","model","dataset","space"]},"source":{"type":"string","description":"Source identifier, e.g. 'username/my-bucket' or 'username/my-model'"},"mountPath":{"type":"string","pattern":"^\\/.*","description":"Mount path inside the container, e.g. '/data'"},"revision":{"description":"Git revision (only for repos, defaults to 'main')","type":"string"},"readOnly":{"description":"Read-only mount (true for repos, false default for buckets)","type":"boolean"},"path":{"description":"Subfolder prefix inside the bucket/repo to mount, e.g. 'path/to/dir'","type":"string"}},"required":["type","source","mountPath"]}},"expose":{"description":"Ports to expose publicly through the jobs proxy. Each port is reachable at `https://--.`. Access requires a HF token with read access to the job's namespace, except for ports also listed in `portsPublic`.","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"]},"ssh":{"description":"When `enabled`, the job's container is reachable over SSH at `ssh @ssh.hf.jobs`. Only the job's owner is allowed in, authenticated by an SSH public key registered on the Hub.","type":"object","properties":{"enabled":{"default":false,"type":"boolean"}}},"network":{"description":"Opt-in network group. Jobs of the same owner and resource group sharing a group are placed together and reach each other on every port. Two environment variables are set in the container: `HF_NETWORK_GROUP_HOSTNAME`, a hostname resolving to every member of the group, and `HF_NETWORK_GROUP_PREFIX`, to which an alias is appended to get that alias' hostname.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group"]},"resourceGroupId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-fA-F]{24}$"}},"required":["flavor","dockerImage"]}]},"schedule":{"type":"string","pattern":"^(?:(@(annually|yearly|monthly|weekly|daily|hourly))|((((\\d+,)+\\d+|((\\*|\\d+)(\\/|-)\\d+)|\\d+|\\*) ?){5,7}))$","description":"CRON schedule expression (e.g., '0 9 * * 1' for 9 AM every Monday)."},"suspend":{"default":false,"description":"Whether the scheduled job is suspended (paused)","type":"boolean"},"concurrency":{"default":false,"description":"Whether multiple instances of this job can run concurrently","type":"boolean"}},"required":["jobSpec","schedule"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}},"description":"The scheduled job data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}}]},"get":{"description":"List scheduled jobs for an entity","summary":"List scheduled jobs","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}}},"description":"Array of scheduled job data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"label","in":"query","schema":{"description":"Filter scheduled jobs by label. Format: 'key=value' (e.g., 'environment=production').","type":"string","pattern":"^[a-zA-Z0-9_-]+=[a-zA-Z0-9_-]*$"},"required":false}]}},"/api/scheduled-jobs/{namespace}/{jobId}":{"get":{"summary":"Get scheduled job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}},"description":"The scheduled job data"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"summary":"Delete scheduled job","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/suspend":{"post":{"summary":"Suspend scheduled job","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/resume":{"post":{"summary":"Resume scheduled job","tags":["jobs"],"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/run":{"post":{"description":"Trigger a scheduled job run. Trigger a scheduled job to run immediately. Throws an error if an instance is already running and job spec does not allow concurrent runs.","summary":"Run job","tags":["jobs"],"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"type":{"type":"string","const":"job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"initiator":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"type":{"type":"string","enum":["user","org"]},"avatarUrl":{"type":"string"}},"required":["id","name","type","avatarUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"scheduled-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"duplicated-job"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":false}]},"status":{"type":"object","properties":{"stage":{"type":"string","enum":["COMPLETED","CANCELED","ERROR","DELETED","RUNNING","SCHEDULING"]},"message":{"type":["string","null"]},"cancelReason":{"anyOf":[{"type":"string","enum":["NO_CREDITS","NO_SUBSCRIPTION","RESOURCE_GROUP_LIMIT","SPEND_LIMIT"]},{"type":"string"}]},"failureCount":{"type":"number"},"exposeUrls":{"description":"One reachable URL per port declared in `expose.ports`, in the same order (e.g. `https://--8000.hf.jobs`). Absent when the job is not exposed.","type":"array","items":{"type":"string"}},"sshUrl":{"description":"SSH endpoint for the job (e.g. `ssh://@ssh.hf.jobs`). Only present when `ssh.enabled`.","type":"string"}},"required":["stage","message"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["id","createdAt","environment","flavor","createdBy","type","owner","status"],"additionalProperties":false}}},"description":"The job that was triggered"},"409":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string","const":"Another job is already running at the same time, set `concurrency` to allow multiple instances of scheduled jobs to run concurrently"}},"required":["error"],"additionalProperties":false}}},"description":"Another instance is already running, job was not triggered"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/schedule":{"post":{"summary":"Update job schedule","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schedule":{"type":"string","pattern":"^(?:(@(annually|yearly|monthly|weekly|daily|hourly))|((((\\d+,)+\\d+|((\\*|\\d+)(\\/|-)\\d+)|\\d+|\\*) ?){5,7}))$","description":"CRON schedule expression (e.g., '0 9 * * 1' for 9 AM every Monday)."}},"required":["schedule"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}},"description":"The updated scheduled job"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/scheduled-jobs/{namespace}/{jobId}/labels":{"put":{"description":"Replace user-provided labels on a scheduled job","summary":"Scheduled job labels","tags":["jobs"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"labels":{"type":"object","propertyNames":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"},"additionalProperties":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_-]*$"},"description":"The new labels to set on the job. Replaces all existing labels."}},"required":["labels"]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"schedule":{"type":"string"},"suspend":{"type":"boolean"},"suspendReason":{"type":"string"},"concurrency":{"type":"boolean"},"status":{"type":"object","properties":{"lastJob":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","at"],"additionalProperties":false},{"type":"null"}]},"nextJobRunAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["lastJob","nextJobRunAt"],"additionalProperties":false},"type":{"type":"string","const":"scheduled-job"},"owner":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"initiator":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"avatarUrl":{"type":"string"},"type":{"type":"string","enum":["user","org"]}},"required":["id","name","avatarUrl","type"],"additionalProperties":false},"jobSpec":{"type":"object","properties":{"spaceId":{"type":"string"},"dockerImage":{"type":"string"},"timeout":{"type":"number"},"environment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"command":{"type":"array","items":{"type":"string"}},"arguments":{"type":"array","items":{"type":"string"}},"arch":{"type":"string","enum":["amd64","arm64"]},"flavor":{"type":"string","enum":["cpu-basic","cpu-upgrade","cpu-performance","cpu-xl","sprx8","zero-a10g","t4-small","t4-medium","l4x1","l4x4","l40sx1","l40sx4","l40sx8","a10g-small","a10g-large","a10g-largex2","a10g-largex4","a100-large","a100x4","a100x8","h200","h200x2","h200x4","h200x8","rtx-pro-6000","rtx-pro-6000x2","rtx-pro-6000x4","rtx-pro-6000x8","inf2x6"]},"resourceGroupId":{"type":"string"},"retry":{"type":"number"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"durations":{"type":"object","properties":{"schedulingSecs":{"type":"number"},"runningSecs":{"type":"number"},"totalSecs":{"type":"number"}},"additionalProperties":false},"volumes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"source":{"type":"string"},"mountPath":{"type":"string"},"revision":{"type":"string"},"readOnly":{"type":"boolean"},"path":{"type":"string"}},"required":["type","source","mountPath"],"additionalProperties":false}},"expose":{"description":"Ports exposed through the jobs proxy (see `status.exposeUrls` for the reachable URLs).","type":"object","properties":{"ports":{"maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}},"portsPublic":{"description":"Subset of `ports` reachable without any authentication.","maxItems":20,"type":"array","items":{"type":"integer","minimum":1,"maximum":65535}}},"required":["ports"],"additionalProperties":false},"network":{"description":"Network group the job belongs to.","type":"object","properties":{"group":{"type":"string","maxLength":46,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$","description":"Group name, scoped to the job's owner and resource group."},"aliases":{"default":[],"description":"Roles this job answers to. An alias names a role, not a job: several members may claim the same alias, which then resolves to all of them, and a member may claim several. Peers get the hostname by appending the alias to the `HF_NETWORK_GROUP_PREFIX` environment variable, which already ends with a separator.","maxItems":20,"type":"array","items":{"type":"string","maxLength":34,"pattern":"^[a-z0-9]([a-z0-9-]*[a-z0-9])?$"}}},"required":["group","aliases"],"additionalProperties":false},"resourceGroup":{"type":"object","properties":{"id":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"name":{"type":"string"},"numUsers":{"type":"number"}},"required":["id","name"],"additionalProperties":false},"secrets":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"hfToken":{"type":"object","properties":{"ownerName":{"type":"string"},"orgName":{"type":"string"},"tokenRole":{"type":"string","enum":["read","write","fineGrained"]},"tokenId":{"type":"string","minLength":24,"maxLength":24,"pattern":"^[0-9a-f]{24}$","description":"A hex string of 24 characters representing an ObjectId."},"settingsUrl":{"type":"string"}},"required":["ownerName"],"additionalProperties":false}},"required":["environment","flavor"],"additionalProperties":false}},"required":["id","createdAt","schedule","suspend","concurrency","status","type","owner","jobSpec"],"additionalProperties":false}}},"description":"The scheduled job after labels have been updated"}},"parameters":[{"name":"namespace","in":"path","required":true,"schema":{"type":"string"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/partners/{provider}/models":{"get":{"description":"List the model mappings of an inference provider.","summary":"List provider mappings","tags":["inference-providers"],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]}},{"name":"status","in":"query","schema":{"type":"string","enum":["live","staging","error"]},"required":false}]},"post":{"description":"Register a model mapping for your inference provider. Requires a write token of the provider organization.","summary":"Create provider mapping","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"type":{"default":"single-model","type":"string","const":"single-model"},"hfModel":{"type":"string","maxLength":96},"providerModel":{"type":"string","maxLength":128},"status":{"default":"staging","type":"string","enum":["live","staging","error"]},"task":{"type":"string","enum":["conversational","text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video"]}},"required":["hfModel","providerModel","task"]},{"type":"object","properties":{"type":{"type":"string","const":"tag-filter"},"providerModel":{"type":"string","maxLength":128},"status":{"default":"staging","type":"string","enum":["live","staging","error"]},"task":{"type":"string","enum":["conversational","text-classification","token-classification","table-question-answering","question-answering","zero-shot-classification","translation","summarization","feature-extraction","text-generation","fill-mask","sentence-similarity","text-to-speech","text-to-audio","automatic-speech-recognition","audio-to-audio","audio-classification","audio-text-to-text","voice-activity-detection","depth-estimation","image-classification","object-detection","image-segmentation","text-to-image","image-to-text","image-to-image","image-to-video","unconditional-image-generation","video-classification","reinforcement-learning","robotics","tabular-classification","tabular-regression","tabular-to-text","table-to-text","multiple-choice","text-ranking","text-retrieval","time-series-forecasting","text-to-video","image-text-to-text","image-text-to-image","image-text-to-video","visual-question-answering","document-question-answering","zero-shot-image-classification","graph-ml","mask-generation","zero-shot-object-detection","text-to-3d","image-to-3d","image-feature-extraction","video-text-to-text","keypoint-detection","visual-document-retrieval","any-to-any","video-to-video"]},"tags":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","maxLength":128}},"adapterType":{"type":"string","const":"lora"}},"required":["type","providerModel","task","tags","adapterType"]}]}}}},"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]}}]}},"/api/partners/{provider}/models/{mappingId}/status":{"put":{"description":"Update the status of one of your inference provider's model mappings.","summary":"Update mapping status","tags":["inference-providers"],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["live","staging","error"]}},"required":["status"]}}}},"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","enum":["baseten","cohere","cerebras","deepinfra","fal-ai","featherless-ai","fireworks-ai","groq","hf-inference","novita","nscale","openrouter","ovhcloud","publicai","replicate","scaleway","together","wavespeed","zai-org"]}},{"name":"mappingId","in":"path","required":true,"schema":{"type":"string"}}]}}}} \ No newline at end of file