Server SDK
A TypeScript library for server-side integrations: submit files and poll results with your API key.Available on request
The server SDK is not published publicly yet. Contact us for access, or use the REST API today — start with Authentication, then Assess and Get job.
Installation
A TypeScript package with type definitions included, for Node.js services and other server runtimes. The result types are the same shapes documented under API Reference, so a verdict your code reads matches the reference field for field.
Initialization
Created with an API key scoped to one application, read from your own configuration or secret store. The key travels as a bearer token on every call, exactly as described in Authentication.
What it covers
One typed call per public operation, plus the polling most integrations write by hand:
- Submit a file for verification and receive the verdict, matching Assess.
- Wait for a result without writing a poll loop: the helper polls Get job until the status leaves processing, then returns the finished job.
- Page through previous submissions, matching List jobs.
- Reuse an idempotency key on retries, so a repeated submission returns the existing job instead of creating a duplicate.
Errors
Failures arrive as typed errors carrying the same codes the REST API returns, so a caller can branch on a code instead of matching text. Transient conditions are separable from permanent ones: rate_limited and service_unavailable are worth retrying, while unsupported_format and invalid_request are not. Every code is listed under Error codes, and the limits behind rate_limited under Rate limits.