import { baseClient } from './base.js';

export const usageApi = {
  get(workspaceId = null) {
    const path = workspaceId ? `/usage?workspaceId=${workspaceId}` : '/usage';
    return baseClient.get(path);
  },
};
