Skip to main content

Setup

1. Register in Muster

Dashboard → Add Agent:
  • Name: your Dify app name
  • Framework: DIFY

2. Add an HTTP node

In your Dify workflow, add an HTTP Request node as the last step:
SettingValue
MethodPOST
URLhttps://app.getmuster.io/api/v1/jobs/{{sys.run_id}}/quality
Content-Typeapplication/json
Body:
{
  "agent_id": "your-dify-app-name",
  "job_id": "{{sys.run_id}}",
  "overall_passed": {{#if output}}true{{else}}false{{/if}},
  "checks": [
    {
      "check_id": "output_not_empty",
      "severity": "HIGH",
      "passed": {{#if output}}true{{else}}false{{/if}}
    }
  ]
}
Use sys.run_id as the job_id — it’s unique per Dify execution and makes it easy to correlate Muster signals with Dify logs.