The provenance report for a DataProduct.

The provenance report can be generated as JSON, JSON-LD, XML or PROV-N. Optionally JPEG and SVG versions of the provenance may be available.

Query parameters:

attributes (optional): A boolean, when True (default) show additional attributes of the objects on the image

aspect_ratio (optional): A float used to define the ratio for the JPEG and SVG images. The default is 0.71, which is equivalent to A4 landscape.

dpi (optional): A float used to define the dpi for the JPEG and SVG images

depth (optional): An integer used to determine how many code runs to include, the default is 1

GET /api/prov-report/5/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "prefix": {
        "reg": "https://data.fairdatapipeline.org/",
        "fair": "https://data.fairdatapipeline.org/vocab/#",
        "dcat": "http://www.w3.org/ns/dcat#",
        "dcmitype": "http://purl.org/dc/dcmitype/",
        "dcterms": "http://purl.org/dc/terms/",
        "foaf": "http://xmlns.com/foaf/spec/#",
        "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    },
    "entity": {
        "reg:api/data_product/5": {
            "rdf:type": {
                "$": "dcat:Dataset",
                "type": "xsd:QName"
            },
            "dcterms:modified": {
                "$": "2026-10-03T16:37:31.744437+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/b1a8dc4f8c51dab243bc60f866d0923ddd1802ed",
            "fair:namespace": "ryanjfield",
            "dcterms:title": "SEIRS_model/results/figure/R",
            "dcat:hasVersion": "0.0.1",
            "dcterms:format": "pdf"
        },
        "reg:api/object/9": {
            "dcterms:modified": {
                "$": "2026-10-03T16:37:18.886159+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://github.com/FAIRDataPipeline/rSimpleModel.git",
            "dcterms:description": "Analysis / processing script location",
            "dcterms:format": "git"
        },
        "reg:api/object/8": {
            "dcterms:modified": {
                "$": "2026-10-03T16:37:11.685001+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/f1e9befad727fc70ce0bdecf3ad48f43204e3963",
            "dcterms:description": "Working config.yaml file location in local datastore",
            "dcterms:format": "YAML Document"
        },
        "reg:api/object/10": {
            "rdf:type": {
                "$": "dcmitype:Software",
                "type": "xsd:QName"
            },
            "dcterms:modified": {
                "$": "2026-10-03T16:37:25.131895+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/89961dc1ec5e622fa68e678495569f10f0f285bb",
            "dcterms:description": "Submission script location in local datastore",
            "dcterms:format": "Bash Shell Script"
        },
        "reg:api/data_product/1": {
            "rdf:type": {
                "$": "dcat:Dataset",
                "type": "xsd:QName"
            },
            "dcterms:modified": {
                "$": "2026-10-02T11:04:08.339221+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/6294a5951677e6b8438cabf55234b7974adeaee3",
            "dcterms:description": "Static parameters of the model",
            "fair:namespace": "PSU",
            "dcterms:title": "SEIRS_model/parameters",
            "dcat:hasVersion": "1.0.0",
            "dcterms:format": "Comma-Separated Values File"
        },
        "reg:api/external_object/1": {
            "rdf:type": {
                "$": "dcat:Dataset",
                "type": "xsd:QName"
            },
            "dcterms:title": "Static parameters of the model",
            "dcterms:issued": {
                "$": "2021-09-20T12:00:00+00:00",
                "type": "xsd:dateTime"
            },
            "dcat:hasVersion": "1.0.0",
            "dcterms:identifier": "https://doi.org/10.1038/s41592-020-0856-2"
        }
    },
    "agent": {
        "reg:api/author/1": {
            "rdf:type": {
                "$": "prov:Person",
                "type": "xsd:QName"
            },
            "foaf:name": "Ryan J Field",
            "dcterms:identifier": "https://github.com/RyanJField"
        }
    },
    "wasAttributedTo": {
        "_:id1": {
            "prov:entity": "reg:api/data_product/5",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "xsd:QName"
            }
        },
        "_:id4": {
            "prov:entity": "reg:api/object/9",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "xsd:QName"
            }
        },
        "_:id6": {
            "prov:entity": "reg:api/object/8",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "xsd:QName"
            }
        },
        "_:id8": {
            "prov:entity": "reg:api/object/10",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "xsd:QName"
            }
        },
        "_:id11": {
            "prov:entity": "reg:api/data_product/1",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "xsd:QName"
            }
        }
    },
    "activity": {
        "reg:api/code_run/2": {
            "prov:startTime": "2026-10-03T17:36:08+00:00",
            "rdf:type": {
                "$": "fair:Run",
                "type": "xsd:QName"
            },
            "dcterms:description": "SEIRS Model R"
        }
    },
    "wasGeneratedBy": {
        "_:id2": {
            "prov:entity": "reg:api/data_product/5",
            "prov:activity": "reg:api/code_run/2"
        }
    },
    "wasStartedBy": {
        "_:id3": {
            "prov:activity": "reg:api/code_run/2",
            "prov:trigger": "reg:api/author/1",
            "prov:time": "2026-10-03T17:36:08+00:00",
            "prov:role": {
                "$": "fair:code_runner",
                "type": "xsd:QName"
            }
        }
    },
    "used": {
        "_:id5": {
            "prov:activity": "reg:api/code_run/2",
            "prov:entity": "reg:api/object/9",
            "prov:role": {
                "$": "fair:software",
                "type": "xsd:QName"
            }
        },
        "_:id7": {
            "prov:activity": "reg:api/code_run/2",
            "prov:entity": "reg:api/object/8",
            "prov:role": {
                "$": "fair:model_configuration",
                "type": "xsd:QName"
            }
        },
        "_:id9": {
            "prov:activity": "reg:api/code_run/2",
            "prov:entity": "reg:api/object/10",
            "prov:role": {
                "$": "fair:submission_script",
                "type": "xsd:QName"
            }
        },
        "_:id12": {
            "prov:activity": "reg:api/code_run/2",
            "prov:entity": "reg:api/data_product/1",
            "prov:role": {
                "$": "fair:input_data",
                "type": "xsd:QName"
            }
        }
    },
    "specializationOf": {
        "_:id10": {
            "prov:specificEntity": "reg:api/external_object/1",
            "prov:generalEntity": "reg:api/data_product/1"
        }
    },
    "wasDerivedFrom": {
        "_:id13": {
            "prov:generatedEntity": "reg:api/data_product/5",
            "prov:usedEntity": "reg:api/data_product/1"
        }
    }
}