@datasite/api-client package provides a typed TypeScript client for the Datasite API. Install it from npm before using the examples on this page.
Create a client
Call operations
body as JSON, parses successful JSON responses, and applies the configured timeout.
Options
Types
Errors
DatasiteApiError exposes status, code, body, isNotFound, and isUnauthorized.