> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Get started

<Tip>
  Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
</Tip>

[Source: node-sdk/src/usage.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/usage.ts)

Usage and billing, the counterpart of `GET /usage` and `GET /usage/logs`.

```ts theme={null}
const usage = await client.usage.get();
console.log(usage.total_cost, usage.balance_amount);
```

```typescript theme={null}
import { NotteUsage } from 'notte-sdk';
```

```typescript theme={null}
new NotteUsage(client: NotteClient): NotteUsage;
```

<ParamField body="client" type={"NotteClient"} required />

## Usage

* [get](/typescript-sdk-reference/notteusage/get): Usage summary for a monthly period (current month by default).
* [logs](/typescript-sdk-reference/notteusage/logs): Paginated per-request usage logs, optionally filtered by endpoint.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.