Tài liệu tham khảo API

zinn-agents

Có 14 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.

Tất cả tài liệu dành cho nhà phát triển →

Phương thứcĐường dẫnChức năngQuyền
POST/v1/agent-gateway/chat/completionsOpenAI-compatible chat completions for an agent app, metered on Zinn® AI credit.Không có khóa API
GET/v1/agent-gateway/modelsThe models an agent may name (OpenAI list shape).Không có khóa API
GET/v1/agentsThe organisation's agents, free plan slots, apps and plans.agents.view
POST/v1/agentsDeploy one agent app on a free Zinn® Agents plan slot.agents.manage
DELETE/v1/agents/{agentId}Delete an agent and destroy its data volume.agents.manage, agents.view
GET/v1/agents/{agentId}One agent.agents.view
PATCH/v1/agents/{agentId}Rename an agent, choose its model, or set its monthly AI spend cap.agents.manage
POST/v1/agents/{agentId}/loginShow how to sign in to the agent app (its token or password).agents.login.reveal
GET/v1/agents/{agentId}/memoryThe agent's "+1 GB memory" add-on — what counts now, the price per GB, how many more.agents.view
POST/v1/agents/{agentId}/memoryBuy N GB of extra memory for this agent, billed monthly per GB.agents.manage, billing.payment.manage
POST/v1/agents/{agentId}/memory/{purchaseId}/stopStop one memory add-on renewing; it keeps working to the end of the paid month.agents.manage, billing.payment.manage
POST/v1/agents/{agentId}/openA one-click, single-use link that opens the agent app signed in.agents.login.reveal, agents.view
POST/v1/agents/{agentId}/pausePause an agent (its data is kept; it stops using compute and AI).agents.manage, agents.view
POST/v1/agents/{agentId}/resumeResume a paused agent.agents.manage, agents.view