curl -X POST https://api.dari.dev/v1/agents/agt_123/versions \ -H "Authorization: Bearer $DARI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "type": "upload" } }'
{ "agent_id": "agt_123", "version_id": "ver_10", "agent_url": "https://api.dari.dev/v1/agents/agt_123" }
Publish a new agent version behind an existing agent URL
application/json