Skip to main content
post/datasets/tags/binding
Request example
Response
post/datasets/tags/binding

Authorization

Authorizationstringheaderrequired#

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Body

application/json
tag_idsstring[]required#
IDs of the tags to bind. See List Knowledge Type Tags. Unknown tag IDs are silently ignored.

Items: min 1

target_idstringrequired#
Knowledge base to bind the tags to. See List Knowledge Bases.

Responses

Success.