document_id
. Users can add new tags, remove existing ones, or perform both actions in a single request, making it easier to organize, categorize, and retrieve documents based on relevant topics or keywords.document_id
?document_id
is a unique numeric identifier assigned to each document within the system.curl --location -g --request POST 'https:///v2/api/document/0/annotate' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"source": "905f47b8-08db-4e08-8b16-29994194abd0.txt",
"add_tags": [
"llama"
],
"remove_tags": [
"llms"
]
}'
{
"status": "success",
"message": "Tags updated successfully",
"tags": [
"llama"
]
}