{"openapi":"3.1.0","info":{"title":"ChronoVerify","description":"Verify a photo's capture time and provenance. Reads EXIF and XMP, cryptographically validates C2PA Content Credentials against the official trust lists, and runs classical pixel forensics, returning one verdict (provenance_confirmed, consistent, inconclusive, metadata_anomaly, or manipulation_indicated) with a 0 to 100 confidence. Provenance-first, not a deepfake or AI-generation detector. ChronoVerify is a C2PA Conformant Validator, listed on the C2PA Conforming Products List (record 019f8a20-6452-7a43-b11b-59d0b0e4a84a; validation of image/jpeg, image/png, image/webp and image/avif; the C2PA operates a conformance program and does not certify). The public path is keyless and rate-limited; send 'Authorization: Bearer cv_live_...' to meter against a key. Pricing: $0.003 per verification pay as you go, $2.00 per signed PDF report on a paid key, $29 one-time signed report for one photo with no account (a human buys it at the free verifier's verdict screen; it cannot be completed over the API), Scale $299 a month. Agent onboarding manifest (auth, pricing, quota headers, key acquisition): GET https://chronoverify.com/v1/onboarding","version":"1.0.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/verify":{"post":{"summary":"Verify","description":"Verify one image, by upload or by URL. Returns the verdict object.\n\nTwo paths share one endpoint:\n  - No Authorization header: the free public verifier, rate limited per IP.\n  - Authorization: Bearer cv_live_...: the metered API. A metered key draws\n    its prepaid balance at the per-image price first and falls back to its\n    100 free verifications a month once the balance is short; a monthly\n    subscription spends its included quota first, then any balance. A key\n    with neither is refused with 402 before any work is done.\n\nThe file is processed for this check and not retained. With\npermalink=true the VERDICT JSON (only) is stored and the response gains a\nshareable, unlisted permalink to it.","operationId":"verify_v1_verify_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_verify_v1_verify_post"}}}},"responses":{"200":{"description":"The verdict object.","headers":{"X-Credits-Remaining-USD":{"description":"Remaining prepaid balance in USD, on a metered (pay-as-you-go) key.","schema":{"type":"string"}},"X-Quota-Remaining":{"description":"Remaining included verifications this month, on a plan key.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponse"}}}},"400":{"description":"No image was provided, or the URL could not be fetched.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Invalid API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Out of monthly quota and prepaid credits. Add credits at /pricing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Image exceeds the size or pixel-dimension limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported or unreadable image format.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited. Retry after the Retry-After header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The verifier is temporarily busy or unavailable. Retry after the Retry-After header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{},{"bearerAuth":[]}]}},"/v1/report":{"post":{"summary":"Report","description":"Generate an on-demand signed PDF report for one image.\n\nThis is the paid/forensic artifact and the most expensive path (full decode\n+ pixel forensics + PDF generation), so it REQUIRES a paid API key and is a\npremium metered unit: $2.00 per report from the prepaid balance on pay as\nyou go, or one unit of a monthly subscription's included quota. It is NOT\nbilled at the $0.003 verification rate. Leaving it unauthenticated would\nmake it a free cost-amplification target. The free public web verifier does\nnot call this. Returns application/pdf.","operationId":"report_v1_report_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_report_v1_report_post"}}},"required":true},"responses":{"200":{"description":"A signed PDF audit report (application/pdf).","content":{"application/json":{"schema":{}},"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"A signed report requires an API key, or the key is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Out of monthly quota and prepaid credits for a signed report.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Image exceeds the size or pixel-dimension limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported or unreadable image format.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The report builder is temporarily busy or unavailable. Retry after the Retry-After header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Rate limit exceeded. Back off and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"bearerAuth":[]}]}},"/v1/report/redeem":{"post":{"summary":"Redeem Report","description":"Deliver the signed PDF for a paid $29 single-report purchase. No account.\n\nThe buyer's browser held the image across the Stripe redirect and posts it\nback here. Three things are checked, in this order, cheapest first:\n\n  1. Stripe says the session is complete, paid, and of kind single_report.\n  2. The bytes posted here hash to the sha256 that session was sold against.\n  3. The session has redemptions left.\n\nStep 2 is the one that makes the whole flow safe. Without it a single $29\npurchase would report any number of different images, because the session id\nwould be a bearer token for the ENDPOINT rather than for one file.\n\nNothing is metered against any API key: this report is already paid for, and\nthere is no account to charge. The image is processed and discarded exactly\nas on the free verifier.","operationId":"redeem_report_v1_report_redeem_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_redeem_report_v1_report_redeem_post"}}},"required":true},"responses":{"200":{"description":"The signed PDF audit report bought by this session.","content":{"application/json":{"schema":{}},"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Missing session id or image.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"This image is not the one the session paid for.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No paid report purchase matches that session.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"This purchase has been redeemed the maximum number of times.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Image exceeds the size or pixel-dimension limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported or unreadable image format.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The report builder is temporarily busy or unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/key":{"get":{"summary":"Signing Key","description":"Publish the report signing public key so signatures are verifiable.","operationId":"signing_key_v1_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Signing Key","description":"Publish the report signing public key so signatures are verifiable.","operationId":"signing_key_v1_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/verify.schema.json":{"get":{"summary":"Verify Schema","description":"The JSON Schema for the POST /v1/verify response.\n\nA self-describing, versioned contract so an agent or codegen tool can fetch\nthe exact response shape (verdict enum, signal direction enum, the C2PA block,\nintegrity fingerprints) without scraping the docs. Derived from the same\nPydantic model that types /openapi.json, so it can never drift from the API.","operationId":"verify_schema_v1_verify_schema_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Verify Schema","description":"The JSON Schema for the POST /v1/verify response.\n\nA self-describing, versioned contract so an agent or codegen tool can fetch\nthe exact response shape (verdict enum, signal direction enum, the C2PA block,\nintegrity fingerprints) without scraping the docs. Derived from the same\nPydantic model that types /openapi.json, so it can never drift from the API.","operationId":"verify_schema_v1_verify_schema_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/billing/status":{"get":{"summary":"Billing Status","description":"Public probe: is self-serve credit purchase live? The pricing page uses\nthis to hide the Buy credits flow until Stripe is configured, so a buyer\nnever reaches a checkout that 503s.","operationId":"billing_status_v1_billing_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Billing Status","description":"Public probe: is self-serve credit purchase live? The pricing page uses\nthis to hide the Buy credits flow until Stripe is configured, so a buyer\nnever reaches a checkout that 503s.","operationId":"billing_status_v1_billing_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/billing/subscribe":{"post":{"summary":"Billing Subscribe","description":"No subscription tier is sold through this endpoint. Self-serve\nsubscription checkout was withdrawn on 2026-07-25, so every request returns\n400. What is on sale: the free tier (100 verifications a month, POST\n/v1/keys/free), pay as you go ($0.003 per image, $5 minimum top-up, POST\n/v1/billing/checkout), and Scale ($299 a month, 200,000 verifications, with\nsigned, timestamped PDF audit reports drawn from that quota), all shown at\nhttps://chronoverify.com/pricing. Existing subscribers are unaffected:\nrenewals resolve in the Stripe webhook handler, never here.","operationId":"billing_subscribe_v1_billing_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/checkout":{"post":{"summary":"Billing Checkout","description":"Start a prepaid credit top-up. Returns a Stripe Checkout URL to redirect\nthe buyer to. Minimum $5; the resulting credits fund pay-as-you-go usage.","operationId":"billing_checkout_v1_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/report/checkout":{"post":{"summary":"Single Report Checkout","description":"Start checkout for one $29 signed report on one image, no account.\n\nTakes the image's sha256, never the image. The buyer's browser keeps the\nfile across the Stripe redirect and hands it back at /v1/report/redeem,\nwhere it is rehashed against the sha256 pinned here. So this endpoint sells\nthe right to report exactly one file, and the server never holds a photo it\nwould have to protect, retain, or delete.","operationId":"single_report_checkout_v1_report_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleReportRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/report/order":{"get":{"summary":"Single Report Order","description":"Which image did this paid session buy a report for?\n\nThe return trip from Stripe carries only the session id, so the page needs\nthis to know which of the browser's stored files to send back. It returns\nthe sha256 and nothing else: no email, no amount, no customer. 404 covers\nunknown, unpaid, and wrong-kind alike, so it cannot be used to probe which\nStripe session ids exist.","operationId":"single_report_order_v1_report_order_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Single Report Order","description":"Which image did this paid session buy a report for?\n\nThe return trip from Stripe carries only the session id, so the page needs\nthis to know which of the browser's stored files to send back. It returns\nthe sha256 and nothing else: no email, no amount, no customer. 404 covers\nunknown, unpaid, and wrong-kind alike, so it cannot be used to probe which\nStripe session ids exist.","operationId":"single_report_order_v1_report_order_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/session":{"get":{"summary":"Billing Session","description":"Reveal the API key for a completed Checkout Session. Idempotent: the\nwelcome page can reload and re-read the same key. The session id is the\none-time capability the buyer receives via the post-payment redirect.","operationId":"billing_session_v1_billing_session_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Billing Session","description":"Reveal the API key for a completed Checkout Session. Idempotent: the\nwelcome page can reload and re-read the same key. The session id is the\none-time capability the buyer receives via the post-payment redirect.","operationId":"billing_session_v1_billing_session_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/account":{"get":{"summary":"Billing Account","description":"Return the account summary for a key supplied as a Bearer token.","operationId":"billing_account_v1_billing_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Billing Account","description":"Return the account summary for a key supplied as a Bearer token.","operationId":"billing_account_v1_billing_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/billing/portal":{"post":{"summary":"Billing Portal","description":"Open the Stripe customer portal for the key supplied as a Bearer token.\nThe portal lets a customer update their card, download invoices, and cancel\na subscription themselves, with no email and no sales call.","operationId":"billing_portal_v1_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/keys/free":{"post":{"summary":"Create Free Key","description":"Self-serve free API key: no card, no checkout, fully agent-traversable.\n\nAccepts the email as a form field or a JSON body ({\"email\": ...}) so both a\nbrowser form and an agent's default JSON POST work. Grants plan 'free': 100\nincluded verifications per month, no prepaid balance, signed reports\nexcluded. One key per email; issuance is IP rate limited; the key string is\nshown once in this response and never re-revealed.","operationId":"create_free_key_v1_keys_free_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_admin_login_v1_admin_login_post":{"properties":{"token":{"type":"string","title":"Token","default":""}},"type":"object","title":"Body_admin_login_v1_admin_login_post"},"Body_inspect_v1_inspect_post":{"properties":{"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","title":"Body_inspect_v1_inspect_post"},"Body_redeem_report_v1_report_redeem_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["file","session_id"],"title":"Body_redeem_report_v1_report_redeem_post"},"Body_report_v1_report_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_report_v1_report_post"},"Body_verify_v1_verify_post":{"properties":{"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"permalink":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permalink","description":"Set to 'true' to also store this verdict and get back a private, unlisted permalink to it (the image itself is never stored). Links minted with an API key do not expire; links from the free verifier expire after 90 days."},"sample":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sample","description":"Set to 'true' when the image is one of the site's own demo samples rather than the caller's file. It changes nothing about the verdict; it only keeps our own funnel tally honest, since a demo click is not somebody weighing up a purchase."}},"type":"object","title":"Body_verify_v1_verify_post"},"Body_waitlist_v1_waitlist_post":{"properties":{"email":{"type":"string","title":"Email"},"use_case":{"type":"string","title":"Use Case","default":""}},"type":"object","required":["email"],"title":"Body_waitlist_v1_waitlist_post"},"C2PA":{"properties":{"present":{"type":"boolean","title":"Present","description":"Whether C2PA Content Credentials were found, embedded or referenced remotely.","default":false},"validated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Validated","description":"True only when the signer is on a recognized C2PA trust list; null when validation did not run."},"signature_valid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Signature Valid","description":"Whether the manifest reached a Trusted or Valid state overall. Null when validation did not run. This is the aggregate state, not a per-check result: for the individual signature outcome read status_codes (claimSignature.validated / claimSignature.mismatch)."},"trust_list_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Trust List Match","description":"True when the validator emitted the signingCredential.trusted status code, meaning the signing certificate chained to a configured trust anchor. Null when validation did not run."},"validation_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation State","description":"The C2PA validation state: 'Trusted', 'Valid', 'Invalid', or null when absent."},"signer":{"anyOf":[{"$ref":"#/components/schemas/C2PASigner"},{"type":"null"}],"description":"Signer summary from the active manifest, when present."},"status_codes":{"anyOf":[{"$ref":"#/components/schemas/C2PAStatusCodes"},{"type":"null"}],"description":"Full validation status-code set across the manifest store."},"digital_source_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Digital Source Type","description":"The IPTC digital source type declared by the ACTIVE manifest, e.g. 'trainedAlgorithmicMedia' (generative AI) or 'digitalCapture' (camera). Ingredient manifests are excluded, so this describes the asset itself."},"ai_declared":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ai Declared","description":"True when the asset's own provenance lineage (the active manifest plus its parentOf ingredient chain) declares generative-AI origin via the IPTC codes trainedAlgorithmicMedia or compositeWithTrainedAlgorithmicMedia. Null when no manifest was read. This is what the signer declared, not a detection result: a manifest that only says so in prose is not counted."},"ai_in_ingredients":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ai In Ingredients","description":"True when a generative-AI declaration appears only on separate source material placed into this asset, not on the asset's own lineage."},"software_agents":{"items":{"type":"string"},"type":"array","title":"Software Agents","description":"Software agents named by the credential's action assertions, e.g. 'DALL-E'."},"actions":{"items":{"type":"string"},"type":"array","title":"Actions","description":"C2PA action identifiers declared in the asset's lineage, e.g. 'c2pa.created', 'c2pa.converted'."},"remote_manifest_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remote Manifest Url","description":"Set when the asset references a remotely hosted manifest. ChronoVerify does not fetch remote manifests, so such a credential is reported but not validated."},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"C2PA"},"C2PASigner":{"properties":{"issuer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer"},"common_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Common Name"},"signed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed At","description":"When the manifest was signed, if recorded."},"claim_generator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claim Generator","description":"The claim_generator (signing tool) string from the active manifest, if recorded."}},"type":"object","title":"C2PASigner"},"C2PAStatusCodes":{"properties":{"success":{"items":{"type":"string"},"type":"array","title":"Success","description":"Checks that passed."},"informational":{"items":{"type":"string"},"type":"array","title":"Informational","description":"Non-failing notices."},"failure":{"items":{"type":"string"},"type":"array","title":"Failure","description":"Checks that failed."}},"type":"object","title":"C2PAStatusCodes","description":"The consolidated C2PA validation status codes, as required by the C2PA\nContent Credentials specification (validation result reporting). Codes are\nthe spec's own identifiers, for example ``claimSignature.validated``,\n``signingCredential.untrusted``, ``assertion.dataHash.mismatch``."},"CaptureDevice":{"properties":{"make":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Make"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"software":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Software"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Where the device info came from, e.g. 'exif'."}},"type":"object","title":"CaptureDevice"},"CaptureLocation":{"properties":{"present":{"type":"boolean","title":"Present","description":"Whether any location was found.","default":false},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"},"source":{"type":"string","title":"Source","description":"Where the location came from, or 'none'.","default":"none"},"place":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},"type":"object","title":"CaptureLocation"},"CaptureTime":{"properties":{"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value","description":"ISO-8601 capture timestamp, or null if none was found."},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Where the time came from, e.g. 'exif', 'xmp', or 'none'."},"consistent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consistent","description":"Whether corroborating timestamps agree, when more than one is present."}},"type":"object","title":"CaptureTime"},"ConsistencyCheck":{"properties":{"name":{"type":"string","title":"Name"},"passed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Passed","description":"True if the check passed, False if it failed, or null when it is not applicable (e.g. no EXIF, so nothing to check)."},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["name"],"title":"ConsistencyCheck"},"ErrorResponse":{"properties":{"detail":{"type":"string","title":"Detail","description":"A human-readable error message."}},"type":"object","required":["detail"],"title":"ErrorResponse","description":"The error body returned for any non-2xx response (FastAPI's standard shape).","example":{"detail":"Out of monthly quota and credits. Add credits at /pricing or check /dashboard."}},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Integrity":{"properties":{"sha256":{"type":"string","title":"Sha256"},"sha512":{"type":"string","title":"Sha512"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"bytes":{"type":"integer","title":"Bytes"},"processed_at_utc":{"type":"string","title":"Processed At Utc"},"pipeline_version":{"type":"string","title":"Pipeline Version"},"method_version":{"type":"string","title":"Method Version"},"forensics_input":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Forensics Input","description":"Whether forensics ran on the original or a downscaled copy."},"pillow_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pillow Version"},"c2pa_validator_enabled":{"type":"boolean","title":"C2Pa Validator Enabled"}},"type":"object","required":["sha256","sha512","bytes","processed_at_utc","pipeline_version","method_version","c2pa_validator_enabled"],"title":"Integrity"},"MetadataConsistency":{"properties":{"exif_present":{"type":"boolean","title":"Exif Present"},"xmp_present":{"type":"boolean","title":"Xmp Present"},"checks":{"items":{"$ref":"#/components/schemas/ConsistencyCheck"},"type":"array","title":"Checks"},"anomalies":{"items":{"type":"string"},"type":"array","title":"Anomalies","description":"Plain-language metadata contradictions, if any."}},"type":"object","required":["exif_present","xmp_present"],"title":"MetadataConsistency"},"PermalinkInfo":{"properties":{"id":{"type":"string","title":"Id","description":"Unguessable identifier of the stored verdict."},"url":{"type":"string","title":"Url","description":"Shareable, unlisted URL of this verdict. Anyone with the link can view it; it is never indexed or listed."},"expires_at_utc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At Utc","description":"UTC expiry of the link. Links minted on the free verifier expire after 90 days; links minted with an API key do not expire (null)."}},"type":"object","required":["id","url"],"title":"PermalinkInfo"},"PixelForensics":{"properties":{"estimated_jpeg_quality":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Jpeg Quality"},"ela_mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ela Mean"},"ela_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ela Max"},"ela_localization":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ela Localization","description":"Localized error-level-analysis ratio. The manipulation gate requires this to be high alongside a corroborating noise signal."},"noise_dispersion":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Noise Dispersion"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"PixelForensics"},"Signal":{"properties":{"name":{"type":"string","title":"Name"},"layer":{"type":"string","title":"Layer","description":"Which layer produced the signal: 'integrity', 'provenance', 'metadata', or 'pixel'."},"direction":{"type":"string","enum":["supports_authentic","supports_edited","neutral"],"title":"Direction","description":"Whether the signal supports an authentic capture, supports editing, or is neutral."},"weight":{"type":"number","title":"Weight"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["name","layer","direction","weight"],"title":"Signal"},"SingleReportRequest":{"properties":{"sha256":{"type":"string","title":"Sha256"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["sha256"],"title":"SingleReportRequest"},"SubscribeRequest":{"properties":{"plan":{"type":"string","title":"Plan","default":""},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"}},"type":"object","title":"SubscribeRequest"},"TopupRequest":{"properties":{"amount_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Amount Usd"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"}},"type":"object","required":["amount_usd"],"title":"TopupRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyResponse":{"properties":{"schema_version":{"type":"string","title":"Schema Version","description":"Response schema version, currently 'v1'."},"request_id":{"type":"string","title":"Request Id"},"verdict":{"type":"string","enum":["provenance_confirmed","consistent","inconclusive","metadata_anomaly","manipulation_indicated"],"title":"Verdict","description":"The single fused verdict enum."},"confidence":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Confidence","description":"0 to 100 confidence in the verdict."},"headline":{"type":"string","title":"Headline","description":"One-line plain-language verdict."},"summary":{"type":"string","title":"Summary"},"capture_time":{"$ref":"#/components/schemas/CaptureTime"},"capture_location":{"$ref":"#/components/schemas/CaptureLocation"},"capture_device":{"$ref":"#/components/schemas/CaptureDevice"},"c2pa":{"$ref":"#/components/schemas/C2PA"},"metadata_consistency":{"$ref":"#/components/schemas/MetadataConsistency"},"pixel_forensics":{"$ref":"#/components/schemas/PixelForensics"},"signals":{"items":{"$ref":"#/components/schemas/Signal"},"type":"array","title":"Signals","description":"The individual signals that produced the verdict."},"limits":{"type":"string","title":"Limits","description":"Plain-language statement of what the verdict does and does not mean."},"integrity":{"$ref":"#/components/schemas/Integrity"},"processing_ms":{"type":"integer","title":"Processing Ms"},"permalink":{"anyOf":[{"$ref":"#/components/schemas/PermalinkInfo"},{"type":"null"}],"description":"Present only when the request opted in with permalink=true: a private, unlisted link to this stored verdict. The image itself is never stored."}},"type":"object","required":["schema_version","request_id","verdict","confidence","headline","summary","capture_time","capture_location","capture_device","c2pa","metadata_consistency","pixel_forensics","limits","integrity","processing_ms"],"title":"VerifyResponse","description":"The verdict object returned by POST /v1/verify.","example":{"c2pa":{"actions":[],"note":"No Content Credentials (C2PA) found. The majority of images in the wild are unsigned. Absence of a credential is not evidence that the image is fake.","present":false,"software_agents":[],"status_codes":{"failure":[],"informational":[],"success":[]}},"capture_device":{"make":"Canon","model":"EOS R6","software":"Firmware 1.8.1","source":"exif"},"capture_location":{"present":false,"source":"none"},"capture_time":{"source":"exif","value":"2026-03-14T09:21:30"},"confidence":58,"headline":"Metadata is internally consistent. No manipulation signals fired.","integrity":{"bytes":166692,"c2pa_validator_enabled":false,"forensics_input":"original","format":"JPEG","height":800,"method_version":"fusion-0.1.0","pillow_version":"11.1.0","pipeline_version":"chronoverify-pipeline-0.1.0","processed_at_utc":"2026-06-27T17:18:25Z","sha256":"1313339afab5c9ed466605db093ea60cc721e1021c3b274213d6f49dc8f0a1b2","sha512":"93a81e4ad853d774118e2cd1cc9748c08229fe44b62d41388fb4f7a01330c0de","width":1200},"limits":"ChronoVerify returns investigative triage, not proof. A clean result means the file's saved data is internally consistent, not that the scene it shows is real.","metadata_consistency":{"anomalies":[],"checks":[{"detail":"EXIF metadata is present.","name":"exif_present","passed":true}],"exif_present":true,"xmp_present":false},"pixel_forensics":{"ela_localization":1.314,"ela_max":3.667,"ela_mean":0.563,"estimated_jpeg_quality":98,"noise_dispersion":0.059,"note":"Pixel-forensic signals are probabilistic and unreliable on recompressed or screenshotted images."},"processing_ms":133,"request_id":"9c094a668aa8404caed916d3d0fa0d2f","schema_version":"v1","signals":[{"detail":"No Content Credentials (C2PA) found. The majority of images in the wild are unsigned. Absence of a credential is not evidence that the image is fake.","direction":"neutral","layer":"provenance","name":"c2pa_absent","weight":0.0}],"summary":"The image carries metadata that is internally consistent, and no pixel-forensic signal crossed a flag threshold. This is consistent with an unedited capture, but it is not proof.","verdict":"consistent"}},"Error":{"type":"object","required":["detail"],"properties":{"detail":{"type":"string","description":"Human-readable error message."}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your ChronoVerify API key as a bearer token (cv_live_...). Optional: omit it to use the free, rate-limited public path. A metered key spends its prepaid balance first and keeps its 100 free verifications a month as a fallback; a monthly subscription spends its included quota first."}}},"servers":[{"url":"https://chronoverify.com"}]}