Simple workflow to use Potpie
http://localhost:8001
curl
curl -X 'POST' \ 'http://localhost:8001/api/v1/login' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "email": "string", "password": "string" }'
curl -X 'POST' \ 'http://localhost:8001/api/v1/parse' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "repo_name": "vineetshar/mongo-proxy12", "branch_name": "main" }'
curl -X 'GET' \ 'http://localhost:8001/api/v1/parsing-status/project-id' \ -H 'accept: application/json'
curl -X 'GET' \ 'http://localhost:8001/api/v1/list-available-agents/?list_system_agents=true' \ -H 'accept: application/json'
curl -X 'POST' \ 'http://localhost:8001/api/v1/conversations/' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "user_id": "your_user_id", "title": "Conversation Title", "status": "active", "project_ids": [ "project_id" ], "agent_ids": [ "agent_id" ] }'
curl -X 'POST' \ 'http://localhost:8001/api/v1/conversations/1234/message/' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "content": "Your message content here", "node_ids": [ { "node_id": "node_identifier", "name": "node_name" } ] }'
curl -X 'GET' \ 'http://localhost:8001/api/v1/conversations/conversation-id/ messages/?start=0&limit=10' \ -H 'accept: application/json'