Dify
Published AI apps: run workflows and check their history
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- App API key (app-…)SecretRequired
- Dify URLOptionalHTTPS URL
Where to find them
- In Dify, open the application you want to use (chatbot, agent, chatflow or workflow) and click “API Access” in the side menu.
- Click “API Key” → “Create new Secret key” and copy it: each app has its own keys and this connection only sees that app.
- With Dify Cloud, keep the default address; for a self-hosted installation, enter its URL.
Tools (1)
Dify API request
DIFY_SEND_REQUESTAuthenticated call to the Dify API ({url}/v1). Any endpoint of the API is allowed. Depends on the app type. Always use response_mode “blocking”. Examples: GET /info, GET /parameters, POST /workflows/run {"inputs": {…}, "response_mode": "blocking", "user": "culturewire"}, GET /workflows/run/{workflow_run_id}, GET /workflows/logs?limit=20, POST /chat-messages {"query": "…", "inputs": {}, "response_mode": "blocking", "user": "culturewire"}.
Required scopes
No scopes required
Input
Dify API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

