---
title: "Returns a single DAM file's AI provenance"
method: GET
path: "/dam/files/{file_id}/provenance"
tags: ["DAM: Files"]
---

# Returns a single DAM file's AI provenance

`GET /dam/files/{file_id}/provenance`

## Request

- Base URL: `https://api.kontainer.com/jsonapi/v2`
- URL: `https://api.kontainer.com/jsonapi/v2/dam/files/{file_id}/provenance`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kontainer/apis/kontainer-api-documentation/docs/dam/files/:file_id/provenance/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the AI provenance recorded for the file's current version. data is null when the file has never been flagged and carries no C2PA manifest.

## Path parameters

- `file_id` string, required

## Response `200`

success

- FileProvenanceResponse
  - `data` FileProvenance
    - `id` string
    - `type` string
    - `attributes` FileProvenanceAttributes
      - `is_ai_generated` boolean
      - `is_ai_manipulated` boolean
      - `has_c2pa` boolean
      - `source` 'MANUAL' | 'C2PA'
      - `is_editable` boolean
      - `claim_generator` string, nullable
      - `c2pa_created_at` string, nullable
      - `version` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: File not found

---

[API](https://skmtc.dev/kontainer/apis/kontainer-api-documentation.md) - [All operations](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/revisions/b80a5167e09a?raw)
