You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hub/publisher-analytics.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,20 +62,20 @@ Records are ordered chronologically and provide a daily granular view of downloa
62
62
> [!WARNING]
63
63
> This feature is an add-on for the <ahref="https://huggingface.co/contact/sales?from=enterprise"target="_blank">Enterprise Plus</a> plan.
64
64
65
-
As an advanced feature, Hugging Face can export anonymized, request-level access logs for all of the models and datasets published by your organization. Each line represents a single download request (including HEAD and partial requests), giving you full granularity over your models and datasets' download data.
65
+
As an advanced feature, Hugging Face can export anonymized, request-level access logs for all of the models and datasets published by your organization. Each line represents a single download-related request, giving you full granularity over your models and datasets' download data.
66
66
67
-
Your team is responsible for ingesting these logs and running computations on them — for example, to deduplicate downloads to get unique downloader counts.
67
+
Your team is responsible for ingesting these logs and running computations on them. The export intentionally includes raw HTTP status codes and methods so you can classify `HEAD`, partial-content, redirect, and other request patterns based on your own analytics needs.
|`requestType`| Type of download request (`GET`, `HEAD`, partial/range) |
72
+
|`status`| HTTP status code (for example `200`, `206`, `302`, `307`, `304`) |
73
+
|`method`| HTTP method (for example `GET`, `HEAD`) |
73
74
|`repoName`| Full repo name (e.g. `nvidia/segformer-b0`) |
74
-
|`repoType`|`model` or `dataset`|
75
+
|`repoType`|Repository type: `model`, `dataset`, or `space`|
75
76
|`hashedUserId`| Non-reversible hash of user ID (if authenticated) |
76
77
|`hashedIp`| Non-reversible hash of IP address (if unauthenticated) |
77
78
|`country`| Country ISO code |
78
-
|`region`| Region name |
79
-
|`isInternal`| Whether the request comes from an HF internal service |
79
+
|`region`| Region or city name |
80
80
81
81
As it requires setting up a custom data export pipeline on our side (custom Elastic index, etc), this is only available as an add-on to Enterprise Plus.
0 commit comments