Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing

GET STARTED

API DirectoryBrowse 10,000+ APIs ready for AI agent integrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI readiness using our scorecardArazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
All ResourcesEverything in one placeBlogLatest articles and insightsTech Talk NewsletterAPIs, AI agents, architecture and strategyWebinarsLive sessions and on-demand recordingsReports & WhitepapersOriginal research on enterprise AI
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
All ResourcesBlogTech Talk NewsletterWebinarsReports & Whitepapers
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / AI/ML / Dify API
Dify API logo

Dify API

68
AI ReadinessAI-Aware (B+)68/100
See full scorecard
Official vendor OpenAPI document · agent-readyAI/MLLanguage Modelsbearer18 EndpointsREST

For Agents

Run chat completions, manage conversations, transcribe and synthesize audio, and upload files for Dify-hosted AI apps and agents.

Use for: I need to send a chat message to a Dify app, Stop a streaming chat response mid-flight, Retrieve the conversation history for a user, Upload a file as context for a chat session

Not supported: Does not handle model fine-tuning, knowledge-base ingestion, or app authoring - use for Dify app runtime invocation only.

The Dify API is the application-runtime interface for Dify AI apps - chatbots, agents, and workflow apps built in the Dify console. It exposes chat-message generation, conversation management, file upload, audio transcription and synthesis, message feedback, annotations, and app metadata behind a small Bearer-authenticated surface. Eighteen endpoints cover the runtime needs of an embedded chatbot or backend AI workflow without exposing the underlying model providers directly.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Dify API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Dify API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fdify.ai%2Fdify" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fdify.ai%2Fdify" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Dify API.

Send chat messages and stream responses from a Dify chatbot or agent

Manage multi-turn conversations including renaming and deleting threads

Upload files for use as context in chat or workflow runs

Transcribe audio to text and synthesize text to audio through the Dify runtime

Capture user feedback and annotations on assistant messages

Retrieve app metadata, parameters, and suggested questions for a session

Use Cases

Patterns agents use Dify API for, with concrete tasks.

★ Embedded Chatbot Backend

Power a website or in-app chat widget by routing user messages to a Dify app through POST /chat-messages. The endpoint streams the assistant response, threads messages into a conversation, and returns metadata such as latency and token usage. Suitable for support assistants, knowledge-base chatbots, and product-onboarding agents built in the Dify console.

Send the user message to /chat-messages with the current conversation id, stream tokens to the UI, and store the new message id when the stream ends

Voice-Enabled AI Agent

Build a voice agent by chaining /audio-to-text, /chat-messages, and /text-to-audio. The user's spoken input is transcribed, sent to the Dify app, and the assistant's reply is synthesized back to audio for playback. This collapses what used to require three separate vendor integrations into a single platform with consistent auth.

Receive a recorded audio clip, post it to /audio-to-text, send the transcript to /chat-messages, then call /text-to-audio on the response and return the audio to the caller

Feedback-Driven Quality Loop

Capture thumbs-up and thumbs-down feedback on assistant responses to iterate on prompts and knowledge bases. POST to /messages/{message_id}/feedbacks records the user verdict, and downstream analytics or review pipelines can pull underperforming messages for prompt tuning. This makes the Dify app a continuously improving product surface.

When the user clicks thumbs-down on assistant message msg-123, POST to /messages/msg-123/feedbacks with rating=dislike and the user's optional reason

AI Agent Tool Backend

Use a Dify app as a callable tool from another AI agent through Jentic. The orchestrator searches for "send a Dify chat message", Jentic returns POST /chat-messages with its input schema, and the agent invokes it as a sub-task - for example, to summarise a document or answer a domain-specific question handled by a specialised Dify app.

Call the legal-summary Dify app via /chat-messages with the contract text as user input, return the structured summary, and store it in the case record

Key Endpoints

18 endpoints — the dify api is the application-runtime interface for dify ai apps - chatbots, agents, and workflow apps built in the dify console.

METHOD

PATH

DESCRIPTION

POST

/chat-messages

Send a chat message and stream the response

POST

/chat-messages/{task_id}/stop

Stop a streaming chat task

GET

/conversations

List conversations for the current user

POST

/files/upload

Upload a file for use as context

POST

/audio-to-text

Transcribe an audio file

POST

/text-to-audio

Synthesize audio from text

POST

/messages/{message_id}/feedbacks

Submit feedback on a message

POST

/chat-messages

Send a chat message and stream the response

POST

/chat-messages/{task_id}/stop

Stop a streaming chat task

GET

/conversations

List conversations for the current user

POST

/files/upload

Upload a file for use as context

POST

/audio-to-text

Transcribe an audio file

POST

/text-to-audio

Synthesize audio from text

POST

/messages/{message_id}/feedbacks

Submit feedback on a message

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

D

Dify API

- AI-Aware (B+)
68/100
93
Foundational Compliance
63
Developer Experience & Jentic Compatibility
48
AI-Readiness & Agent Experience
94
Agent Usability
60
Security
100
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
93

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A+Signals: 4
98%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

100%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

75%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

63

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: B-Signals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

50%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

48

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: D+Signals: 4
39%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

100%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

53%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

60

Security

Trust, risk posture, and security compliance.

Grade: B-Signals: 1
60%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

100

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: A+Signals: 1
100%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring Dify by hand means learning its app-scoped bearer auth, pointing at the api.dify.ai runtime host, and handling streaming and file-upload calls yourself. Through Jentic you install once, import the Dify API from the API Directory, store the app token once, and your agent calls it.

Permission scoping

Dify carries the target in the request body rather than a resource id in the URL path, so scope your agent to the operations it needs, such as sending a chat message or transcribing audio. You choose the operations it may call, so message feedback or stopping a running task are not included unless you add them.

Credential isolation

Your Dify app token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'send a chat message' or 'transcribe audio', and Jentic returns the matching Dify operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

OpenAI API

→

Direct LLM access without the Dify app-builder layer

Choose OpenAI directly when you do not need Dify's app, knowledge-base, and workflow runtime

Alternative

Anthropic API

→

Claude family models direct from Anthropic

Use Anthropic directly when targeting Claude with custom orchestration rather than Dify-hosted apps

Complementary

ElevenLabs API

→

Higher-quality voice synthesis if Dify text-to-audio is not sufficient

Use ElevenLabs when voice quality or voice-cloning features exceed what Dify's built-in audio offers

FAQs

Specific to using Dify API through Jentic.

What authentication does the Dify API use?

Dify uses HTTP Bearer authentication. Each Dify app issues an app-scoped API key from the Dify console. Through Jentic the token is stored in the encrypted vault and injected at execution time only.

Can I stream chat responses from a Dify app?

Yes. POST /chat-messages supports a streaming response mode that returns server-sent events as the assistant generates tokens. The same endpoint also supports a blocking mode if streaming is not needed.

What are the rate limits for the Dify API?

Dify applies per-app rate limits set on the Dify console. The exact ceiling depends on the plan tier; bursty workloads should respect the limits visible in 429 response headers and retry with exponential backoff.

How do I send a chat message through Jentic?

Run a Jentic search for "send a Dify chat message". Jentic returns POST /chat-messages with its input schema (query, conversation_id, user, response_mode). Load the schema, populate the fields, and execute.

Does the API support file uploads as conversation context?

Yes. POST /files/upload accepts multipart file uploads and returns a file id that can be referenced in subsequent /chat-messages requests, so the assistant can read documents the user has attached.

How do I install the Jentic SDK to call Dify?

Run pip install jentic, set JENTIC_AGENT_API_KEY to your ak_* key, then use Jentic with SearchRequest, LoadRequest, and ExecutionRequest. Get started with Jentic One, the self-hosted execution layer.

Can I limit what my agent is allowed to do with the Dify API?

Yes. Because you run Jentic One yourself, your own rules decide which Dify operations and credentials the agent may use, and the Dify API selects its target through the request body rather than a resource id in the URL path. You can scope the agent to only the operations it needs, such as sending a chat message to /chat-messages or transcribing audio via /audio-to-text. Operations like submitting message feedback or stopping a running chat task stay off-limits unless you explicitly grant them.

GET STARTED

Start building with Dify API

Explore with Jentic One
View OpenAPI Document