Sanggunian ng API

zinn-agents

14 mga endpoint sa lugar na ito. Ang bawat isa ay may sariling pahina kasama ang mga parameter nito, ang tugon nito, at isang kahilingan na maaari ninyong patakbuhin.

Lahat ng dokumentasyon ng developer →

ParaanPathAng ginagawa nitoPahintulot
POST/v1/agent-gateway/chat/completionsOpenAI-compatible chat completions for an agent app, metered on Zinn® AI credit.Walang API key
GET/v1/agent-gateway/modelsThe models an agent may name (OpenAI list shape).Walang API key
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