# JavaScript SDK API map

Canonical page: https://docs.ovok.com/web-sdk/core/api-surface

Import the client and shared types from `@ovok/core`. The client groups operations by namespace:

```ts
import { Ovok } from '@ovok/core';

const ovok = new Ovok({ baseUrl: 'https://api.sandbox.ovok.com', tenantCode: 'your-tenant' });

const patient = await ovok.fhir.read('Patient', 'patient-id');
const health = await ovok.health.check();
```

Each namespace has its own guide page; [The Ovok client](./next-client.mdx#namespaces) lists them all.

## React entry [#react-entry]

React exports use the separate `@ovok/core/react` entry:

```tsx
import { OvokProvider, useSearch, useSession } from '@ovok/core/react';
```

`OvokProvider` supplies one client to the component tree. Hooks expose session state, FHIR search and reads, and request or mutation primitives. See [React integration](./react.mdx).

## Compatibility entries [#compatibility-entries]

`@ovok/core/next` and `@ovok/core/next/react` are deprecated aliases of `@ovok/core` and `@ovok/core/react`, kept for one release. Files under `@ovok/core/dist/*` are not part of the API.

## See also [#see-also]

Browse the [complete API reference](./reference/index.mdx) for the exact exports, methods, parameters, and result types. The installed TypeScript declarations are authoritative for the package version in your application.
