DAM: Files
Set a DAM file's AI provenance flags
Sets the manual AI provenance flags on a file. Both attributes must be sent; sending false for both clears the flags. Only images, videos and audio files can be flagged, and files whose provenance comes from an embedded C2PA manifest are read-only.
patch/dam/files/{file_id}/provenance
Request
- Base URLhttps://api.kontainer.com/jsonapi/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
file_idstring required
ID of File
Request body
Example request
{
"data": {
"type": "file_provenance",
"attributes": {
"is_ai_generated": true
}
}
}Response
success
Example response
{
"data": {
"id": "1234",
"type": "file_provenance",
"attributes": {
"is_ai_generated": true,
"source": "MANUAL",
"is_editable": true,
"claim_generator": "Kontainer",
"c2pa_created_at": "2026-08-05T10:00:00+00:00",
"version": 1
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.