POST/api/v1/content-creation/source-documents/{document_id}/attach
Attach existing document as content source
Tag an existing workspace document for /content source generation.
PARAMETERS
- document_idpath · stringREQUIRED
- Document id.e.g. string
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/content-creation/source-documents/string/attach" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/content-creation/source-documents/string/attach", 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/content-creation/source-documents/string/attach", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
