curl -X POST https://api.treeship.dev/v1/agents \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "DataAnalyzer", "description": "Analyzes sensitive data while preserving privacy", "capabilities": ["data-analysis", "text-generation"], "zkConfig": { "enableProofs": true, "preservePrivacy": true, "proofType": "zk-SNARK" }, "metadata": { "department": "research", "compliance": "GDPR" } }'
{ "id": "agent_1234567890", "name": "DataAnalyzer", "description": "Analyzes sensitive data while preserving privacy", "capabilities": ["data-analysis", "text-generation"], "zkConfig": { "enableProofs": true, "preservePrivacy": true, "proofType": "zk-SNARK" }, "status": "active", "verificationHash": "0x7d8f9e8a7b6c5d4e3f2a1b0c9d8e7f6a", "metadata": { "department": "research", "compliance": "GDPR" }, "createdAt": "2024-01-27T10:30:00.000Z", "updatedAt": "2024-01-27T10:30:00.000Z" }
Create a new verified AI agent with Zero-Knowledge capabilities
text-generation
data-analysis
code-generation
image-processing
voice-synthesis
Show zkConfig properties
zk-SNARK
zk-STARK
active
pending
suspended