All SDK API endpoints require an API key for authentication. API keys are prefixed withDocumentation Index
Fetch the complete documentation index at: https://docs.tarvah.com/llms.txt
Use this file to discover all available pages before exploring further.
trvh_sdk_ and can be passed in two ways:
Key format
| Property | Value |
|---|---|
| Prefix | trvh_sdk_ |
| Length | 73 characters total (prefix + 64 hex chars) |
| Hash algorithm | SHA-256 (only the hash is stored server-side) |
Key lifecycle
- Keys have an optional
expiresAtdate. Expired keys are rejected automatically. - Keys can be revoked at any time from the Tarvah Settings UI.
- Each key is scoped to
sdk:importpermissions. lastUsedAtis updated on every successful authentication.
Error responses
| Status | Body | Meaning |
|---|---|---|
401 | {"error": "API key required"} | No key provided in headers |
401 | {"error": "Invalid API key"} | Key not found or revoked |
401 | {"error": "API key expired"} | Key past its expiresAt date |