{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/openai/main/json-schema/openai-provenance-resource-schema.json", "title": "ProvenanceResource", "x-generated": "2026-09-23", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/openai-content-provenance-checks-api-openapi.yml#/components/schemas/ProvenanceResource", "properties": { "object": { "$ref": "#/$defs/ProvenanceCheckObject", "description": "The object type. Always `content_provenance_check` for this endpoint." }, "created_at": { "type": "integer", "format": "unixtime", "description": "The Unix timestamp, in seconds, when the provenance check was created." }, "results": { "items": { "oneOf": [ { "$ref": "#/$defs/C2PAProvenanceResult" }, { "$ref": "#/$defs/SynthIDProvenanceResult" } ] }, "type": "array", "description": "The provenance results that apply to the uploaded file. Image results include C2PA and SynthID; audio results include SynthID." } }, "type": "object", "required": [ "object", "created_at", "results" ], "$defs": { "C2PAProvenanceResult": { "properties": { "type": { "type": "string", "enum": [ "c2pa" ], "description": "The provenance signal type. Always `c2pa`.", "default": "c2pa", "x-stainless-const": true }, "outcome": { "$ref": "#/$defs/ProvenanceDetectionResultApi", "description": "Whether a supported OpenAI C2PA provenance signal was detected.\nIf `not_detected`, it means the tool did not find supported signals in the uploaded file. The content could still have been generated by OpenAI if the metadata was stripped or has evidence of tampering, the watermark was degraded, it comes from a legacy generation model, or it was created before provenance signals were available. Content could also still be AI-generated by another company's model, which the tool currently does not detect." }, "validation_state": { "$ref": "#/$defs/C2PAValidationStateApi", "description": "The validation status of the C2PA manifest in the uploaded image." }, "issuer": { "anyOf": [ { "type": "string", "description": "The C2PA manifest issuer, when available." }, { "type": "null" } ] }, "model": { "anyOf": [ { "type": "string", "description": "The OpenAI model recorded by the provenance signal, when available." }, { "type": "null" } ] }, "generated_at": { "anyOf": [ { "type": "string", "description": "The UTC RFC 3339 timestamp recorded by the provenance signal for when the asset was generated, when available." }, { "type": "null" } ] } }, "type": "object", "required": [ "type", "outcome", "validation_state", "issuer", "model", "generated_at" ] }, "C2PAValidationStateApi": { "type": "string", "enum": [ "trusted", "valid", "invalid", "not_present" ] }, "ProvenanceCheckObject": { "type": "string", "enum": [ "content_provenance_check" ] }, "ProvenanceDetectionResultApi": { "type": "string", "enum": [ "detected", "not_detected" ] }, "SynthIDProvenanceResult": { "properties": { "type": { "type": "string", "enum": [ "synthid" ], "description": "The provenance signal type. Always `synthid`.", "default": "synthid", "x-stainless-const": true }, "outcome": { "$ref": "#/$defs/ProvenanceDetectionResultApi", "description": "Whether a supported OpenAI SynthID watermark was detected.\nIf `not_detected`, it means the tool did not find supported signals in the uploaded file. The content could still have been generated by OpenAI if the metadata was stripped or has evidence of tampering, the watermark was degraded, it comes from a legacy generation model, or it was created before provenance signals were available. Content could also still be AI-generated by another company's model, which the tool currently does not detect." }, "model": { "anyOf": [ { "type": "string", "description": "The OpenAI model recorded by the provenance signal, when available." }, { "type": "null" } ] }, "generated_at": { "anyOf": [ { "type": "string", "description": "The UTC RFC 3339 timestamp recorded by the provenance signal for when the asset was generated, when available." }, { "type": "null" } ] } }, "type": "object", "required": [ "type", "outcome", "model", "generated_at" ] } } }