cURL
curl --request GET \ --url https://eu-gcp-api.vg-stuff.com/v3/agents/{agentId}/export-template \ --header 'Authorization: Bearer <token>'
{ "agentTemplate": { "workspaceId": "<string>", "name": "<string>", "description": "<string>", "nodes": "<array>", "tools": "<array>", "variables": "<array>", "agentData": "<unknown>" } }
Exports an agent template, this route must use the new V3 endpoints.
{ "agentTemplate": { "name": "My Agent - Exported 2024-01-15T10:30:00.000Z", "agentData": { "title": "My Agent", "description": "Customer support agent", "nodes": [...] }, "tools": [...], "variables": [...], "nodes": [...], "workspaceId": "workspace_123" } }
SECRET_API_KEY
/agents/import-template
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the agent to export
Successful response
Show child attributes