Use the default export HypothesisRestClient to get a Client ready to make API calls using an authorization method that matches what you provide in the options.

As an example, provide APIKeyOptions to the constructor to get a client ready to make requests authorized by that API key. Something similar can be said for each of the 4 supported authorization methods:

  • Unauthenticated
  • Using an API Key
  • Using au Auth Client
  • Using au Auth Client Forwarded User

Index

Client constructor

Clients

Client constructor options

Constants

Zod Schemas

Generated using TypeDoc