---
title: "Returns AI provenance across DAM files"
method: GET
path: "/dam/files/provenance"
tags: ["DAM: Files"]
---

# Returns AI provenance across DAM files

`GET /dam/files/provenance`

## Request

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

Returns the AI provenance of the client's files, one entry per file that has any. Client admins only. Files with no provenance are absent rather than returned empty.

## Query parameters

- `filter[file_id]` string
- `page[size]` integer
- `page[number]` integer

## Response `200`

success

- FileProvenanceCollection
  - `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
  - `links` FileExternalReferenceLinks
    - `first` string
    - `last` string
    - `prev` string, nullable
    - `next` string, nullable
  - `meta` FileExternalReferencePaginationMeta
    - `current_page` integer
    - `from` integer
    - `last_page` integer
    - `links` object[]
      - `url` string, nullable
      - `label` string
      - `active` boolean
    - `per_page` integer
    - `to` integer
    - `total` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid filter or pagination

---

[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)
