API Reference
Authentication
Create an API token from the Settings page in the web UI. Tokens start with zat_ and are shown only once at creation — copy it immediately.
Include the token in every API request:
curl -s https://zhenfy.ai/api/agent/v1/agents \
-H "Authorization: Bearer zat_your_token_here"Base URL
https://zhenfy.ai/api/agent/v1
OpenAPI Spec
The full API specification — including request/response schemas and field constraints — is available as interactive documentation (rate limits and quotas are documented separately; see Quotas & Limits):
Swagger UI
Interactive API explorer. Try requests directly from the browser.
ReDoc
Clean, readable reference with request/response schemas.
The raw spec is at /api/agent/v1/openapi.json for code generators or Postman import.