Guide for using the Dagu REST API to programmatically manage and execute workflows, query status, and integrate with external systems
Trigger and manage Dagu workflows programmatically via REST API. Use this when you need to start, stop, or check status of workflows from external systems, CI/CD pipelines, or custom automation scripts.
/plugin marketplace add vinnie357/claude-skills/plugin install dagu@vinnie357This skill inherits all available tools. When active, it can use any tool Claude has access to.
references/api-endpoints.mdUse this skill when integrating Dagu with external systems, automating workflow operations, or programmatically managing workflows through the API.
Activate when:
The Dagu REST API provides endpoints for:
Default API base URL: http://localhost:8080/api/v1
Configure in Dagu settings if using a different host/port.
Consult references/authentication.md for details on:
POST /dags/{dagName}/start
Basic example:
curl -X POST http://localhost:8080/api/v1/dags/my_workflow/start
For parameter passing and advanced options, see references/workflow-operations.md.
GET /dags/{dagName}/status
Returns current status, running steps, and execution details.
POST /dags/{dagName}/stop
Stops currently running execution.
references/api-endpoints.mdreferences/workflow-operations.mdreferences/status-queries.mdreferences/authentication.mdreferences/integration-examples.mdreferences/error-handling.mdTrigger Dagu workflows from your CI/CD pipeline:
# In GitHub Actions, GitLab CI, etc.
curl -X POST http://dagu-server:8080/api/v1/dags/deploy_production/start \
-H "Content-Type: application/json" \
-d '{"params": "VERSION=1.2.3 ENVIRONMENT=production"}'
For complete CI/CD integration patterns, see references/integration-examples.md.
Query workflow status for external monitoring:
# Check if workflow is running
curl http://localhost:8080/api/v1/dags/critical_job/status
Build custom alerts based on status responses. See references/status-queries.md for response format details.
Trigger workflows based on external events:
import requests
def trigger_workflow(dag_name, params=None):
url = f"http://localhost:8080/api/v1/dags/{dag_name}/start"
data = {"params": params} if params else {}
response = requests.post(url, json=data)
return response.json()
For comprehensive examples in multiple languages, see references/integration-examples.md.
All API responses are JSON. Common response structure:
{
"status": "success",
"data": { ... }
}
Error responses:
{
"status": "error",
"message": "Error description"
}
For complete response schemas, consult references/api-endpoints.md.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.