Skip to main content
POST
/
datasets
/
tags
/
binding
Create Tag Binding
curl --request POST \
  --url https://{api_base_url}/datasets/tags/binding \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tag_ids": [
    "<string>"
  ],
  "target_id": "<string>"
}
'

Authorizations

Authorization
string
header
required

API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with Bearer. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.

Body

application/json
tag_ids
string[]
required

Tag IDs to bind.

Minimum array length: 1
target_id
string
required

Knowledge base ID.

Response

204

Success.