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, field constraints, rate limits, and quota information — is available as interactive documentation:
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.