API ReferenceTools
Unarchive a tool
POST /api/v1/tools/{tool_uuid}/unarchive — restore an archived tool.
POST /api/v1/tools/{tool_uuid}/unarchiveRestore an archived tool. Sets status="active" and the tool reappears in default list views.
Response
200 OK with the full tool — same shape as GET /tools/{tool_uuid}.
Examples
curl -X POST https://dashboard.zoxa.ai/api/v1/tools/abc12345-6789-0123-4567-89abcdef0123/unarchive \
-H "X-API-Key: zsk_..."await fetch(`https://dashboard.zoxa.ai/api/v1/tools/${toolUuid}/unarchive`, {
method: "POST",
headers: { "X-API-Key": "zsk_..." },
});import httpx
httpx.post(
f"https://dashboard.zoxa.ai/api/v1/tools/{tool_uuid}/unarchive",
headers={"X-API-Key": "zsk_..."},
)Errors
| Status | detail | When |
|---|---|---|
400 | "No organization selected for the user" | Auth missing org. |
404 | "Tool not found" | UUID not in your org. |
Delete a tool
DELETE /api/v1/tools/{tool_uuid} — archive (soft-delete) a tool.
Tool types
Full schema reference for every tool definition shape — function (HTTP), endCall, transferCall, calculator, query (knowledge base). Covers the saved-tool format (POST /tools) and the inline transient-agent format separately.