Log in

Server SDK

A TypeScript library for server-side integrations: submit files and poll results with your API key.

View as Markdown

Note: Available on request

Contact us for access, or use the REST API today: start with Authentication, then Assess a file (/v1/assess) and Get a job's result (/v1/jobs/{jobId}).

The server SDK gives your backend typed calls to the same endpoints as the REST API, with the routine work already done. Your API key stays on your server.

What it covers

  • Submit files and read results with typed calls, in the same shapes documented in Resources.
  • Wait for a result without writing your own polling.
  • Retry safely, without creating duplicate jobs.
  • Page through previous submissions.

Errors

Failures carry the same error codes as the REST API, and the SDK tells failures worth retrying apart from permanent ones. Every code is listed under Error codes.