[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Storage](https://evolu.dev/docs/api-reference/common/local-first/Storage) › getOwnerUsage

```ts
function getOwnerUsage(deps: SqliteDep): (
  ownerIdBytes: Uint8Array<ArrayBufferLike> &
    Brand<"Length16"> &
    Brand<"IdBytes"> &
    Brand<"OwnerIdBytes">,
  initialTimestamp: Uint8Array<ArrayBufferLike> &
    Brand<"Length16"> &
    Brand<"TimestampBytes">,
) => Result<{
  firstTimestamp: Uint8Array<ArrayBufferLike> &
    Brand<"Length16"> &
    Brand<"TimestampBytes">;
  lastTimestamp: Uint8Array<ArrayBufferLike> &
    Brand<"Length16"> &
    Brand<"TimestampBytes">;
  storedBytes: (number & Brand<"Int"> & Brand<"NonNegative">) | null;
}>;
```

Defined in: [packages/common/src/local-first/Storage.ts:1574](https://github.com/evoluhq/evolu/blob/e7144e2bbe9069362b62dec1b64a8aa922b8f1b0/packages/common/src/local-first/Storage.ts#L1574)

Retrieves usage information for an owner from the evolu_usage table.