Core Clients
Switch between Python and TypeScript code examples using the language tabs.
Zaby instance provides several utility clients for health checks, runtime token management, approvals, and usage tracking.
Health
Check if the server is reachable. No authentication required.- Python
- TypeScript
Runtime Token Families
Token families group related runtime tokens for bulk management.List
- Python
- TypeScript
Revoke
Revoke an entire token family — invalidating all tokens within it:- Python
- TypeScript
Runtime Token Policies
Policies control runtime token quotas — concurrent runs, TTL, max uses per token, and auto-rotation. Required for runtime tokens: A quota policy must exist and itsid passed as quotaPolicyId when creating runtime tokens.
List
- Python
- TypeScript
Create
- Python
- TypeScript
Get
- Python
- TypeScript
Update
- Python
- TypeScript
Runtime Token Grants
Revoke
- Python
- TypeScript
Runtime Token Usage
Query token consumption stats:- Python
- TypeScript
Approvals
Review and respond to agent-generated approval requests.- Python
- TypeScript
Usage & Billing
Query agent-level usage metrics for billing and analytics:- Python
- TypeScript

