Dify · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Dify Service Tags API

8 actions 8 updates phrasing extends openapi/dify-tags-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Dify's API. It is a proposal applied on top of the contract, not a document Dify publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/datasets/tags'].get
$.paths['/datasets/tags'].post
$.paths['/datasets/tags'].delete
$.paths['/datasets/tags'].patch
$.paths['/datasets/tags/binding'].post
$.paths['/datasets/tags/unbinding'].post
$.paths['/datasets/{dataset_id}/tags'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Dify Service Tags API
  version: 1.0.0
extends: openapi/dify-tags-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/datasets/tags'].get
  update:
    x-apievangelist-phrasing:
      intent: List all knowledge base tags
      effect: read
      questions:
      - Which tags exist for organizing knowledge bases in my workspace?
      - What tag IDs can I use to filter knowledge bases?
      instructions:
      - text: List every knowledge base tag in the workspace.
      - text: Show me all available knowledge tags and their IDs.
      method: generated
      generated: '2026-09-26'
- target: $.paths['/datasets/tags'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a knowledge base tag
      effect: write
      questions:
      - How do I create a new tag for grouping knowledge bases?
      - Do knowledge tag names need to be unique across the workspace?
      instructions:
      - text: Create a knowledge tag named {name}.
        slots:
          name: requestBody.name
      - text: Add a new workspace tag {name} for organizing knowledge bases.
        slots:
          name: requestBody.name
      method: generated
      generated: '2026-09-26'
- target: $.paths['/datasets/tags'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a knowledge base tag
      effect: destructive
      questions:
      - Are tagged knowledge bases deleted when I delete the tag itself?
      - Can I permanently remove a tag I no longer use?
      instructions:
      - text: Delete knowledge tag {tag_id}.
        slots:
          tag_id: requestBody.tag_id
      - text: Permanently remove the tag {tag_id} from the workspace.
        slots:
          tag_id: requestBody.tag_id
      method: generated
      generated: '2026-09-26'
- target: $.paths['/datasets/tags'].patch
  update:
    x-apievangelist-phrasing:
      intent: Rename a knowledge base tag
      effect: write
      questions:
      - Can I rename a knowledge tag without re-tagging every knowledge base?
      - What is the way to fix a typo in a tag's name?
      instructions:
      - text: Rename knowledge tag {tag_id} to {name}.
        slots:
          tag_id: requestBody.tag_id
          name: requestBody.name
      - text: Change the name of tag {tag_id} to {name}.
        slots:
          tag_id: requestBody.tag_id
          name: requestBody.name
      method: generated
      generated: '2026-09-26'
- target: $.paths['/datasets/tags/binding'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach tags to a knowledge base
      effect: write
      questions:
      - How do I tag a knowledge base with one or more tags?
      - What happens if I bind a tag ID that does not exist?
      instructions:
      - text: Tag knowledge base {target_id} with tags {tag_ids}.
        slots:
          target_id: requestBody.target_id
          tag_ids: requestBody.tag_ids
      - text: Bind tags {tag_ids} to knowledge base {target_id}.
        slots:
          tag_ids: requestBody.tag_ids
          target_id: requestBody.target_id
      method: generated
      generated: '2026-09-26'
- target: $.paths['/datasets/tags/unbinding'].post
  update:
    x-apievangelist-phrasing:
      intent: Remove tags from a knowledge base
      effect: write
      questions:
      - Can I untag a knowledge base without deleting the tag from the workspace?
      - How do I detach several tags from one knowledge base at once?
      instructions:
      - text: Remove tags {tag_ids} from knowledge base {target_id}.
        slots:
          tag_ids: requestBody.tag_ids
          target_id: requestBody.target_id
      - text: Unbind tag {tag_id} from knowledge base {target_id}.
        slots:
          tag_id: requestBody.tag_id
          target_id: requestBody.target_id
      method: generated
      generated: '2026-09-26'
- target: $.paths['/datasets/{dataset_id}/tags'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the tags on one knowledge base
      effect: read
      questions:
      - Which tags are currently bound to a specific knowledge base?
      - Can I check what a single knowledge base is tagged with?
      instructions:
      - text: Show the tags on knowledge base {dataset_id}.
        slots:
          dataset_id: path.dataset_id
      - text: List what knowledge base {dataset_id} is tagged with.
        slots:
          dataset_id: path.dataset_id
      method: generated
      generated: '2026-09-26'