GET/api/v1/documents/{doc_id}/auto-tags
Get auto tags for a document
Get all auto tags applied to a specific document
PARAMETERS
- doc_idpath · stringREQUIRED
- Document id.e.g. string
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/documents/string/auto-tags" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://gateway.kumkuat.ai/api/v1/documents/string/auto-tags", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/documents/string/auto-tags", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"auto_tags": [
{
"auto_tag_id": "string",
"extracted_value": "string",
"extraction": "string",
"id": "string",
"name": "string"
}
]
}
