{"info":{"name":"FlowZap Agent API","description":"Postman collection for FlowZap Agent API. Includes register, auth, create diagram, playground session, and health endpoints. Powered by FlowZap.xyz","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","_postman_id":"flowzap-agent-api-collection"},"variable":[{"key":"baseUrl","value":"{{baseUrl}}"},{"key":"token","value":""},{"key":"agentId","value":""}],"item":[{"name":"Register Agent","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/agent/register","host":["{{baseUrl}}"],"path":["api","agent","register"]},"body":{"mode":"raw","raw":"{\n  \"name\": \"Acme Support Bot\",\n  \"email\": \"bot@acme.com\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Authenticate Agent","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/agent/auth","host":["{{baseUrl}}"],"path":["api","agent","auth"]},"body":{"mode":"raw","raw":"{\n  \"apiToken\": \"REPLACE_WITH_SECRET_API_TOKEN\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Create Diagram","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{baseUrl}}/api/agent/diagrams","host":["{{baseUrl}}"],"path":["api","agent","diagrams"]},"body":{"mode":"raw","raw":"{\n  \"name\": \"Customer Support Workflow\",\n  \"projectId\": \"support-ops\",\n  \"colorScheme\": \"slate\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Playground Session (Public URL)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/playground/create","host":["{{baseUrl}}"],"path":["api","playground","create"]},"body":{"mode":"raw","raw":"{\n  \"code\": \"support { # Support\\n  n1: circle label:\\\"Start\\\"\\n  n2: rectangle label:\\\"Review ticket\\\"\\n  n1.handle(right) -> n2.handle(left)\\n}\",\n  \"view\": \"workflow\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Health","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/health","host":["{{baseUrl}}"],"path":["api","health"]}}}]}