# Get artifact stats Get artifact stats Endpoint: GET /har/api/v1/spaces/{space_ref}/artifact/stats Version: 1.0 Security: x-api-key ## Path parameters: - `space_ref` (string, required) Reference to the scope in which the registry exists. Format depends on the scope: - : - : - : The suffix is used internally to route scoped requests. It must be included in the URL. ## Query parameters: - `from` (string) Date. Format - MM/DD/YYYY - `to` (string) Date. Format - MM/DD/YYYY ## Response 200 fields (application/json): - `data` (object, required) Harness Artifact Stats - `data.downloadCount` (integer) - `data.downloadSize` (integer) - `data.totalStorageSize` (integer) - `data.uploadSize` (integer) - `status` (string, required) Indicates if the request was successful or not Enum: "SUCCESS", "FAILURE", "ERROR" ## Response 400 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 401 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 403 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 404 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 500 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed