Skip to main content
POST
Create Tag Binding

Authorizations

Authorization
string
header
required

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_ids
string[]
required

IDs of the tags to bind. See List Knowledge Type Tags. Unknown tag IDs are silently ignored.

Minimum array length: 1
target_id
string
required

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

Response

Success.