curl --request POST \ --url https://eu-gcp-api.vg-stuff.com/v3/agents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "agent": { "title": "My Customer Service Agent", "description": "An AI agent that handles customer inquiries", "nodes": [], "ownerID": "workspace_123", "lastModified": 1234567890, "SECRET_API_KEY": "vg_abcdef123456" }}'
Copy
{ "success": true, "message": "Agent created successfully", "data": { "ID": "ag_123456789", "title": "My Customer Service Agent", "description": "An AI agent that handles customer inquiries" }}
🤖 Agents
Create Agent
Creates a new AI agent with the specified configuration, this route must use the new V3 endpoints.
POST
/
agents
Create Agent
Copy
curl --request POST \ --url https://eu-gcp-api.vg-stuff.com/v3/agents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "agent": { "title": "My Customer Service Agent", "description": "An AI agent that handles customer inquiries", "nodes": [], "ownerID": "workspace_123", "lastModified": 1234567890, "SECRET_API_KEY": "vg_abcdef123456" }}'
Copy
{ "success": true, "message": "Agent created successfully", "data": { "ID": "ag_123456789", "title": "My Customer Service Agent", "description": "An AI agent that handles customer inquiries" }}