{"items":[{"type":"link","label":"Visual Verification API Reference","link":"/visual-verification","routeSlug":"/visual-verification","content":{"contentType":"overview","meta":{"name":"Visual Verification API Reference"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"visual-verification.json","url":"/_bundle/visual-verification.json?download"},{"kind":"download","label":"visual-verification.yaml","url":"/_bundle/visual-verification.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://engine.prod.bria-api.com"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Visual Verification API Reference","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"Below you will find the technical specifications, request schemas, and response models for our endpoints.\n\nChoose an endpoint from the sidebar to view code samples and run test requests."}],"sectionId":"/visual-verification"}],"sectionId":"/visual-verification"}]}]}},{"type":"group","label":"Endpoints","link":"/visual-verification/endpoints","routeSlug":"/visual-verification/endpoints","items":[{"label":"Verify Image","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/visual-verification/endpoints/verify-image","routeSlug":"/visual-verification/endpoints/verify-image","metadata":{"seo":{"title":"Verify Image","description":"Checks whether an image was generated or signed by Bria, via its C2PA manifest and Bria's invisible watermark."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"verify-image","name":"Verify Image","isWebhook":false,"pointer":"/paths/~1v2~1image~1verify/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Verify Image","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Checks whether an image was generated or signed by Bria, via its C2PA manifest and Bria's invisible watermark."},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_186","exampleIds":["paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by url","paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by base64"]}},"schemaId":"schema_186","exampleIds":["paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by url","paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by base64"],"pointer":"/paths/~1v2~1image~1verify/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/image/verify","servers":[{"url":"https://engine.prod.bria-api.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"schema_186","exampleIds":["paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by url","paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by base64"]}},"responseCodes":["200","400","413","415","422","460","5XX"],"pointer":"/v2/image/verify","href":"endpoints/verify-image","openApiOperationId":"verify-image","summary":"Verify Image"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://engine.prod.bria-api.com"}],"schemaId":"schema_186","exampleIds":["paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by url","paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by base64"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_186","exampleIds":["paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by url","paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by base64"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SyncSuccessResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/trusted by C2PA","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/signed, but not by Bria","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/not from Bria","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/GIF or WEBP, watermark check skipped"]}},"schemaId":"components/schemas/SyncSuccessResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/trusted by C2PA","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/signed, but not by Bria","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/not from Bria","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/GIF or WEBP, watermark check skipped"]},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad request (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"video"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" sent as an explicit "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"413","description":"The media exceeds the 100 MB size limit.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"415","description":"The media type isn't supported for this operation.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/415/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/415/content/application~1json/example"]},{"code":"422","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The request body failed validation: e.g. a missing "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"video"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field, or a value that doesn't meet the field's format ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"video"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" must be a URL; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" may be a URL or base64)."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/422/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/422/content/application~1json/example"]},{"code":"460","description":"The URL couldn't be fetched: unreachable, timed out, returned a non-2xx status, or resolves to a private/internal address (URLs are fetched server-side and rejected if they don't resolve to a public address).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/460/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/460/content/application~1json/example"]},{"code":"5XX","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"An unexpected server-side failure. Retry; if it persists, contact support and quote the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"request_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1image~1verify/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/SyncSuccessResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/trusted by C2PA","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/signed, but not by Bria","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/not from Bria","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/GIF or WEBP, watermark check skipped"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SyncSuccessResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/trusted by C2PA","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/signed, but not by Bria","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/not from Bria","paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/GIF or WEBP, watermark check skipped"]}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"413","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"415","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/415/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/415/content/application~1json/example"]}}},{"code":"422","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/422/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/422/content/application~1json/example"]}}},{"code":"460","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/460/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1image~1verify/post/responses/460/content/application~1json/example"]}}},{"code":"5XX","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/endpoints/verify-image"}],"panels":[]}]},"httpPath":"/v2/image/verify"},{"label":"Verify Video","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/visual-verification/endpoints/verify-video","routeSlug":"/visual-verification/endpoints/verify-video","metadata":{"seo":{"title":"Verify Video","description":"Checks whether a video was generated or signed by Bria, via its C2PA manifest and Bria's invisible watermark."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"verify-video","name":"Verify Video","isWebhook":false,"pointer":"/paths/~1v2~1video~1verify/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Verify Video","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Checks whether a video was generated or signed by Bria, via its C2PA manifest and Bria's invisible watermark."},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_187","exampleIds":["paths/~1v2~1video~1verify/post/requestBody/content/application~1json/examples/by url"]}},"schemaId":"schema_187","exampleIds":["paths/~1v2~1video~1verify/post/requestBody/content/application~1json/examples/by url"],"pointer":"/paths/~1v2~1video~1verify/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v2/video/verify","servers":[{"url":"https://engine.prod.bria-api.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"schema_187","exampleIds":["paths/~1v2~1video~1verify/post/requestBody/content/application~1json/examples/by url"]}},"responseCodes":["200","400","413","415","422","429","460","5XX"],"pointer":"/v2/video/verify","href":"endpoints/verify-video","openApiOperationId":"verify-video","summary":"Verify Video"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://engine.prod.bria-api.com"}],"schemaId":"schema_187","exampleIds":["paths/~1v2~1video~1verify/post/requestBody/content/application~1json/examples/by url"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_187","exampleIds":["paths/~1v2~1video~1verify/post/requestBody/content/application~1json/examples/by url"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SyncSuccessResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/signed and watermarked by Bria","paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/watermark only, no C2PA manifest","paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/not from Bria"]}},"schemaId":"components/schemas/SyncSuccessResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/signed and watermarked by Bria","paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/watermark only, no C2PA manifest","paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/not from Bria"]},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad request (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"video"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" sent as an explicit "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"413","description":"The media exceeds the 100 MB size limit.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"415","description":"The media type isn't supported for this operation.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/415/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/415/content/application~1json/example"]},{"code":"422","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The request body failed validation: e.g. a missing "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"video"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field, or a value that doesn't meet the field's format ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"video"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" must be a URL; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" may be a URL or base64)."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/422/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/422/content/application~1json/example"]},{"code":"429","description":"The service is temporarily at capacity. Retry with backoff.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"},{"code":"460","description":"The URL couldn't be fetched: unreachable, timed out, returned a non-2xx status, or resolves to a private/internal address (URLs are fetched server-side and rejected if they don't resolve to a public address).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/460/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/460/content/application~1json/example"]},{"code":"5XX","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"An unexpected server-side failure. Retry; if it persists, contact support and quote the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"request_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}},"schemaId":"components/schemas/ErrorResponse"}],"pointer":"/paths/~1v2~1video~1verify/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/SyncSuccessResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/signed and watermarked by Bria","paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/watermark only, no C2PA manifest","paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/not from Bria"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SyncSuccessResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/signed and watermarked by Bria","paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/watermark only, no C2PA manifest","paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/not from Bria"]}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"413","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"415","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/415/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/415/content/application~1json/example"]}}},{"code":"422","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/422/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/422/content/application~1json/example"]}}},{"code":"429","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}},{"code":"460","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/460/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1v2~1video~1verify/post/responses/460/content/application~1json/example"]}}},{"code":"5XX","schemaId":"components/schemas/ErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/endpoints/verify-video"}],"panels":[]}]},"httpPath":"/v2/video/verify"}],"content":{"contentType":"group","meta":{"name":"Endpoints"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Endpoints","showPageActions":true},{"nodeType":"markdoc","content":"Verify whether image or video content was generated or signed by Bria."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v2/image/verify","summary":"Verify Image","prefix":{"name":"post","color":"post"},"badges":[],"link":"/endpoints/verify-image","deprecated":false},{"title":"/v2/video/verify","summary":"Verify Video","prefix":{"name":"post","color":"post"},"badges":[],"link":"/endpoints/verify-video","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/SyncSuccessResponse":{"id":"components/schemas/SyncSuccessResponse","kind":"json-schema","title":"SyncSuccessResponse","data":{"type":"object","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Fields that have no value (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"result.c2pa.validation_state"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" when no C2PA manifest is present) are omitted from the response entirely rather than sent as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":["result","request_id"],"properties":{"result":{"type":"object","required":["verified","c2pa"],"properties":{"verified":{"type":"boolean","description":"True if either the C2PA or the invisible-watermark signal confirms Bria origin."},"c2pa":{"type":"object","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The result of checking the media's embedded C2PA manifest against Bria's trust anchor. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://c2pa.org/specifications/specifications/1.3/specs/C2PA_Specification.html"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"C2PA specification"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for the manifest structure."},"children":[]}]}]}],"required":["present","is_trusted"],"properties":{"present":{"type":"boolean","description":"Whether the media carries an embedded C2PA manifest at all."},"is_trusted":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Whether the manifest's signing certificate chains up to Bria's own trust anchor. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only when "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"validation_state"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Trusted"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" when "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Valid"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Invalid"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", or no manifest is present at all."},"children":[]}]}]}]},"validation_state":{"type":"string","enum":["Invalid","Valid","Trusted"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The manifest's C2PA signature validation outcome; omitted when "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"present"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Invalid"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" means the signature itself is broken or the media was tampered with after signing. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Valid"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" means the signature is cryptographically intact but the signer isn't on Bria's trust list — it may be another vendor's legitimate C2PA credential or a self-signed one, so it's not evidence of Bria origin; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"is_trusted"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" here. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Trusted"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" means the signing certificate chains all the way up to the exact certificate Bria registered as its own trust anchor — only this case sets "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"is_trusted"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}},"additionalProperties":true},"invisible_watermark_detected":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bria's invisible-watermark check result. Omitted when the check didn't run at all — for images, this happens for formats the check can't round-trip through (GIF and WEBP); video always runs the check, so this field is always present there. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" means the check ran and did or didn't detect the watermark."},"children":[]}]}]}]}}},"request_id":{"type":"string","description":"A unique identifier for this request, echoed back for support/debugging."}}}},"components/schemas/ErrorObject":{"id":"components/schemas/ErrorObject","kind":"json-schema","title":"ErrorObject","data":{"type":"object","required":["code","message","details"],"properties":{"code":{"type":"integer","example":400},"message":{"type":"string"},"details":{"type":"string"}}}},"components/schemas/ErrorResponse":{"id":"components/schemas/ErrorResponse","kind":"json-schema","title":"ErrorResponse","data":{"type":"object","required":["error","request_id"],"properties":{"error":{"$ref":"#/components/schemas/ErrorObject"},"request_id":{"type":"string"}}}},"schema_186":{"kind":"json-schema","data":{"type":"object","required":["image"],"properties":{"image":{"type":"string","description":"A publicly accessible image URL, or a base64-encoded image. Accepts JPEG, PNG, GIF, or WEBP; only PNG and JPEG are checked for the invisible watermark."}}},"id":"schema_186"},"schema_187":{"kind":"json-schema","data":{"type":"object","required":["video"],"properties":{"video":{"type":"string","format":"uri","description":"A publicly accessible video URL. Accepts MP4, MOV, or M4V."}}},"id":"schema_187"}},"exampleStore":{"paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by url":{"value":{"image":"https://labs-assets.bria.ai/sandbox-example-inputs/remove_background_example.jpg"},"key":"by url","summary":"by url","id":"paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by url"},"paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by base64":{"value":{"image":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="},"key":"by base64","summary":"by base64","id":"paths/~1v2~1image~1verify/post/requestBody/content/application~1json/examples/by base64"},"paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/trusted by C2PA":{"value":{"result":{"verified":true,"c2pa":{"present":true,"is_trusted":true,"validation_state":"Trusted"},"invisible_watermark_detected":false},"request_id":"a1b2c3d4e5f6"},"key":"trusted by C2PA","summary":"trusted by C2PA","id":"paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/trusted by C2PA"},"paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/signed, but not by Bria":{"value":{"result":{"verified":false,"c2pa":{"present":true,"is_trusted":false,"validation_state":"Valid"},"invisible_watermark_detected":false},"request_id":"9f8e7d6c5b4a"},"key":"signed, but not by Bria","summary":"signed, but not by Bria","id":"paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/signed, but not by Bria"},"paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/not from Bria":{"value":{"result":{"verified":false,"c2pa":{"present":false,"is_trusted":false},"invisible_watermark_detected":false},"request_id":"f6e5d4c3b2a1"},"key":"not from Bria","summary":"not from Bria","id":"paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/not from Bria"},"paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/GIF or WEBP, watermark check skipped":{"value":{"result":{"verified":false,"c2pa":{"present":false,"is_trusted":false}},"request_id":"3c2b1a0f9e8d"},"key":"GIF or WEBP, watermark check skipped","summary":"GIF or WEBP, watermark check skipped","id":"paths/~1v2~1image~1verify/post/responses/200/content/application~1json/examples/GIF or WEBP, watermark check skipped"},"paths/~1v2~1image~1verify/post/responses/415/content/application~1json/example":{"value":{"error":{"code":415,"message":"C2PA verification is not supported for media type: application/pdf","details":"415 Unsupported Media Type: C2PA verification is not supported for media type: application/pdf"},"request_id":"a1b2c3d4e5f6"},"id":"paths/~1v2~1image~1verify/post/responses/415/content/application~1json/example"},"paths/~1v2~1image~1verify/post/responses/422/content/application~1json/example":{"value":{"error":{"code":422,"message":"The request was well-formed but was unable to be followed due to semantic errors.","details":"['image -> Must be a valid URL or base64-encoded string']"},"request_id":"a1b2c3d4e5f6"},"id":"paths/~1v2~1image~1verify/post/responses/422/content/application~1json/example"},"paths/~1v2~1image~1verify/post/responses/460/content/application~1json/example":{"value":{"error":{"code":460,"message":"Failed to fetch media from URL: HTTP 404","details":"460 Unknown Error: Failed to fetch media from URL: HTTP 404"},"request_id":"a1b2c3d4e5f6"},"id":"paths/~1v2~1image~1verify/post/responses/460/content/application~1json/example"},"paths/~1v2~1video~1verify/post/requestBody/content/application~1json/examples/by url":{"value":{"video":"https://labs-assets.bria.ai/sandbox-example-inputs/3446608-sd_426_240_25fps.mp4"},"key":"by url","summary":"by url","id":"paths/~1v2~1video~1verify/post/requestBody/content/application~1json/examples/by url"},"paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/signed and watermarked by Bria":{"value":{"result":{"verified":true,"c2pa":{"present":true,"is_trusted":true,"validation_state":"Trusted"},"invisible_watermark_detected":true},"request_id":"a1b2c3d4e5f6"},"key":"signed and watermarked by Bria","summary":"signed and watermarked by Bria","id":"paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/signed and watermarked by Bria"},"paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/watermark only, no C2PA manifest":{"value":{"result":{"verified":true,"c2pa":{"present":false,"is_trusted":false},"invisible_watermark_detected":true},"request_id":"b2c3d4e5f6a1"},"key":"watermark only, no C2PA manifest","summary":"watermark only, no C2PA manifest","id":"paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/watermark only, no C2PA manifest"},"paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/not from Bria":{"value":{"result":{"verified":false,"c2pa":{"present":false,"is_trusted":false},"invisible_watermark_detected":false},"request_id":"f6e5d4c3b2a1"},"key":"not from Bria","summary":"not from Bria","id":"paths/~1v2~1video~1verify/post/responses/200/content/application~1json/examples/not from Bria"},"paths/~1v2~1video~1verify/post/responses/415/content/application~1json/example":{"value":{"error":{"code":415,"message":"C2PA verification is not supported for media type: application/pdf","details":"415 Unsupported Media Type: C2PA verification is not supported for media type: application/pdf"},"request_id":"a1b2c3d4e5f6"},"id":"paths/~1v2~1video~1verify/post/responses/415/content/application~1json/example"},"paths/~1v2~1video~1verify/post/responses/422/content/application~1json/example":{"value":{"error":{"code":422,"message":"The request was well-formed but was unable to be followed due to semantic errors.","details":"['image -> Must be a valid URL or base64-encoded string']"},"request_id":"a1b2c3d4e5f6"},"id":"paths/~1v2~1video~1verify/post/responses/422/content/application~1json/example"},"paths/~1v2~1video~1verify/post/responses/460/content/application~1json/example":{"value":{"error":{"code":460,"message":"Failed to fetch media from URL: HTTP 404","details":"460 Unknown Error: Failed to fetch media from URL: HTTP 404"},"request_id":"a1b2c3d4e5f6"},"id":"paths/~1v2~1video~1verify/post/responses/460/content/application~1json/example"}},"securitySchemeStore":{},"servers":[{"url":"https://engine.prod.bria-api.com"}]},"options":{"jsonSamplesExpandLevel":"all","schemasExpansionLevel":"all","hideSidebar":true,"mockServer":{"url":"/_mock/visual-verification","position":"off","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/visual-verification.json?download"},{"url":"/_bundle/visual-verification.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Visual Verification API Reference","description":"Below you will find the technical specifications, request schemas, and response models for our endpoints.\n\nChoose an endpoint from the sidebar to view code samples and run test requests.\n"}},"baseSlug":"/visual-verification","routesMapping":{}}