reference
SDK Reference
Official clients for the Attestd API. Both wrap /v1/check, /v1/check/batch, /v1/products, /v1/cve/{cve_id}, and /v1/usage. Field semantics match the API. Python uses snake_case; JavaScript uses camelCase.
shared requirements
- →API key via environment variable (never commit keys)
- →Outbound HTTPS to api.attestd.io
- →Prefer SDKs for typed errors; use curl for quick probes (quickstart)
selection matrix
| SDK | Language | Runtime | Install |
|---|---|---|---|
| Python SDK | Python | Python 3.10+ | pip install attestd |
| JavaScript SDK | TypeScript / JavaScript | Node 18+ | npm install @attestd/sdk |
choose this when
Python SDK
You call Attestd from Python services, agents, or scripts and want typed models.
Client and AsyncClient with typed models and attestd.testing.
JavaScript SDK
You call Attestd from Node or TypeScript services and want camelCase typed models.
TypeScript-first client for Node with @attestd/sdk/testing.
related