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

# API

> API reference for WakaTime: every `wakatime.api.*` operation with input and output types.

Every `wakatime.api.*` operation is listed below with parameter shapes and return types from the plugin Zod schemas.

<Info>
  **New to Corsair?** See [API access](/concepts/api), [authentication](/concepts/auth), and [error handling](/concepts/error-handling).
</Info>

## Users

### current

`users.current`

Get the current WakaTime user

**Risk:** `read`

```ts theme={null}
await corsair.wakatime.api.users.current({});
```

**Input:** *empty object*

**Output**

| Name   | Type     | Required | Description |
| ------ | -------- | -------- | ----------- |
| `data` | `object` | Yes      | —           |

<AccordionGroup>
  <Accordion title="data full type">
    ```ts theme={null}
    {
      id: string,
      username?: string,
      display_name?: string,
      email?: string
    }
    ```
  </Accordion>
</AccordionGroup>

***
