Skip to main content

Using the SDK

If you’re using the @usenotra/sdk package, types are already included. Import them directly:
The SDK ships with full type definitions, so there is no need to maintain your own. The types below are only needed if you’re calling the API with raw fetch.

Using fetch

If you call the API directly with fetch, these types are a good starting point:

Type Definitions

Copy these types into your project:
Copy these type definitions into a types/notra.ts file in your project.

Zod Schemas

For runtime validation, you can use these Zod schemas:
Last modified on July 6, 2026