# Get storage details for given space

Get storage details for given space

Endpoint: GET /har/api/v1/spaces/{space_ref}/details
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:

- Account-level: account_id/+
- Organization-level: account_id/org/+
- Project-level: account_id/org/project/+

The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.

## Response 200 fields (application/json):

  - `data` (object, required)
    storage details

  - `data.dailyStorage` (array)
    Day-wise storage snapshots for the last 30 calendar days (UTC).

  - `data.dailyStorage.date` (string, required)
    Snapshot date in UTC (YYYY-MM-DD).

  - `data.dailyStorage.size` (string, required)
    Total storage on that date, as a human-readable auto-scaled size (e.g. "468.78GB").

  - `data.last30DayAverage` (string)
    Average daily storage over the last 30 calendar days (UTC), as a human-readable auto-scaled size (e.g. "468.78GB").

  - `data.totalSize` (string, required)
    Total current storage, as a human-readable auto-scaled size (e.g. "468.78GB").

  - `data.totalSizeInBytes` (string)
    Total current storage in raw bytes (e.g. "503316480").

  - `status` (string, required)
    Request processing status indicator
    Enum: "SUCCESS", "FAILURE", "ERROR"

## Response 400 fields (application/json):

  - `code` (string, required)
    The HTTP error code
    Example: "404"

  - `details` (object)
    Additional context and details about the error.
May include field-specific validation errors or debugging information.
    Example: {"field":"registry_identifier","reason":"Registry does not exist in the specified project","value":"invalid-registry"}

  - `message` (string, required)
    Human-readable error message explaining what went wrong
    Example: "Registry not found"


