Deploy as API
PuppyAgent supports deploy your Workflow as API to create an API endpoint from your workflow.
1. Click the Deploy
button in the top-right menu.

2. Click the Deploy as API
button.

Configuration:
- User Messages: Select the user message block in your workflow.
- Bot Responses: Select the anwser block in your workflow.
3. Click the Deploy as API
button.

After deploying API,this interface allows you to access the API details. It includes the endpoint URL, API key for authentication, and sample code for sending requests. You can switch between different languages like Shell, Python, or JavaScript to suit your integration needs.