{"name":"c2pa-provenance-api","version":"1.0","description":"Sign media with C2PA Content Credentials (provenance, AI-origin, creator, edits) and verify existing credentials. Helps meet EU AI Act content-transparency requirements.","auth":{"type":"rapidapi","via":"RapidAPI gateway","consumer_header":"X-RapidAPI-Key","note":"Subscribe on RapidAPI and call through the RapidAPI gateway. RapidAPI manages keys, billing, and quota."},"base_url":"https://c2pa.rgtz.dev","openapi_url":"https://c2pa.rgtz.dev/openapi.yaml","supported_formats":["image/jpeg","image/png","image/webp","image/avif","image/tiff","image/heic","image/heif","image/gif","application/pdf","audio/mpeg","audio/wav","video/mp4"],"operations":[{"id":"sign_content","method":"POST","path":"/v1/sign","summary":"Embed C2PA Content Credentials into an image. Provide image_base64 (+mime_type) or image_url.","request_body":{"type":"object","properties":{"image_base64":"string — base64 of the asset (with mime_type)","image_url":"string — http(s) URL of the asset to fetch","mime_type":"string — e.g. image/jpeg (required with image_base64)","title":"string — human-readable manifest title","creator":"string — author/creator name","ai":"boolean — mark content as AI-generated","edited":"boolean — mark as an edit of existing content","claims":"array — extra assertions [{ label, data, kind? }]","filename":"string — optional output filename","returnBase64":"boolean — also return signed_base64"},"required":"one of [image_base64, image_url]"},"response":{"id":"string","download_url":"string (presigned, time-limited)","expires_in":"number (seconds)","bytes":"number","mime_type":"string","signer_mode":"production|test","plan":"detected RapidAPI plan tier"},"headers":{"Idempotency-Key":"optional — safe retries, no double billing"},"example_request":{"image_url":"https://example.com/photo.jpg","creator":"Jane Doe","ai":false}},{"id":"verify_content","method":"POST","path":"/v1/verify","summary":"Read and validate C2PA Content Credentials from an image.","request_body":{"type":"object","properties":{"image_base64":"string — base64 of the asset (with mime_type)","image_url":"string — http(s) URL of the asset to fetch","mime_type":"string — optional MIME override"},"required":"one of [image_base64, image_url]"},"response":{"has_manifest":"boolean","verified":"boolean","validation_status":"array of c2pa status codes","active_manifest":"{ title, claim_generator, format, signature, actions, authors, ai_generated, ingredients }","manifest_count":"number","plan":"detected RapidAPI plan tier"},"example_request":{"image_url":"https://example.com/signed.jpg"}},{"id":"get_usage","method":"GET","path":"/v1/usage","summary":"Return the detected RapidAPI plan and per-plan limits (quota is metered by RapidAPI)."}],"errors":{"envelope":"{ error: { code, message, hint, request_id } }","codes":["forbidden","invalid_request","payload_too_large","unsupported_media_type","fetch_failed","sign_failed","verify_failed","internal_error"]},"tiers":{"free":{"max_bytes_per_op":10000000},"pro":{"max_bytes_per_op":25000000},"scale":{"max_bytes_per_op":50000000}}}