TypeScript SDK
Requirements
Install
Configure
private_key_jwt keeps every secret inside your infrastructure — register the public key in the Partner Hub and
keep the private key in your secret manager:
Each token request signs a fresh assertion. To rotate, register the new public key, switch keyId and privateKey,
then remove the old key. See Requesting tokens.
First calls
Every operation of the API reference is reachable and typed — request bodies, queries, path
parameters and answers — through the resource helpers or evva.call('<operationId>', …). Lists have async iterators
(iterate()).
Receive events and reply
Give a production consumer durable stores: FileCheckpointStore / FileDedupStore on one host, or your own
CheckpointStore and DedupStore on a shared database. The in-memory stores are for tests.
Errors
Webhooks
Polling statuses that have no event
Waiters back off with full jitter (1 s doubling to 30 s), honour Retry-After, and give up after 10 minutes.
