{"openapi":"3.1.0","info":{"title":"Omniseal™ API Documentation","version":"2.0"},"paths":{"/api/v1/audio/embed":{"post":{"tags":["Audio"],"summary":"Embed Secret file into an Audio File","description":"Embeds a confidential or hidden file into the audio stream without altering its perceptual quality. This allows secure packaging of audio with auxiliary data for protected transmission or forensic use.","operationId":"add_watermark_api_v1_audio_embed_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_time","in":"query","required":false,"schema":{"type":"number","description":"Start time for sectional embedding","title":"Start Time"},"description":"Start time for sectional embedding"},{"name":"end_time","in":"query","required":false,"schema":{"type":"number","description":"End time for sectional embedding","title":"End Time"},"description":"End time for sectional embedding"},{"name":"redundant","in":"query","required":false,"schema":{"type":"boolean","description":"Whether to apply the embedding multiple times for enhanced robustness","default":false,"title":"Redundant"},"description":"Whether to apply the embedding multiple times for enhanced robustness"},{"name":"optimize_compression","in":"query","required":false,"schema":{"type":"boolean","description":"Whether to apply perceptual compression optimization","default":true,"title":"Optimize Compression"},"description":"Whether to apply perceptual compression optimization"},{"name":"compression_bitrate","in":"query","required":false,"schema":{"type":"integer","description":"Target bitrate for compression in bits per second","default":128000,"title":"Compression Bitrate"},"description":"Target bitrate for compression in bits per second"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_watermark_api_v1_audio_embed_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST 'https://api.purecipher.com/audio/embed' \\","-H 'accept: audio/opus' \\","-F 'cover_file=@cover.wav' \\","-F 'secret_file=@secret.txt' \\","--output watermarked.opus"]},"Python":{"summary":"Python","value":["import requests","files = {","    'cover_file': open('cover.wav', 'rb'),","    'secret_file': open('secret.txt', 'rb')","}","response = requests.post('https://api.purecipher.com/audio/embed', files=files)","with open('watermarked.opus', 'wb') as f:","    f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","const form = new FormData();","form.append('cover_file', fs.createReadStream('cover.wav'));","form.append('secret_file', fs.createReadStream('secret.txt'));","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/audio/embed',","    headers: form.getHeaders()","};","const req = https.request(options, (res) => {","    const fileStream = fs.createWriteStream('watermarked.opus');","    res.pipe(fileStream);","});","form.pipe(req);","req.on('error', (err) => {","    console.error(err);","});"]},"Go":{"summary":"Go","value":["package main;","import (","    \"bytes\"","    \"fmt\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","func main() {","    body := &bytes.Buffer{}","    writer := multipart.NewWriter(body)","    coverFile, _ := os.Open('cover.wav')","    defer coverFile.Close()","    part, _ := writer.CreateFormFile('cover_file', 'cover.wav')","    _, _ = io.Copy(part, coverFile)","    secretFile, _ := os.Open('secret.txt')","    defer secretFile.Close()","    part, _ = writer.CreateFormFile('secret_file', 'secret.txt')","    _, _ = io.Copy(part, secretFile)","    writer.Close()","    req, _ := http.NewRequest('POST', 'https://api.purecipher.com/audio/embed', body)","    req.Header.Set('Content-Type', writer.FormDataContentType())","    client := &http.Client{}","    resp, _ := client.Do(req)","    defer resp.Body.Close()","    outFile, _ := os.Create('watermarked.opus')","    defer outFile.Close()","    io.Copy(outFile, resp.Body)","    fmt.Println('Audio embedded successfully')","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.IO;","using System.Threading.Tasks;","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var form = new MultipartFormDataContent();","        var coverContent = new StreamContent(File.OpenRead('cover.wav'));","        form.Add(coverContent, 'cover_file', 'cover.wav');","        var secretContent = new StreamContent(File.OpenRead('secret.txt'));","        form.Add(secretContent, 'secret_file', 'secret.txt');","        var response = await client.PostAsync('https://api.purecipher.com/audio/embed', form);","        using (var fs = new FileStream('watermarked.opus', FileMode.Create)) {","            await response.Content.CopyToAsync(fs);","        }","        Console.WriteLine('Audio embedded successfully');","    }","}"]}}}}},"responses":{"200":{"description":"Audio file with embedded secret returned as a stream.","content":{"application/json":{"schema":{}},"audio/opus":{}}},"400":{"description":"Bad Request - Invalid Audio Format or Parameters","content":{"application/json":{"example":{"detail":"Invalid audio format."}}}},"500":{"description":"Internal Server Error - Embedding Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audio/verify":{"post":{"tags":["Audio"],"summary":"Verify Integrity Signal in Audio","description":"Analyzes the audio file for the presence of an embedded content. Returns the probability and metadata related to its detection, enabling authenticity or tamper checks.","operationId":"verify_watermark_api_v1_audio_verify_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_verify_watermark_api_v1_audio_verify_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST 'https://api.purecipher.com/audio/verify' \\","-H 'accept: application/json' \\","-F 'file=@watermarked.opus'"]},"Python":{"summary":"Python","value":["import requests","files = {'file': open('watermarked.opus', 'rb')}","response = requests.post('https://api.purecipher.com/audio/verify', files=files)","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","const form = new FormData();","form.append('file', fs.createReadStream('watermarked.opus'));","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/audio/verify',","    headers: form.getHeaders()","};","const req = https.request(options, (res) => {","    res.on('data', (d) => process.stdout.write(d));","});","form.pipe(req);","req.on('error', (err) => {","    console.error(err);","});"]},"Go":{"summary":"Go","value":["package main;","import (","    \"bytes\"","    \"fmt\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","func main() {","    body := &bytes.Buffer{}","    writer := multipart.NewWriter(body)","    file, _ := os.Open('watermarked.opus')","    defer file.Close()","    part, _ := writer.CreateFormFile('file', 'watermarked.opus')","    _, _ = io.Copy(part, file)","    writer.Close()","    req, _ := http.NewRequest('POST', 'https://api.purecipher.com/audio/verify', body)","    req.Header.Set('Content-Type', writer.FormDataContentType())","    client := &http.Client{}","    resp, _ := client.Do(req)","    defer resp.Body.Close()","    buf := new(bytes.Buffer)","    buf.ReadFrom(resp.Body)","    fmt.Println(buf.String())","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.IO;","using System.Threading.Tasks;","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var form = new MultipartFormDataContent();","        var fileContent = new StreamContent(File.OpenRead('watermarked.opus'));","        form.Add(fileContent, 'file', 'watermarked.opus');","        var response = await client.PostAsync('https://api.purecipher.com/audio/verify', form);","        Console.WriteLine(await response.Content.ReadAsStringAsync());","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Watermark detection result.","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request - Invalid Audio Format","content":{"application/json":{"example":{"detail":"Invalid audio format."}}}},"500":{"description":"Internal Server Error - Detection Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/audio/test-robustness":{"post":{"tags":["Audio"],"summary":"Evaluate Resilience of Embedded Data","description":"Applies various audio transformations (e.g., compression, pitch shift, noise) and checks whether embedded data remains detectable. Useful for testing real-world durability.","operationId":"test_robustness_api_v1_audio_test_robustness_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_test_robustness_api_v1_audio_test_robustness_post"}}},"required":true},"responses":{"200":{"description":"Robustness test results.","content":{"application/json":{"schema":{},"example":{"robustness_results":[{"transformation":"add_noise","watermark_probability":0.95,"status":"success"}]}}}},"400":{"description":"Bad Request - Invalid Audio Format","content":{"application/json":{"example":{"detail":"Invalid audio format."}}}},"500":{"description":"Internal Server Error - Robustness Test Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/audio/detect-removal":{"post":{"tags":["Audio"],"summary":"Detect Watermark Removal Attempts","description":"Analyzes an audio file for signs of watermark removal attempts or tampering. This endpoint helps identify if the audio has been subjected to common removal techniques.","operationId":"detect_removal_api_v1_audio_detect_removal_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_detect_removal_api_v1_audio_detect_removal_post"}}},"required":true},"responses":{"200":{"description":"Detection results returned as JSON","content":{"application/json":{"schema":{},"example":{"is_removed":false,"confidence":0.95,"tampering_techniques":[]}}}},"400":{"description":"Bad Request - Invalid Audio Format","content":{"application/json":{"example":{"detail":"Invalid audio format."}}}},"500":{"description":"Internal Server Error - Detection Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/audio/convert":{"post":{"tags":["Audio"],"summary":"Convert Audio Format","description":"Converts an audio file to a different format while preserving watermarks and metadata. Supports various input and output formats.","operationId":"convert_api_v1_audio_convert_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"target_format","in":"query","required":true,"schema":{"type":"string","description":"Target format (wav, mp3, ogg, opus, flac)","title":"Target Format"},"description":"Target format (wav, mp3, ogg, opus, flac)"},{"name":"bitrate","in":"query","required":false,"schema":{"type":"integer","description":"Target bitrate in bits per second","default":128000,"title":"Bitrate"},"description":"Target bitrate in bits per second"},{"name":"sample_rate","in":"query","required":false,"schema":{"type":"integer","description":"Target sample rate in Hz","title":"Sample Rate"},"description":"Target sample rate in Hz"},{"name":"channels","in":"query","required":false,"schema":{"type":"integer","description":"Target number of channels","title":"Channels"},"description":"Target number of channels"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_convert_api_v1_audio_convert_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST 'https://api.purecipher.com/audio/convert' \\","-H 'accept: audio/opus' \\","-F 'audio_file=@input.wav' \\","-F 'target_format=opus' \\","--output converted.opus"]}}}}},"responses":{"200":{"description":"Converted audio file returned as a stream","content":{"application/json":{"schema":{}},"audio/*":{}}},"400":{"description":"Bad Request - Invalid Format or Parameters","content":{"application/json":{"example":{"detail":"Invalid target format."}}}},"500":{"description":"Internal Server Error - Conversion Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audio/compress-audio":{"post":{"tags":["Audio"],"summary":"Compress Audio File","description":"Applies perceptual compression to an audio file while preserving watermarks and maintaining audio quality. Optimizes file size for distribution.","operationId":"compress_audio_api_v1_audio_compress_audio_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"bitrate","in":"query","required":false,"schema":{"type":"integer","description":"Target bitrate in bits per second","default":128000,"title":"Bitrate"},"description":"Target bitrate in bits per second"},{"name":"format","in":"query","required":false,"schema":{"type":"string","description":"Output format (mp3, ogg, opus)","default":"mp3","title":"Format"},"description":"Output format (mp3, ogg, opus)"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_compress_audio_api_v1_audio_compress_audio_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST 'https://api.purecipher.com/audio/compress-audio' \\","-H 'accept: audio/mp3' \\","-F 'audio_file=@input.wav' \\","-F 'bitrate=128000' \\","--output compressed.mp3"]}}}}},"responses":{"200":{"description":"Compressed audio file returned as a stream","content":{"application/json":{"schema":{}},"audio/*":{}}},"400":{"description":"Bad Request - Invalid Parameters","content":{"application/json":{"example":{"detail":"Invalid bitrate."}}}},"500":{"description":"Internal Server Error - Compression Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audio/retrieve":{"post":{"tags":["Audio"],"summary":"Retrieve Embedded Secret","description":"Extracts the embedded secret file from a watermarked audio file. Requires the original encryption key for decryption.","operationId":"retrieve_api_v1_audio_retrieve_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"encryption_key","in":"query","required":true,"schema":{"type":"string","description":"The encryption key used during embedding","title":"Encryption Key"},"description":"The encryption key used during embedding"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_retrieve_api_v1_audio_retrieve_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST 'https://api.purecipher.com/audio/retrieve' \\","-H 'accept: application/octet-stream' \\","-F 'audio_file=@watermarked.wav' \\","-F 'encryption_key=your_encryption_key' \\","--output retrieved_secret.txt"]}}}}},"responses":{"200":{"description":"Retrieved secret file returned as a stream","content":{"application/json":{"schema":{}},"application/octet-stream":{}}},"400":{"description":"Bad Request - Invalid Parameters","content":{"application/json":{"example":{"detail":"Invalid encryption key."}}}},"500":{"description":"Internal Server Error - Retrieval Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audio/remove":{"post":{"tags":["Audio"],"summary":"Remove Watermark","description":"Attempts to remove watermarks from an audio file. This endpoint is for testing and security analysis purposes only.","operationId":"remove_api_v1_audio_remove_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"method","in":"query","required":false,"schema":{"type":"string","description":"Removal method (filtering, noise, compression)","default":"filtering","title":"Method"},"description":"Removal method (filtering, noise, compression)"},{"name":"strength","in":"query","required":false,"schema":{"type":"number","description":"Removal strength (0.0 to 1.0)","default":0.5,"title":"Strength"},"description":"Removal strength (0.0 to 1.0)"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_remove_api_v1_audio_remove_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST 'https://api.purecipher.com/audio/remove' \\","-H 'accept: audio/wav' \\","-F 'audio_file=@watermarked.wav' \\","-F 'method=filtering' \\","--output cleaned.wav"]}}}}},"responses":{"200":{"description":"Audio file with removed watermark returned as a stream","content":{"application/json":{"schema":{}},"audio/*":{}}},"400":{"description":"Bad Request - Invalid Parameters","content":{"application/json":{"example":{"detail":"Invalid removal method."}}}},"500":{"description":"Internal Server Error - Removal Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audio/analyze":{"post":{"tags":["Audio"],"summary":"Analyze Audio File Details","description":"Provides comprehensive analysis of an audio file including technical specifications, spectral features, and temporal characteristics.","operationId":"analyze_audio_api_v1_audio_analyze_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_analyze_audio_api_v1_audio_analyze_post"}}},"required":true},"responses":{"200":{"description":"Detailed audio analysis results","content":{"application/json":{"schema":{},"example":{"basic_info":{"filename":"example.wav","duration":120.5,"sample_rate":44100,"channels":2,"bit_depth":16,"format":"WAV","file_size":123456,"total_samples":5314050.0,"max_amplitude":1.0,"rms_amplitude":0.707,"peak_to_peak":1.0},"spectral_features":{"spectral_flatness":{"mean":0.5,"std":0.1},"spectral_centroid":{"mean":2000,"std":500},"spectral_bandwidth":{"mean":2000,"std":500},"spectral_rolloff":{"mean":2000,"std":500},"mfcc":{"mean":0.5,"std":0.1}},"temporal_features":{"frame_energy":{"mean":0.7,"std":0.2,"consistency":0.8},"zero_crossing_rate":{"mean":0.3,"std":0.1},"onset_strength":{"mean":0.5,"std":0.1},"tempo":120.5,"dynamic_range":60.0,"crest_factor":4.5},"quality_metrics":{"signal_to_noise_ratio":45.0,"harmonic_ratio":0.8,"perceptual_entropy":0.3},"watermark_info":{"has_watermark":true,"confidence":0.95,"watermark_type":"standard","detection_timestamp":"2024-04-01T12:00:00","detection_method":"audioseal_detector"}}}}},"400":{"description":"Bad Request - Invalid Audio Format","content":{"application/json":{"example":{"detail":"Invalid audio format."}}}},"500":{"description":"Internal Server Error - Analysis Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/video/embed":{"post":{"tags":["Video"],"summary":"Embed Secret File into a Video Container","description":"Embeds a confidential file within the video stream without affecting its perceptual quality. Supports sectional insertion, redundancy, and post-processing compression for secure delivery.","operationId":"embed_watermark_api_v1_video_embed_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_frame","in":"query","required":false,"schema":{"type":"integer","description":"Start frame for sectional embedding","title":"Start Frame"},"description":"Start frame for sectional embedding"},{"name":"end_frame","in":"query","required":false,"schema":{"type":"integer","description":"End frame for sectional embedding","title":"End Frame"},"description":"End frame for sectional embedding"},{"name":"redundant","in":"query","required":false,"schema":{"type":"boolean","description":"Whether to include secret file multiple times","default":false,"title":"Redundant"},"description":"Whether to include secret file multiple times"},{"name":"optimize_compression","in":"query","required":false,"schema":{"type":"boolean","description":"Whether to apply perceptual compression optimization","default":true,"title":"Optimize Compression"},"description":"Whether to apply perceptual compression optimization"},{"name":"compression_bitrate","in":"query","required":false,"schema":{"type":"integer","description":"Target bitrate for compression in bits per second","default":8000000,"title":"Compression Bitrate"},"description":"Target bitrate for compression in bits per second"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_embed_watermark_api_v1_video_embed_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST 'https://api.purecipher.com/video/embed' \\","-H 'accept: video/mp4' \\","-F 'cover_file=@cover.mp4' \\","-F 'secret_file=@secret.txt' \\","--output watermarked.mp4"]},"Python":{"summary":"Python","value":["import requests","files = {","    'cover_file': open('cover.mp4', 'rb'),","    'secret_file': open('secret.txt', 'rb')","}","response = requests.post('https://api.purecipher.com/video/embed', files=files)","with open('watermarked.mp4', 'wb') as f:","    f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","const form = new FormData();","form.append('cover_file', fs.createReadStream('cover.mp4'));","form.append('secret_file', fs.createReadStream('secret.txt'));","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/video/embed',","    headers: form.getHeaders()","};","const req = https.request(options, (res) => {","    const fileStream = fs.createWriteStream('watermarked.mp4');","    res.pipe(fileStream);","});","form.pipe(req);","req.on('error', (err) => {","    console.error(err);","});"]},"Go":{"summary":"Go","value":["package main;","import (","    \"bytes\"","    \"fmt\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","func main() {","    body := &bytes.Buffer{}","    writer := multipart.NewWriter(body)","    coverFile, _ := os.Open('cover.mp4')","    defer coverFile.Close()","    part, _ := writer.CreateFormFile('cover_file', 'cover.mp4')","    _, _ = io.Copy(part, coverFile)","    secretFile, _ := os.Open('secret.txt')","    defer secretFile.Close()","    part, _ = writer.CreateFormFile('secret_file', 'secret.txt')","    _, _ = io.Copy(part, secretFile)","    writer.Close()","    req, _ := http.NewRequest('POST', 'https://api.purecipher.com/video/embed', body)","    req.Header.Set('Content-Type', writer.FormDataContentType())","    client := &http.Client{}","    resp, _ := client.Do(req)","    defer resp.Body.Close()","    outFile, _ := os.Create('watermarked.mp4')","    defer outFile.Close()","    io.Copy(outFile, resp.Body)","    fmt.Println('Video embedded successfully')","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.IO;","using System.Threading.Tasks;","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var form = new MultipartFormDataContent();","        var coverContent = new StreamContent(File.OpenRead('cover.mp4'));","        form.Add(coverContent, 'cover_file', 'cover.mp4');","        var secretContent = new StreamContent(File.OpenRead('secret.txt'));","        form.Add(secretContent, 'secret_file', 'secret.txt');","        var response = await client.PostAsync('https://api.purecipher.com/video/embed', form);","        using (var fs = new FileStream('watermarked.mp4', FileMode.Create)) {","            await response.Content.CopyToAsync(fs);","        }","        Console.WriteLine('Video embedded successfully');","    }","}"]}}}}},"responses":{"200":{"description":"Video file with embedded secret returned as a stream.","content":{"application/json":{"schema":{}},"video/mp4":{"example":"<binary mp4 data>"}}},"400":{"description":"Bad Request - Invalid Video Format or Parameters","content":{"application/json":{"example":{"detail":"Invalid video format."}}}},"500":{"description":"Internal Server Error - Embedding Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/verify":{"post":{"tags":["Video"],"summary":"Verify Embedded Signal in Video","description":"Analyzes the video to detect the presence of an embedded content. Useful for checking authenticity or detecting tampering of the video stream.","operationId":"verify_watermark_api_v1_video_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectRequest"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST 'https://api.purecipher.com/video/verify' \\ ","-H 'accept: application/json' \\ ","-F 'file=@watermarked.mp4'"]},"Python":{"summary":"Python","value":["import requests","files = {'file': open('watermarked.mp4', 'rb')}","response = requests.post('https://api.purecipher.com/video/verify', files=files)","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","const form = new FormData();","form.append('file', fs.createReadStream('watermarked.mp4'));","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/video/verify',","    headers: form.getHeaders()","};","const req = https.request(options, (res) => {","    res.on('data', (d) => process.stdout.write(d));","});","form.pipe(req);","req.on('error', (err) => {","    console.error(err);","});"]},"Go":{"summary":"Go","value":["package main;","import (","    \"bytes\"","    \"fmt\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","func main() {","    body := &bytes.Buffer{}","    writer := multipart.NewWriter(body)","    file, _ := os.Open('watermarked.mp4')","    defer file.Close()","    part, _ := writer.CreateFormFile('file', 'watermarked.mp4')","    _, _ = io.Copy(part, file)","    writer.Close()","    req, _ := http.NewRequest('POST', 'https://api.purecipher.com/video/verify', body)","    req.Header.Set('Content-Type', writer.FormDataContentType())","    client := &http.Client{}","    resp, _ := client.Do(req)","    defer resp.Body.Close()","    buf := new(bytes.Buffer)","    buf.ReadFrom(resp.Body)","    fmt.Println(buf.String())","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.IO;","using System.Threading.Tasks;","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var form = new MultipartFormDataContent();","        var fileContent = new StreamContent(File.OpenRead('watermarked.mp4'));","        form.Add(fileContent, 'file', 'watermarked.mp4');","        var response = await client.PostAsync('https://api.purecipher.com/video/verify', form);","        Console.WriteLine(await response.Content.ReadAsStringAsync());","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Watermark detection result.","content":{"application/json":{"schema":{},"example":{"watermark_probability":0.95,"timestamp":"2024-04-01T12:00:00"}}}},"400":{"description":"Bad Request - Invalid Video Format","content":{"application/json":{"example":{"detail":"Invalid video format."}}}},"500":{"description":"Internal Server Error - Detection Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/video/retrieve":{"post":{"tags":["Video"],"summary":"Extract Embedded content from Video","description":"Extracts the embedded content from the video stream, returning the binary content for inspection or validation.","operationId":"retrieve_watermark_api_v1_video_retrieve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/video/convert":{"post":{"tags":["Video"],"summary":"Convert Video Format","description":"Converts the uploaded video to a target format (e.g., MP4), maintaining resolution and visual fidelity.","operationId":"convert_video_api_v1_video_convert_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvertRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/video/test-robustness":{"post":{"tags":["Video"],"summary":"Evaluate Signal Robustness in Video","description":"Applies various transformations (e.g., noise, pitch shift) to test if the embedded signal remains detectable under typical video processing scenarios.","operationId":"test_robustness_api_v1_video_test_robustness_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_test_robustness_api_v1_video_test_robustness_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/video/detect-removal":{"post":{"tags":["Video"],"summary":"Detect Signal Tampering in Video","description":"Checks whether embedded signals have been altered or removed. Useful for forensic analysis or video authenticity checks.","operationId":"detect_removal_api_v1_video_detect_removal_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"threshold","in":"query","required":false,"schema":{"type":"number","description":"Detection threshold (0.0 to 1.0)","default":0.5,"title":"Threshold"},"description":"Detection threshold (0.0 to 1.0)"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_detect_removal_api_v1_video_detect_removal_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/compress-video":{"post":{"tags":["Video"],"summary":"Compress Video for Efficient Delivery","description":"Applies perceptual compression to reduce file size while retaining embedded content and visual integrity.","operationId":"compress_video_api_v1_video_compress_video_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"bitrate","in":"query","required":false,"schema":{"type":"integer","description":"Target bitrate for compression in bits per second","default":8000000,"title":"Bitrate"},"description":"Target bitrate for compression in bits per second"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_compress_video_api_v1_video_compress_video_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/remove":{"post":{"tags":["Video"],"summary":"Remove Embedded Content from Video","description":"Attempts to clean embedded content from the video file, restoring it to its original form while maintaining visual quality.","operationId":"remove_watermark_api_v1_video_remove_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_remove_watermark_api_v1_video_remove_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/video/analyze":{"post":{"tags":["Video"],"summary":"Analyze Video File Details","description":"Provides comprehensive analysis of a video file including technical specifications, visual features, motion characteristics, and watermark detection.","operationId":"analyze_video_api_v1_video_analyze_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_analyze_video_api_v1_video_analyze_post"}}},"required":true},"responses":{"200":{"description":"Detailed video analysis results","content":{"application/json":{"schema":{},"example":{"basic_info":{"filename":"example.mp4","duration":120.5,"frame_rate":30.0,"resolution":"1920x1080","total_frames":3615,"format":"MP4","file_size":123456789,"bitrate":8000000,"codec":"h264","audio_codec":"aac","audio_channels":2,"audio_sample_rate":44100},"visual_features":{"brightness":{"mean":0.65,"std":0.15},"contrast":{"mean":0.75,"std":0.1},"color_distribution":{"red":{"mean":0.4,"std":0.1},"green":{"mean":0.4,"std":0.1},"blue":{"mean":0.4,"std":0.1}},"edge_density":{"mean":0.3,"std":0.05},"texture_complexity":{"mean":0.6,"std":0.1}},"motion_features":{"motion_vectors":{"mean_magnitude":2.5,"std_magnitude":1.2,"dominant_direction":45.0},"scene_changes":{"total_count":15,"average_interval":8.0,"detection_confidence":0.85},"optical_flow":{"mean_flow":1.5,"std_flow":0.8,"flow_consistency":0.7}},"quality_metrics":{"psnr":35.5,"ssim":0.95,"blockiness":0.02,"blurriness":0.05,"noise_level":0.03},"watermark_info":{"has_watermark":true,"confidence":0.95,"watermark_type":"standard","detection_timestamp":"2024-04-01T12:00:00","detection_method":"videoseal_detector"}}}}},"400":{"description":"Bad Request - Invalid Video Format","content":{"application/json":{"example":{"detail":"Invalid video format."}}}},"500":{"description":"Internal Server Error - Analysis Failure","content":{"application/json":{"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/register":{"post":{"tags":["Registration"],"summary":"Register a New User","description":"Registers a user with the provided details, generates an OTP, and sends it to the user's email.","operationId":"register_user_api_v1_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationInfo"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/register\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"first_name\": \"John\", \"last_name\": \"Doe\", \"email\": \"john.doe@example.com\", \"password\": \"securepassword123\"}'"]},"Python":{"summary":"Python Example","value":["import requests","response = requests.post(\"https://api.purecipher.com/register\", json={","    \"first_name\": \"John\",","    \"last_name\": \"Doe\",","    \"email\": \"john.doe@example.com\",","    \"password\": \"securepassword123\"","})","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const https = require('https');","const data = JSON.stringify({","  first_name: \"John\",","  last_name: \"Doe\",","  email: \"john.doe@example.com\",","  password: \"securepassword123\"","});","","const options = {","  hostname: 'api.purecipher.com',","  port: 443,","  path: '/register',","  method: 'POST',","  headers: {","    'Content-Type': 'application/json',","    'Content-Length': data.length","  }","};","","const req = https.request(options, (res) => {","  let data = '';","  res.on('data', (chunk) => { data += chunk; });","  res.on('end', () => { console.log(JSON.parse(data)); });","});","","req.on('error', (e) => { console.error(e); });","req.write(data);","req.end();"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.io.BufferedReader;","import java.io.InputStreamReader;","","public class RegisterUser {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/register\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setRequestProperty(\"Content-Type\", \"application/json\");","","        String jsonInputString = \"{\"first_name\": \"John\", \"last_name\": \"Doe\", \"email\": \"john.doe@example.com\", \"password\": \"securepassword123\"}\";","","        conn.setDoOutput(true);","        try(OutputStream os = conn.getOutputStream()) {","            byte[] input = jsonInputString.getBytes(\"utf-8\");","            os.write(input, 0, input.length);","        }","","        BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"utf-8\"));","        StringBuilder response = new StringBuilder();","        String responseLine;","        while ((responseLine = br.readLine()) != null) {","            response.append(responseLine.trim());","        }","        System.out.println(response.toString());","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    url := \"https://api.purecipher.com/register\"","    user := map[string]string{","        \"first_name\": \"John\",","        \"last_name\": \"Doe\",","        \"email\": \"john.doe@example.com\",","        \"password\": \"securepassword123\"","    }","    jsonValue, _ := json.Marshal(user)","    resp, err := http.Post(url, \"application/json\", bytes.NewBuffer(jsonValue))","    if err != nil {","        panic(err)","    }","    defer resp.Body.Close()","    var result map[string]interface{}","    json.NewDecoder(resp.Body).Decode(&result)","    fmt.Println(result)","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var json = \"{\"first_name\": \"John\", \"last_name\": \"Doe\", \"email\": \"john.doe@example.com\", \"password\": \"securepassword123\"}\";","        var content = new StringContent(json, Encoding.UTF8, \"application/json\");","        var response = await client.PostAsync(\"https://api.purecipher.com/register\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"User registration initiated successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationResponseModel"}}}},"409":{"description":"User with this email already exists.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"A user already exists with this email"}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during registration"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/verify-otp":{"post":{"tags":["Registration"],"summary":"Verify OTP and Register User","description":"Verifies the provided OTP, completes the user registration, and returns the API token.","operationId":"verify_otp_api_v1_verify_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__xregister__OTPVerification"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/verify-otp\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"email\": \"john.doe@example.com\", \"otp_value\": \"123456\"}'"]},"Python":{"summary":"Python Example","value":["import requests;","response = requests.post(\"https://api.purecipher.com/verify-otp\", json={","    \"email\": \"john.doe@example.com\",","    \"otp_value\": \"123456\"","});","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const https = require('https');","const data = JSON.stringify({","  email: \"john.doe@example.com\",","  otp_value: \"123456\"","});","","const options = {","  hostname: 'api.purecipher.com',","  port: 443,","  path: '/verify-otp',","  method: 'POST',","  headers: {","    'Content-Type': 'application/json',","    'Content-Length': data.length","  }","};","","const req = https.request(options, (res) => {","  let data = '';","  res.on('data', (chunk) => { data += chunk; });","  res.on('end', () => { console.log(JSON.parse(data)); });","});","","req.on('error', (e) => { console.error(e); });","req.write(data);","req.end();"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.io.BufferedReader;","import java.io.InputStreamReader;","","public class VerifyOTP {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/verify-otp\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setRequestProperty(\"Content-Type\", \"application/json\");","","        String jsonInputString = \"{\"email\": \"john.doe@example.com\", \"otp_value\": \"123456\"}\";","","        conn.setDoOutput(true);","        try(OutputStream os = conn.getOutputStream()) {","            byte[] input = jsonInputString.getBytes(\"utf-8\");","            os.write(input, 0, input.length);","        }","","        BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"utf-8\"));","        StringBuilder response = new StringBuilder();","        String responseLine;","        while ((responseLine = br.readLine()) != null) {","            response.append(responseLine.trim());","        }","        System.out.println(response.toString());","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    url := \"https://api.purecipher.com/verify-otp\";","    otpData := map[string]string{\"email\": \"john.doe@example.com\", \"otp_value\": \"123456\"};","    jsonValue, _ := json.Marshal(otpData);","    resp, err := http.Post(url, \"application/json\", bytes.NewBuffer(jsonValue));","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","    var result map[string]interface{};","    json.NewDecoder(resp.Body).Decode(&result);","    fmt.Println(result);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var json = \"{\"email\": \"john.doe@example.com\", \"otp_value\": \"123456\"}\";","        var content = new StringContent(json, Encoding.UTF8, \"application/json\");","        var response = await client.PostAsync(\"https://api.purecipher.com/verify-otp\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"OTP verified and user registered successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTPVerificationResponseModel"}}}},"400":{"description":"Invalid or expired OTP.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid or expired OTP."}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during OTP verification"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/resend-otp":{"post":{"tags":["Registration"],"summary":"Resend OTP","description":"Resends the OTP to the user's email.","operationId":"resend_otp_api_v1_resend_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__xregister__ResendOTP"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/resend-otp\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"email\": \"john.doe@example.com\"}'"]},"Python":{"summary":"Python Example","value":["import requests;","response = requests.post(\"https://api.purecipher.com/resend-otp\", json={","    \"email\": \"john.doe@example.com\"","});","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const https = require('https');","const data = JSON.stringify({","  email: \"john.doe@example.com\"","});","","const options = {","  hostname: 'api.purecipher.com',","  port: 443,","  path: '/resend-otp',","  method: 'POST',","  headers: {","    'Content-Type': 'application/json',","    'Content-Length': data.length","  }","};","","const req = https.request(options, (res) => {","  let data = '';","  res.on('data', (chunk) => { data += chunk; });","  res.on('end', () => { console.log(JSON.parse(data)); });","});","","req.on('error', (e) => { console.error(e); });","req.write(data);","req.end();"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.io.BufferedReader;","import java.io.InputStreamReader;","","public class ResendOTP {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/resend-otp\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setRequestProperty(\"Content-Type\", \"application/json\");","","        String jsonInputString = \"{\"email\": \"john.doe@example.com\"}\";","","        conn.setDoOutput(true);","        try(OutputStream os = conn.getOutputStream()) {","            byte[] input = jsonInputString.getBytes(\"utf-8\");","            os.write(input, 0, input.length);","        }","","        BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"utf-8\"));","        StringBuilder response = new StringBuilder();","        String responseLine;","        while ((responseLine = br.readLine()) != null) {","            response.append(responseLine.trim());","        }","        System.out.println(response.toString());","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    url := \"https://api.purecipher.com/resend-otp\";","    otpData := map[string]string{\"email\": \"john.doe@example.com\"};","    jsonValue, _ := json.Marshal(otpData);","    resp, err := http.Post(url, \"application/json\", bytes.NewBuffer(jsonValue));","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","    var result map[string]interface{};","    json.NewDecoder(resp.Body).Decode(&result);","    fmt.Println(result);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var json = \"{\"email\": \"john.doe@example.com\"}\";","        var content = new StringContent(json, Encoding.UTF8, \"application/json\");","        var response = await client.PostAsync(\"https://api.purecipher.com/resend-otp\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"OTP resent successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendOTPResponseModel"}}}},"400":{"description":"User not found for the provided email.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"User not found"}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during OTP resend"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ready":{"get":{"tags":["Health and Readiness"],"summary":"Readiness Check","description":"Checks the readiness status of the service, ensuring the application is ready to handle requests.","operationId":"readiness_check_api_v1_ready_get","responses":{"200":{"description":"Successful Readiness Check","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","title":"Status"},"details":{"type":"object","title":"Details","default":{}}},"type":"object","required":["status"],"title":"HealthCheckResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","title":"Status"},"details":{"type":"object","title":"Details","default":{}}},"type":"object","required":["status"],"title":"HealthCheckResponse"},"example":{"status":"not ready","reason":"Application not initialized"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","title":"Status"},"details":{"type":"object","title":"Details","default":{}}},"type":"object","required":["status"],"title":"HealthCheckResponse"},"example":{"status":"not ready","reason":"Database connection failed"}}}}}}},"/api/v1/health":{"get":{"tags":["Health and Readiness"],"summary":"Health Check","description":"Checks the current health status of the service by monitoring CPU usage, memory, database connectivity, and other external services like email.","operationId":"health_check_api_v1_health_get","responses":{"200":{"description":"Successful Health Check","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthCheckResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","title":"Status"},"details":{"type":"object","title":"Details","default":{}}},"type":"object","required":["status"],"title":"HealthCheckResponse"},"example":{"status":"unhealthy","details":{"cpu_overload":"High CPU usage","memory_overload":"Low available memory","external_service":"Email service disconnected"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"status":{"type":"string","title":"Status"},"details":{"type":"object","title":"Details","default":{}}},"type":"object","required":["status"],"title":"HealthCheckResponse"},"example":{"status":"unhealthy","details":{"database":"disconnected","error":"Error message here"}}}}}}}},"/api/v1/reversible/image-image/hide":{"post":{"tags":["Experimental","Staganography"],"summary":"Embed a Secret Image within a Cover Image","description":"Endpoint to embed a secret image into a cover image using reversible steganography.\nThe resulting stego image is returned as a stream.\n\nParameters:\n    cover_image (UploadFile): The cover image file.\n    secret_image (UploadFile): The secret image file to be embedded.\n    user (dict): User context from dependency injection, used for logging.\n\nReturns:\n    StreamingResponse: The stego image as a byte stream.","operationId":"hide_image_api_v1_reversible_image_image_hide_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_hide_image_api_v1_reversible_image_image_hide_post"}}},"required":true},"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/reversible/image-image/reveal":{"post":{"tags":["Experimental","Staganography"],"summary":"Reveal the Secret Image from an Embedded Image","description":"Endpoint to reveal the secret image from an embedded image and restore the original cover image.\nThe restored cover image is returned as a stream.\n\nParameters:\n    embedded_image_file (UploadFile): The file containing the embedded (stego) image.\n    user (dict): User context from dependency injection, used for logging.\n\nReturns:\n    StreamingResponse: The restored cover image as a byte stream.","operationId":"reveal_image_api_v1_reversible_image_image_reveal_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_reveal_image_api_v1_reversible_image_image_reveal_post"}}},"required":true},"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/reversible/image-image/remove":{"post":{"tags":["Experimental","Staganography"],"summary":"Remove Secret Image from Cover Image","description":"Endpoint to remove the secret image from the stego image and restore the original cover image.\nThe restored cover image is returned as a stream.\n\nParameters:\n    request (RevealImageRequest): The request containing the stego image.\n    user (dict): User context from dependency injection, used for logging.\n\nReturns:\n    StreamingResponse: The restored cover image as a byte stream.","operationId":"remove_secret_image_api_v1_reversible_image_image_remove_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealImageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/unified/embed":{"post":{"tags":["Unified API"],"summary":"Embed a secret file within a cover file","description":"Embeds a secret file within a cover file using the provided private seed.","operationId":"conceal_endpoint_api_v1_unified_embed_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConcealRequest"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/unified/embed\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"cover_file_base64\": \"<cover_file_base64>\", \"cover_file_name\": \"cover.pdf\", \"secret_file_base64\": \"<secret_file_base64>\", \"secret_file_name\": \"secret.pdf\", \"private_seed\": \"<private_seed>\"}'"]},"Python":{"summary":"Python Example","value":["import requests;","data = {","    'cover_file_base64': '<cover_file_base64>',","    'cover_file_name': 'cover.pdf',","    'secret_file_base64': '<secret_file_base64>',","    'secret_file_name': 'secret.pdf',","    'private_seed': '<private_seed>'","};","response = requests.post(\"https://api.purecipher.com/unified/embed\", json=data);","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js) Example","value":["const https = require('https');","const data = JSON.stringify({","    cover_file_base64: '<cover_file_base64>',","    cover_file_name: 'cover.pdf',","    secret_file_base64: '<secret_file_base64>',","    secret_file_name: 'secret.pdf',","    private_seed: '<private_seed>'","});","","const options = {","    hostname: 'api.purecipher.com',","    port: 443,","    path: '/unified/embed',","    method: 'POST',","    headers: {","        'Content-Type': 'application/json',","        'Content-Length': data.length","    }","};","","const req = https.request(options, (res) => {","    let responseData = '';","    res.on('data', (chunk) => { responseData += chunk; });","    res.on('end', () => { console.log(JSON.parse(responseData)); });","});","req.write(data);","req.end();"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.io.InputStreamReader;","import java.io.BufferedReader;","","public class EmbedSecretFile {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/unified/embed\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"application/json\");","","        String jsonInputString = \"{\\\"cover_file_base64\\\": \\\"<cover_file_base64>\\\", \\\"cover_file_name\\\": \\\"cover.pdf\\\", \\\"secret_file_base64\\\": \\\"<secret_file_base64>\\\", \\\"secret_file_name\\\": \\\"secret.pdf\\\", \\\"private_seed\\\": \\\"<private_seed>\\\"}\";","","        try (OutputStream os = conn.getOutputStream()) {","            byte[] input = jsonInputString.getBytes(\"utf-8\");","            os.write(input, 0, input.length);","        }","","        try (BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"utf-8\"))) {","            StringBuilder response = new StringBuilder();","            String responseLine;","            while ((responseLine = br.readLine()) != null) {","                response.append(responseLine.trim());","            }","            System.out.println(response.toString());","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    url := \"https://api.purecipher.com/unified/embed\";","    data := map[string]string{","        \"cover_file_base64\": \"<cover_file_base64>\",","        \"cover_file_name\": \"cover.pdf\",","        \"secret_file_base64\": \"<secret_file_base64>\",","        \"secret_file_name\": \"secret.pdf\",","        \"private_seed\": \"<private_seed>\"","    };","    jsonData, _ := json.Marshal(data);","","    resp, err := http.Post(url, \"application/json\", bytes.NewBuffer(jsonData));","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    var result map[string]interface{};","    json.NewDecoder(resp.Body).Decode(&result);","    fmt.Println(result);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var json = \"{\"cover_file_base64\": \"<cover_file_base64>\", \"cover_file_name\": \"cover.pdf\", \"secret_file_base64\": \"<secret_file_base64>\", \"secret_file_name\": \"secret.pdf\", \"private_seed\": \"<private_seed>\"}\";","        var content = new StringContent(json, Encoding.UTF8, \"application/json\");","        var response = await client.PostAsync(\"https://api.purecipher.com/unified/embed\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"File concealed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConcealResponse","properties":{"result":{"type":"object","title":"Result"}},"type":"object","required":["result"],"title":"ConcealResponse"}}}},"400":{"description":"Bad Request - An error occurred during concealment.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid input data."}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during concealment."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/unified/retrieve":{"post":{"tags":["Unified API"],"summary":"Retrieve a hidden secret file from a sealed file","description":"Retrieves a hidden secret file from a sealed file using the provided private seed.","operationId":"reveal_endpoint_api_v1_unified_retrieve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealRequest"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/unified/retrieve\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"sealed_file_base64\": \"<sealed_file_base64>\", \"sealed_file_name\": \"sealed.pdf\", \"private_seed\": \"<private_seed>\"}'"]},"Python":{"summary":"Python Example","value":["import requests;","data = {","    'sealed_file_base64': '<sealed_file_base64>',","    'sealed_file_name': 'sealed.pdf',","    'private_seed': '<private_seed>'","};","response = requests.post(\"https://api.purecipher.com/unified/retrieve\", json=data);","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js) Example","value":["const https = require('https');","const data = JSON.stringify({","    sealed_file_base64: '<sealed_file_base64>',","    sealed_file_name: 'sealed.pdf',","    private_seed: '<private_seed>'","});","","const options = {","    hostname: 'api.purecipher.com',","    port: 443,","    path: '/unified/retrieve',","    method: 'POST',","    headers: {","        'Content-Type': 'application/json',","        'Content-Length': data.length","    }","};","","const req = https.request(options, (res) => {","    let responseData = '';","    res.on('data', (chunk) => { responseData += chunk; });","    res.on('end', () => { console.log(JSON.parse(responseData)); });","});","req.write(data);","req.end();"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.io.InputStreamReader;","import java.io.BufferedReader;","","public class RetrieveSecretFile {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/unified/retrieve\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"application/json\");","","        String jsonInputString = \"{\\\"sealed_file_base64\\\": \\\"<sealed_file_base64>\\\", \\\"sealed_file_name\\\": \\\"sealed.pdf\\\", \\\"private_seed\\\": \\\"<private_seed>\\\"}\";","","        try (OutputStream os = conn.getOutputStream()) {","            byte[] input = jsonInputString.getBytes(\"utf-8\");","            os.write(input, 0, input.length);","        }","","        try (BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"utf-8\"))) {","            StringBuilder response = new StringBuilder();","            String responseLine;","            while ((responseLine = br.readLine()) != null) {","                response.append(responseLine.trim());","            }","            System.out.println(response.toString());","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    url := \"https://api.purecipher.com/unified/retrieve\";","    data := map[string]string{","        \"sealed_file_base64\": \"<sealed_file_base64>\",","        \"sealed_file_name\": \"sealed.pdf\",","        \"private_seed\": \"<private_seed>\"","    };","    jsonData, _ := json.Marshal(data);","","    resp, err := http.Post(url, \"application/json\", bytes.NewBuffer(jsonData));","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    var result map[string]interface{};","    json.NewDecoder(resp.Body).Decode(&result);","    fmt.Println(result);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var json = \"{\"sealed_file_base64\": \"<sealed_file_base64>\", \"sealed_file_name\": \"sealed.pdf\", \"private_seed\": \"<private_seed>\"}\";","        var content = new StringContent(json, Encoding.UTF8, \"application/json\");","        var response = await client.PostAsync(\"https://api.purecipher.com/unified/retrieve\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Secret file retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealResponse","properties":{"result":{"type":"object","title":"Result"},"verification_result":{"type":"object","title":"Verification Result"}},"type":"object","required":["result","verification_result"],"title":"RevealResponse"}}}},"400":{"description":"Bad Request - An error occurred during retrieval.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid input data."}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during retrieval."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/unified/verify":{"post":{"tags":["Unified API"],"summary":"Verify the integrity of a sealed file","description":"Verifies the integrity of a sealed file using the provided file and name.","operationId":"verify_endpoint_api_v1_unified_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/unified/verify\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"sealed_file_base64\": \"<sealed_file_base64>\", \"sealed_file_name\": \"sealed.pdf\"}'"]},"Python":{"summary":"Python Example","value":["import requests;","data = {","    'sealed_file_base64': '<sealed_file_base64>',","    'sealed_file_name': 'sealed.pdf'","};","response = requests.post(\"https://api.purecipher.com/unified/verify\", json=data);","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js) Example","value":["const https = require('https');","const data = JSON.stringify({","    sealed_file_base64: '<sealed_file_base64>',","    sealed_file_name: 'sealed.pdf'","});","","const options = {","    hostname: 'api.purecipher.com',","    port: 443,","    path: '/unified/verify',","    method: 'POST',","    headers: {","        'Content-Type': 'application/json',","        'Content-Length': data.length","    }","};","","const req = https.request(options, (res) => {","    let responseData = '';","    res.on('data', (chunk) => { responseData += chunk; });","    res.on('end', () => { console.log(JSON.parse(responseData)); });","});","req.write(data);","req.end();"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.io.InputStreamReader;","import java.io.BufferedReader;","","public class VerifySealedFile {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/unified/verify\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"application/json\");","","        String jsonInputString = \"{\\\"sealed_file_base64\\\": \\\"<sealed_file_base64>\\\", \\\"sealed_file_name\\\": \\\"sealed.pdf\\\"}\";","","        try (OutputStream os = conn.getOutputStream()) {","            byte[] input = jsonInputString.getBytes(\"utf-8\");","            os.write(input, 0, input.length);","        }","","        try (BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"utf-8\"))) {","            StringBuilder response = new StringBuilder();","            String responseLine;","            while ((responseLine = br.readLine()) != null) {","                response.append(responseLine.trim());","            }","            System.out.println(response.toString());","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    url := \"https://api.purecipher.com/unified/verify\";","    data := map[string]string{","        \"sealed_file_base64\": \"<sealed_file_base64>\",","        \"sealed_file_name\": \"sealed.pdf\"","    };","    jsonData, _ := json.Marshal(data);","","    resp, err := http.Post(url, \"application/json\", bytes.NewBuffer(jsonData));","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    var result map[string]interface{};","    json.NewDecoder(resp.Body).Decode(&result);","    fmt.Println(result);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var json = \"{\"sealed_file_base64\": \"<sealed_file_base64>\", \"sealed_file_name\": \"sealed.pdf\"}\";","        var content = new StringContent(json, Encoding.UTF8, \"application/json\");","        var response = await client.PostAsync(\"https://api.purecipher.com/unified/verify\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"File verification successful.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponse","properties":{"result":{"type":"object","title":"Result"}},"type":"object","required":["result"],"title":"VerifyResponse"}}}},"400":{"description":"Bad Request - An error occurred during verification.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid input data."}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during verification."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/unified/remove":{"post":{"tags":["Unified API"],"summary":"Remove the embedded secret from a sealed file","description":"Removes the embedded secret from a sealed file using the provided file and private seed.","operationId":"remove_endpoint_api_v1_unified_remove_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveRequest"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/unified/remove\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"sealed_file_base64\": \"<sealed_file_base64>\", \"sealed_file_name\": \"sealed.pdf\", \"private_seed\": \"<private_seed>\"}'"]},"Python":{"summary":"Python Example","value":["import requests;","data = {","    'sealed_file_base64': '<sealed_file_base64>',","    'sealed_file_name': 'sealed.pdf',","    'private_seed': '<private_seed>'","};","response = requests.post(\"https://api.purecipher.com/unified/remove\", json=data);","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js) Example","value":["const https = require('https');","const data = JSON.stringify({","    sealed_file_base64: '<sealed_file_base64>',","    sealed_file_name: 'sealed.pdf',","    private_seed: '<private_seed>'","});","","const options = {","    hostname: 'api.purecipher.com',","    port: 443,","    path: '/unified/remove',","    method: 'POST',","    headers: {","        'Content-Type': 'application/json',","        'Content-Length': data.length","    }","};","","const req = https.request(options, (res) => {","    let responseData = '';","    res.on('data', (chunk) => { responseData += chunk; });","    res.on('end', () => { console.log(JSON.parse(responseData)); });","});","req.write(data);","req.end();"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.io.InputStreamReader;","import java.io.BufferedReader;","","public class RemoveSecretFile {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/unified/remove\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"application/json\");","","        String jsonInputString = \"{\\\"sealed_file_base64\\\": \\\"<sealed_file_base64>\\\", \\\"sealed_file_name\\\": \\\"sealed.pdf\\\", \\\"private_seed\\\": \\\"<private_seed>\\\"}\";","","        try (OutputStream os = conn.getOutputStream()) {","            byte[] input = jsonInputString.getBytes(\"utf-8\");","            os.write(input, 0, input.length);","        }","","        try (BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"utf-8\"))) {","            StringBuilder response = new StringBuilder();","            String responseLine;","            while ((responseLine = br.readLine()) != null) {","                response.append(responseLine.trim());","            }","            System.out.println(response.toString());","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    url := \"https://api.purecipher.com/unified/remove\";","    data := map[string]string{","        \"sealed_file_base64\": \"<sealed_file_base64>\",","        \"sealed_file_name\": \"sealed.pdf\",","        \"private_seed\": \"<private_seed>\"","    };","    jsonData, _ := json.Marshal(data);","","    resp, err := http.Post(url, \"application/json\", bytes.NewBuffer(jsonData));","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    var result map[string]interface{};","    json.NewDecoder(resp.Body).Decode(&result);","    fmt.Println(result);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var json = \"{\"sealed_file_base64\": \"<sealed_file_base64>\", \"sealed_file_name\": \"sealed.pdf\", \"private_seed\": \"<private_seed>\"}\";","        var content = new StringContent(json, Encoding.UTF8, \"application/json\");","        var response = await client.PostAsync(\"https://api.purecipher.com/unified/remove\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Secret file removed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveResponse","properties":{"result":{"type":"object","title":"Result"}},"type":"object","required":["result"],"title":"RemoveResponse"}}}},"400":{"description":"Bad Request - An error occurred during removal.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid input data."}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during removal."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/unified/embed-file":{"post":{"tags":["Unified API"],"summary":"Embed a secret file within a cover file using file uploads","description":"Embeds a secret file within a cover file using file uploads and the provided private seed.","operationId":"conceal_file_endpoint_api_v1_unified_embed_file_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_conceal_file_endpoint_api_v1_unified_embed_file_post"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/unified/embed-file\" \\","-H \"accept: application/octet-stream\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"cover_file=@cover.pdf\" \\","-F \"secret_file=@secret.pdf\" \\","-F \"private_seed=<private_seed>\" \\","--output concealed_file.pdf"]},"Python":{"summary":"Python Example","value":["import requests","","files = {","    'cover_file': ('cover.pdf', open('cover.pdf', 'rb')),","    'secret_file': ('secret.pdf', open('secret.pdf', 'rb'))","}","data = {","    'private_seed': '<private_seed>'","}","response = requests.post(\"https://api.purecipher.com/unified/embed-file\", files=files, data=data)","if response.status_code == 200:","    with open('concealed_file.pdf', 'wb') as f:","        f.write(response.content)"]}}}},"required":true},"responses":{"200":{"description":"File concealed successfully.","content":{"application/json":{"schema":{}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request - An error occurred during concealment.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid input data."}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during concealment."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/unified/retrieve-file":{"post":{"tags":["Unified API"],"summary":"Retrieve a hidden secret file from a sealed file using file upload","description":"Retrieves a hidden secret file from a sealed file using file upload and the provided private seed.","operationId":"reveal_file_endpoint_api_v1_unified_retrieve_file_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_reveal_file_endpoint_api_v1_unified_retrieve_file_post"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/unified/retrieve-file\" \\","-H \"accept: application/octet-stream\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"sealed_file=@sealed.pdf\" \\","-F \"private_seed=<private_seed>\" \\","--output secret_file.pdf"]},"Python":{"summary":"Python Example","value":["import requests","","files = {","    'sealed_file': ('sealed.pdf', open('sealed.pdf', 'rb'))","}","data = {","    'private_seed': '<private_seed>'","}","response = requests.post(\"https://api.purecipher.com/unified/retrieve-file\", files=files, data=data)","if response.status_code == 200:","    with open('secret_file.pdf', 'wb') as f:","        f.write(response.content)"]}}}},"required":true},"responses":{"200":{"description":"Secret file retrieved successfully.","content":{"application/json":{"schema":{}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request - An error occurred during retrieval.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid input data."}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during retrieval."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/edix12/embed/":{"post":{"tags":["Edix12"],"summary":"Embed Integrity Marks in an EDIX12 Transaction Set","description":"Embeds hash-based integrity marks in specified segments of an EDIX12 document.","operationId":"embed_edi_file_api_v1_edix12_embed__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_embed_edi_file_api_v1_edix12_embed__post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \" https://api.purecipher.com/edix12/embed/\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"file=@file.x12\""]},"Python":{"summary":"Python","value":["import requests","","with open(\"file.x12\", \"rb\") as f:","    response = requests.post(\" https://api.purecipher.com/edix12/embed/\", files={\"file\": f})","    print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","","const form = new FormData();","form.append('file', fs.createReadStream('file.x12'));","","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/embed/',","    headers: form.getHeaders()","};","","const req = https.request(options, (res) => {","    let data = '';","    res.on('data', (chunk) => {","        data += chunk;","    });","    res.on('end', () => {","        console.log(data);","    });","});","","form.pipe(req);","","req.on('error', (err) => {","    console.error(err);","});"]},"Java":{"summary":"Java","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.nio.file.Files;","import java.nio.file.Paths;","","public class EmbedEdiX12 {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\" https://api.purecipher.com/edix12/embed/\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setRequestProperty(\"Accept\", \"application/json\");","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        conn.setDoOutput(true);","        try (OutputStream os = conn.getOutputStream()) {","            Files.copy(Paths.get(\"file.x12\"), os);","        }","","        if (conn.getResponseCode() != 200) {","            throw new RuntimeException(\"Failed : HTTP error code : \" + conn.getResponseCode());","        }","","        System.out.println(\"Embedding complete\");","        conn.disconnect();","    }","}"]},"Go":{"summary":"Go","value":["package main","","import (","    \"fmt\"","    \"io/ioutil\"","    \"net/http\"","    \"os\"",")","","func main() {","    file, err := os.Open(\"file.x12\")","    if err != nil {","        panic(err)","    }","    defer file.Close()","","    request, err := http.NewRequest(\"POST\", \" https://api.purecipher.com/edix12/embed/\", file)","    if err != nil {","        panic(err)","    }","    request.Header.Set(\"Content-Type\", \"multipart/form-data\")","","    client := &http.Client{}","    response, err := client.Do(request)","    if err != nil {","        panic(err)","    }","    defer response.Body.Close()","","    body, err := ioutil.ReadAll(response.Body)","    if err != nil {","        panic(err)","    }","","    fmt.Println(string(body))","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.Threading.Tasks;","","class Program {","    private static readonly HttpClient client = new HttpClient();","","    static async Task Main() {","        var response = await client.PostAsync(\" https://api.purecipher.com/edix12/embed/\", new MultipartFormDataContent {","            { new StreamContent(File.OpenRead(\"file.x12\")), \"file\", \"file.x12\" }","        });","","        Console.WriteLine(await response.Content.ReadAsStringAsync());","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Embedding of Integrity Marks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EDIResponseModel","properties":{"message":{"type":"string"},"content":{"type":"string"}},"type":"object"}}}},"400":{"description":"Bad Request - Invalid File Type or Too Large","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}},"example":{"detail":"Invalid file type. Only EDIX12 files are allowed."}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"}}}},"example":{"detail":"Internal server error occurred while embedding integrity marks."}},"422":{"description":"Unprocessable Entity - Validation Error","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"}}},"example":{"detail":"Invalid watermark mode provided."}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/edix12/reveal/":{"post":{"tags":["Edix12"],"summary":"Remove Integrity Marks from an EDIX12 File","description":"Removes previously embedded hash-based integrity marks from an EDIX12 document.","operationId":"reveal_edi_file_api_v1_edix12_reveal__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_reveal_edi_file_api_v1_edix12_reveal__post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/edix12/reveal/\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"file=@file.x12\""]},"Python":{"summary":"Python","value":["import requests","","with open(\"file.x12\", \"rb\") as f:","    response = requests.post(\"https://api.purecipher.com/edix12/reveal/\", files={\"file\": f})","    print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","","const form = new FormData();","form.append('file', fs.createReadStream('file.x12'));","","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/reveal/',","    headers: form.getHeaders()","};","","const req = https.request(options, (res) => {","    let data = '';","    res.on('data', (chunk) => {","        data += chunk;","    });","    res.on('end', () => {","        console.log(data);","    });","});","","form.pipe(req);","","req.on('error', (err) => {","    console.error(err);","});"]},"Java":{"summary":"Java","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.nio.file.Files;","import java.nio.file.Paths;","","public class RevealEdiX12 {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/edix12/reveal/\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setRequestProperty(\"Accept\", \"application/json\");","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        conn.setDoOutput(true);","        try (OutputStream os = conn.getOutputStream()) {","            Files.copy(Paths.get(\"file.x12\"), os);","        }","","        if (conn.getResponseCode() != 200) {","            throw new RuntimeException(\"Failed : HTTP error code : \" + conn.getResponseCode());","        }","","        System.out.println(\"Reveal complete\");","        conn.disconnect();","    }","}"]},"Go":{"summary":"Go","value":["package main","","import (","    \"fmt\"","    \"io/ioutil\"","    \"net/http\"","    \"os\"",")","","func main() {","    file, err := os.Open(\"file.x12\")","    if err != nil {","        panic(err)","    }","    defer file.Close()","","    request, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/edix12/reveal/\", file)","    if err != nil {","        panic(err)","    }","    request.Header.Set(\"Content-Type\", \"multipart/form-data\")","","    client := &http.Client{}","    response, err := client.Do(request)","    if err != nil {","        panic(err)","    }","    defer response.Body.Close()","","    body, err := ioutil.ReadAll(response.Body)","    if err != nil {","        panic(err)","    }","","    fmt.Println(string(body))","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.Threading.Tasks;","","class Program {","    private static readonly HttpClient client = new HttpClient();","","    static async Task Main() {","        var response = await client.PostAsync(\"https://api.purecipher.com/edix12/reveal/\", new MultipartFormDataContent {","            { new StreamContent(File.OpenRead(\"file.x12\")), \"file\", \"file.x12\" }","        });","","        Console.WriteLine(await response.Content.ReadAsStringAsync());","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Removal of Integrity Marks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EDIResponseModel","properties":{"message":{"type":"string"},"content":{"type":"string"}},"type":"object"}}}},"400":{"description":"Bad Request - Invalid File Type or Too Large","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}},"example":{"detail":"Invalid file type. Only EDIX12 files are allowed."}},"422":{"description":"Unprocessable Entity - Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Validation error in watermark mode"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}},"example":{"detail":"Internal server error occurred while removing integrity marks."}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/edix12/verify/":{"post":{"tags":["Edix12"],"summary":"Verify Integrity Marks in an EDIX12 Transaction Set","description":"Verifies the authenticity of embedded integrity marks in an EDIX12 document.","operationId":"verify_edi_file_api_v1_edix12_verify__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_verify_edi_file_api_v1_edix12_verify__post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/edix12/verify/\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"file=@file.x12\""]},"Python":{"summary":"Python","value":["import requests","","with open(\"file.x12\", \"rb\") as f:","    response = requests.post(\"https://api.purecipher.com/edix12/verify/\", files={\"file\": f})","    print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","","const form = new FormData();","form.append('file', fs.createReadStream('file.x12'));","","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/verify/',","    headers: form.getHeaders()","};","","const req = https.request(options, (res) => {","    let data = '';","    res.on('data', (chunk) => {","        data += chunk;","    });","    res.on('end', () => {","        console.log(data);","    });","});","","form.pipe(req);","","req.on('error', (err) => {","    console.error(err);","});"]},"Java":{"summary":"Java","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.io.OutputStream;","import java.nio.file.Files;","import java.nio.file.Paths;","","public class VerifyEdiX12 {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/edix12/verify/\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setRequestProperty(\"Accept\", \"application/json\");","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        conn.setDoOutput(true);","        try (OutputStream os = conn.getOutputStream()) {","            Files.copy(Paths.get(\"file.x12\"), os);","        }","","        if (conn.getResponseCode() != 200) {","            throw new RuntimeException(\"Failed : HTTP error code : \" + conn.getResponseCode());","        }","","        System.out.println(\"Verification complete\");","        conn.disconnect();","    }","}"]},"Go":{"summary":"Go","value":["package main","","import (","    \"fmt\"","    \"io/ioutil\"","    \"net/http\"","    \"os\"",")","","func main() {","    file, err := os.Open(\"file.x12\")","    if err != nil {","        panic(err)","    }","    defer file.Close()","","    request, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/edix12/verify/\", file)","    if err != nil {","        panic(err)","    }","    request.Header.Set(\"Content-Type\", \"multipart/form-data\")","","    client := &http.Client{}","    response, err := client.Do(request)","    if err != nil {","        panic(err)","    }","    defer response.Body.Close()","","    body, err := ioutil.ReadAll(response.Body)","    if err != nil {","        panic(err)","    }","","    fmt.Println(string(body))","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.Threading.Tasks;","","class Program {","    private static readonly HttpClient client = new HttpClient();","","    static async Task Main() {","        var response = await client.PostAsync(\"https://api.purecipher.com/edix12/verify/\", new MultipartFormDataContent {","            { new StreamContent(File.OpenRead(\"file.x12\")), \"file\", \"file.x12\" }","        });","","        Console.WriteLine(await response.Content.ReadAsStringAsync());","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Verification of Integrity Marks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationResponseModel","properties":{"message":{"type":"string"},"is_valid":{"type":"boolean"}},"type":"object"}}}},"400":{"description":"Bad Request - Invalid File Type or Too Large","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}},"example":{"detail":"Invalid file type. Only EDIX12 files are allowed."}},"422":{"description":"Unprocessable Entity - Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Validation error in watermark mode"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}},"example":{"detail":"Internal server error occurred while verifying integrity marks."}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/base64/encode/":{"post":{"tags":["Base64"],"summary":"Encode a File to Base64","description":"Encodes an uploaded file into a Base64 string and returns metadata including the file name, format, and size.","operationId":"encode_to_base64_api_v1_base64_encode__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_encode_to_base64_api_v1_base64_encode__post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/base64/encode/\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"file=@example.txt\""]},"Python":{"summary":"Python","value":["import requests","","with open(\"example.txt\", \"rb\") as f:","    response = requests.post(\"https://api.purecipher.com/base64/encode/\", files={\"file\": f})","    print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","","const form = new FormData();","form.append('file', fs.createReadStream('example.txt'));","","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/encode/',","    headers: form.getHeaders()","};","","const req = https.request(options, (res) => {","    let data = '';","    res.on('data', (chunk) => {","        data += chunk;","    });","    res.on('end', () => {","        console.log(data);","    });","});","","form.pipe(req);","","req.on('error', (err) => {","    console.error(err);","});"]},"Go":{"summary":"Go","value":["package main","","import (","    \"bytes\"","    \"fmt\"","    \"io\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    file, err := os.Open(\"example.txt\")","    if err != nil {","        panic(err)","    }","    defer file.Close()","","    body := &bytes.Buffer{}","    writer := multipart.NewWriter(body)","    part, err := writer.CreateFormFile(\"file\", \"example.txt\")","    if err != nil {","        panic(err)","    }","    _, err = io.Copy(part, file)","    if err != nil {","        panic(err)","    }","    writer.Close()","","    req, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/base64/encode/\", body)","    if err != nil {","        panic(err)","    }","    req.Header.Set(\"Content-Type\", writer.FormDataContentType())","","    client := &http.Client{}","    resp, err := client.Do(req)","    if err != nil {","        panic(err)","    }","    defer resp.Body.Close()","","    fmt.Println(\"Status:\", resp.Status)","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.IO;","using System.Net.Http;","using System.Net.Http.Headers;","using System.Threading.Tasks;","","class Program {","    static async Task Main() {","        using var client = new HttpClient();","        using var form = new MultipartFormDataContent();","","        var fileStream = new FileStream(\"example.txt\", FileMode.Open);","        var streamContent = new StreamContent(fileStream);","        streamContent.Headers.ContentType = new MediaTypeHeaderValue(\"multipart/form-data\");","","        form.Add(streamContent, \"file\", \"example.txt\");","","        var response = await client.PostAsync(\"https://api.purecipher.com/base64/encode/\", form);","        Console.WriteLine(await response.Content.ReadAsStringAsync());","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Base64 Encoding","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EncodeToBase64Response","properties":{"base64":{"type":"string","title":"Base64"},"file_name":{"type":"string","title":"File Name"},"file_format":{"type":"string","title":"File Format"},"file_size":{"type":"integer","title":"File Size"}},"type":"object","required":["base64","file_name","file_format","file_size"],"title":"EncodeToBase64Response"}}}},"400":{"description":"Bad Request - File too large or invalid","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"File size exceeds the maximum limit of 10 MB."}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during encoding."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/base64/decode/":{"post":{"tags":["Base64"],"summary":"Decode Base64 to File","description":"Decodes a Base64 string back into a file and streams the file as a response.","operationId":"decode_from_base64_api_v1_base64_decode__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecodeFromBase64Request"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/base64/decode/\" \\","-H \"accept: application/octet-stream\" \\","-H \"Content-Type: application/json\" \\","-d '{\"base64_string\":\"<Base64 content>\", \"file_name\":\"example.txt\", \"file_format\":\"text/plain\"}'"]},"Python":{"summary":"Python Example","value":["import requests","","data = {","    \"base64_string\": \"<Base64 content>\",","    \"file_name\": \"example.txt\",","    \"file_format\": \"text/plain\"","}","response = requests.post(\"https://api.purecipher.com/base64/decode/\", json=data)","if response.status_code == 200:","    with open(\"example.txt\", \"wb\") as f:","        f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript Example","value":["const https = require('https');","","const data = JSON.stringify({","    base64_string: '<Base64 content>',","    file_name: 'example.txt',","    file_format: 'text/plain'","});","","const options = {","    hostname: 'api.purecipher.com',","    path: '/decode/',","    method: 'POST',","    headers: {","        'Content-Type': 'application/json',","        'Content-Length': data.length","    }","};","","const req = https.request(options, (res) => {","    let fileData = '';","    res.on('data', (chunk) => {","        fileData += chunk;","    });","    res.on('end', () => {","        require('fs').writeFileSync('example.txt', fileData, 'binary');","    });","});","","req.write(data);","req.end();"]},"Go":{"summary":"Go Example","value":["package main","","import (","    \"bytes\"","    \"fmt\"","    \"io/ioutil\"","    \"net/http\"",")","","func main() {","    data := `{\"base64_string\": \"<Base64 content>\", \"file_name\": \"example.txt\", \"file_format\": \"text/plain\"}`","","    resp, err := http.Post(","        \"https://api.purecipher.com/base64/decode/\",","        \"application/json\",","        bytes.NewBuffer([]byte(data))","    )","    if err != nil {","        panic(err)","    }","    defer resp.Body.Close()","","    content, _ := ioutil.ReadAll(resp.Body)","    err = ioutil.WriteFile(\"example.txt\", content, 0644)","    if err != nil {","        panic(err)","    }","    fmt.Println(\"File written to example.txt\")","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.IO;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    static async Task Main() {","        using var client = new HttpClient();","        var content = new StringContent(","            \"{\\\"base64_string\\\": \\\"<Base64 content>\\\", \\\"file_name\\\": \\\"example.txt\\\", \\\"file_format\\\": \\\"text/plain\\\"}\",","            Encoding.UTF8, \"application/json\"","        );","","        var response = await client.PostAsync(\"https://api.purecipher.com/base64/decode/\", content);","        if (response.IsSuccessStatusCode) {","            using var fileStream = new FileStream(\"example.txt\", FileMode.Create);","            await response.Content.CopyToAsync(fileStream);","            Console.WriteLine(\"File saved to example.txt\");","        } else {","            Console.WriteLine($\"Failed: {response.StatusCode}\");","        }","    }","}"]}}}},"required":true},"responses":{"200":{"description":"File streamed successfully","content":{"application/json":{"schema":{}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request - Invalid or Excessive File Size","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Decoded file size exceeds the maximum limit of 10 MB."}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during decoding."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/signature/sign/":{"post":{"tags":["Signature"],"summary":"Sign a File","description":"Creates a digital signature for a file using AWS KMS.","operationId":"create_signature_api_v1_signature_sign__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_signature_api_v1_signature_sign__post"},"examples":{"Example Response":{"summary":"Example Response","value":{"signature":"MEUCIQ...FAiEA7...","public_key":"MFkwEwY..."}},"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/signature/sign\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"file=@path/to/your/file.txt\""]},"Python":{"summary":"Python Example","value":["import requests","files = {'file': open('path/to/your/file.txt', 'rb')}","response = requests.post(\"https://api.purecipher.com/signature/sign\", files=files)","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript Example","value":["const fs = require('fs');","const FormData = require('form-data');","const form = new FormData();","form.append('file', fs.createReadStream('path/to/your/file.txt'));","form.submit('https://api.purecipher.com/signature/sign', (err, res) => {","    res.on('data', chunk => console.log(chunk.toString()));","});"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.nio.file.Files;","import java.nio.file.Path;","import java.io.OutputStream;","import java.io.BufferedReader;","import java.io.InputStreamReader;","","public class SignFile {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/signature/sign\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        Path filePath = Path.of(\"path/to/your/file.txt\");","        byte[] fileBytes = Files.readAllBytes(filePath);","","        try (OutputStream os = conn.getOutputStream()) {","            os.write(fileBytes);","        }","","        BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream()));","        String line;","        while ((line = br.readLine()) != null) {","            System.out.println(line);","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main","","import (","    \"bytes\"","    \"fmt\"","    \"io\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    file, err := os.Open(\"path/to/your/file.txt\")","    if err != nil {","        panic(err)","    }","    defer file.Close()","","    var b bytes.Buffer","    writer := multipart.NewWriter(&b)","    part, err := writer.CreateFormFile(\"file\", file.Name())","    if err != nil {","        panic(err)","    }","    _, err = io.Copy(part, file)","    if err != nil {","        panic(err)","    }","    writer.Close()","","    req, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/signature/sign\", &b)","    if err != nil {","        panic(err)","    }","    req.Header.Set(\"Content-Type\", writer.FormDataContentType())","","    client := &http.Client{}","    resp, err := client.Do(req)","    if err != nil {","        panic(err)","    }","    defer resp.Body.Close()","","    fmt.Println(resp.StatusCode)","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.Net.Http;","using System.Net.Http.Headers;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var filePath = \"path/to/your/file.txt\";","        var content = new MultipartFormDataContent();","        content.Add(new StreamContent(File.OpenRead(filePath)), \"file\", \"file.txt\");","        var response = await client.PostAsync(\"https://api.purecipher.com/signature/sign\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"File signed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignResponseModel"}}}},"400":{"description":"Bad Request - Missing required field: file.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Missing required field: file."}}}},"403":{"description":"Forbidden - Permission denied to sign the file.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Permission denied to sign the file."}}}},"500":{"description":"Internal Server Error - Error signing the file using KMS.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Error signing the file using KMS."}}}},"502":{"description":"Bad Gateway - KMS service unavailable.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"KMS service unavailable."}}}},"503":{"description":"Service Unavailable - API service is currently down.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"API service is currently down."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/signature/verify/":{"post":{"tags":["Signature"],"summary":"Verify a Signed File","description":"Verifies the digital signature of a file using AWS KMS.","operationId":"verify_signature_api_v1_signature_verify__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_verify_signature_api_v1_signature_verify__post"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/verify\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"file=@path/to/your/file.txt\" \\","-F \"signature=Base64EncodedSignature\""]},"Python":{"summary":"Python Example","value":["import requests","","files = {","    'file': open('path/to/your/file.txt', 'rb')","}","data = {","    'signature': 'Base64EncodedSignature'","}","response = requests.post(\"https://api.purecipher.com/verify\", files=files, data=data)","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript Example","value":["const fs = require('fs');","const FormData = require('form-data');","","const form = new FormData();","form.append('file', fs.createReadStream('path/to/your/file.txt'));","form.append('signature', 'Base64EncodedSignature');","","form.submit('https://api.purecipher.com/verify', (err, res) => {","    res.on('data', chunk => console.log(chunk.toString()));","});"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.nio.file.Files;","import java.nio.file.Path;","import java.io.OutputStream;","import java.io.BufferedReader;","import java.io.InputStreamReader;","","public class VerifyFile {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/verify\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        Path filePath = Path.of(\"path/to/your/file.txt\");","        byte[] fileBytes = Files.readAllBytes(filePath);","","        try (OutputStream os = conn.getOutputStream()) {","            os.write(fileBytes);","        }","","        BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream()));","        String line;","        while ((line = br.readLine()) != null) {","            System.out.println(line);","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"fmt\"","    \"io/ioutil\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    file, err := os.Open(\"path/to/your/file.txt\");","    if err != nil {","        panic(err);","    }","    defer file.Close();","","    var b bytes.Buffer;","    writer := multipart.NewWriter(&b);","    part, err := writer.CreateFormFile(\"file\", file.Name());","    if err != nil {","        panic(err);","    }","    _, err = io.Copy(part, file);","    if err != nil {","        panic(err);","    }","    writer.WriteField(\"signature\", \"Base64EncodedSignature\");","    writer.Close();","","    req, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/verify\", &b);","    if err != nil {","        panic(err);","    }","    req.Header.Set(\"Content-Type\", writer.FormDataContentType());","","    client := &http.Client{};","    resp, err := client.Do(req);","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    body, err := ioutil.ReadAll(resp.Body);","    if err != nil {","        panic(err);","    }","    fmt.Println(string(body));","}"]},".NET (C#)":{"summary":".NET Example","value":["using System;","using System.Net.Http;","using System.Net.Http.Headers;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var filePath = \"path/to/your/file.txt\";","        var content = new MultipartFormDataContent();","        content.Add(new StreamContent(File.OpenRead(filePath)), \"file\", \"file.txt\");","        content.Add(new StringContent(\"Base64EncodedSignature\"), \"signature\");","","        var response = await client.PostAsync(\"https://api.purecipher.com/verify\", content);","        var responseString = await response.Content.ReadAsStringAsync();","        Console.WriteLine(responseString);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Verification successful: The file and signature match.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponseModel"}}}},"400":{"description":"Bad Request: Missing required parameters or invalid signature format.","content":{"application/json":{"example":{"error":"MISSING_PARAMETER or INVALID_SIGNATURE"}}}},"401":{"description":"Unauthorized: API key is missing, invalid, or expired.","content":{"application/json":{"example":{"error":"INVALID_API_KEY"}}}},"403":{"description":"Forbidden: API key lacks necessary permissions.","content":{"application/json":{"example":{"error":"FORBIDDEN_ACCESS"}}}},"422":{"description":"Unprocessable Entity: Invalid signature.","content":{"application/json":{"example":{"error":"INVALID_SIGNATURE"}}}},"500":{"description":"Internal Server Error: Unexpected error during verification.","content":{"application/json":{"example":{"error":"SERVER_ERROR"}}}},"503":{"description":"Service Unavailable: The service is temporarily unavailable or overloaded.","content":{"application/json":{"example":{"error":"SERVICE_UNAVAILABLE"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/encryption/encrypt/":{"post":{"tags":["Encryption"],"summary":"Encrypt a File","description":"Encrypts an uploaded file using AES-256 GCM. Returns the encrypted file as a binary stream.","operationId":"encrypt_file_api_v1_encryption_encrypt__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_encrypt_file_api_v1_encryption_encrypt__post"},"examples":{"Missing Parameter":{"summary":"Missing file parameter","value":{"error":"MISSING_PARAMETER"}},"Invalid File Format":{"summary":"Unsupported file type","value":{"error":"INVALID_FILE_FORMAT"}}}}},"required":true},"responses":{"200":{"description":"Encryption Successful","content":{"application/json":{"schema":{}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"INVALID_API_KEY"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"FORBIDDEN_ACCESS"}}}},"413":{"description":"Payload Too Large","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"FILE_TOO_LARGE"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"ENCRYPTION_FAILED"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"SERVER_ERROR"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"SERVICE_UNAVAILABLE"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/encryption/decrypt/":{"post":{"tags":["Encryption"],"summary":"Decrypt an Encrypted File","description":"Decrypts a previously encrypted file and restores the original content.","operationId":"decrypt_file_api_v1_encryption_decrypt__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_decrypt_file_api_v1_encryption_decrypt__post"},"examples":{"Invalid File Format":{"summary":"Invalid file format","value":{"error":"INVALID_FILE_FORMAT"}},"Missing File":{"summary":"File is missing","value":{"error":"MISSING_PARAMETER"}}}}},"required":true},"responses":{"200":{"description":"Decryption Successful","content":{"application/json":{"schema":{}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"INVALID_API_KEY"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"FORBIDDEN_ACCESS"}}}},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"UNSUPPORTED_FILE_TYPE"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"Decryption error: Internal server error occurred while decrypting the file."}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"},"example":{"error":"SERVICE_UNAVAILABLE"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/hash/image":{"post":{"tags":["Hash"],"summary":"Generate a SHA-256 Hash for an Image","description":"This endpoint computes the SHA-256 hash for an image file. Supported image formats include PNG, JPEG, and DICOM.","operationId":"hash_image_api_v1_hash_image_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_hash_image_api_v1_hash_image_post"},"examples":{"HashingError":{"summary":"Hashing Error","value":{"detail":"Error processing the image"}}}}},"required":true},"responses":{"200":{"description":"Successful Hash Computation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HashSuccessResponse"}}}},"415":{"description":"Unsupported Media Type - Invalid Image Format","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}}},"500":{"description":"Internal Server Error - Hashing Failure","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/hash/text":{"post":{"tags":["Hash"],"summary":"Generate a SHA-256 Hash for a Document","description":"This endpoint computes the SHA-256 hash for a document file. Supported document formats include PDF, Microsoft Word, Excel, and PowerPoint.","operationId":"hash_document_api_v1_hash_text_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_hash_document_api_v1_hash_text_post"},"examples":{"HashingError":{"summary":"Hashing Error","value":{"detail":"Error processing the document"}}}}},"required":true},"responses":{"200":{"description":"Successful Hash Computation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HashSuccessResponse"}}}},"415":{"description":"Unsupported Media Type - Invalid Document Format","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}}},"500":{"description":"Internal Server Error - Hashing Failure","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/hash/compare":{"post":{"tags":["Hash"],"summary":"Compare the SHA-256 Hashes of Two Uploaded Files","description":"This endpoint compares the SHA-256 hashes of two uploaded files and returns whether the hashes match.","operationId":"compare_hashes_api_v1_hash_compare_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_compare_hashes_api_v1_hash_compare_post"},"examples":{"ComparisonError":{"summary":"Comparison Error","value":{"detail":"Error during hash comparison"}}}}},"required":true},"responses":{"200":{"description":"Successful Hash Comparison","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareResponse"}}}},"500":{"description":"Internal Server Error - Comparison Failure","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/steganography/image-image/hide":{"post":{"tags":["Steganography"],"summary":"Embed a Secret Image within a Cover Image","description":"This endpoint embeds a secret image within a cover image using steganography. It supports PNG, JPEG, and DCM formats for the cover image and returns an embedded image.","operationId":"hide_image_api_v1_steganography_image_image_hide_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_hide_image_api_v1_steganography_image_image_hide_post"},"examples":{"UnsupportedImageType":{"summary":"Unsupported Image Type","value":{"detail":"Unsupported file type."}},"ImageTooLarge":{"summary":"Image Too Large","value":{"detail":"Image file is too large."}}}}},"required":true},"responses":{"200":{"description":"Successful Image Embedding","content":{"application/json":{}}},"400":{"description":"Bad Request - Invalid Image Format or Size","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"}}}},"500":{"description":"Internal Server Error - Embedding Failure","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/steganography/image-image/reveal":{"post":{"tags":["Steganography"],"summary":"Reveal the Secret Image from an Embedded Image","description":"This endpoint reveals a secret image from an embedded cover image.","operationId":"reveal_image_api_v1_steganography_image_image_reveal_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_reveal_image_api_v1_steganography_image_image_reveal_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/steganography/image-image/reveal\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"embedded_image_file=@embedded.png\""]},"Python":{"summary":"Python","value":["import requests","","files = {","    'embedded_image_file': open('embedded.png', 'rb')","}","response = requests.post(\"https://api.purecipher.com/steganography/image-image/reveal\", files=files)","with open('secret.png', 'wb') as f:","    f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","","const form = new FormData();","form.append('embedded_image_file', fs.createReadStream('embedded.png'));","","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/image-image/reveal',","    headers: form.getHeaders()","};","","const req = https.request(options, (res) => {","    const fileStream = fs.createWriteStream('secret.png');","    res.pipe(fileStream);","});","","form.pipe(req);","","req.on('error', (err) => {","    console.error(err);","});"]},"Go":{"summary":"Go","value":["package main;","","import (","    \"bytes\"","    \"fmt\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    body := &bytes.Buffer{}","    writer := multipart.NewWriter(body)","","    embeddedImage, _ := os.Open(\"embedded.png\")","    defer embeddedImage.Close()","    part, _ := writer.CreateFormFile(\"embedded_image_file\", \"embedded.png\")","    _, _ = io.Copy(part, embeddedImage)","","    writer.Close()","","    req, _ := http.NewRequest(\"POST\", \"https://api.purecipher.com/steganography/image-image/reveal\", body)","    req.Header.Set(\"Content-Type\", writer.FormDataContentType())","","    client := &http.Client{}","    resp, _ := client.Do(req)","    defer resp.Body.Close()","","    outFile, _ := os.Create(\"secret.png\")","    defer outFile.Close()","    io.Copy(outFile, resp.Body)","    fmt.Println(\"Image revealed successfully\")","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.IO;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var form = new MultipartFormDataContent();","","        var embeddedImageContent = new StreamContent(File.OpenRead(\"embedded.png\"));","        form.Add(embeddedImageContent, \"embedded_image_file\", \"embedded.png\");","","        var response = await client.PostAsync(\"https://api.purecipher.com/steganography/image-image/reveal\", form);","        using (var fs = new FileStream(\"secret.png\", FileMode.Create)) {","            await response.Content.CopyToAsync(fs);","        }","        Console.WriteLine(\"Image revealed successfully\");","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Secret Image Extraction","content":{"application/json":{}}},"404":{"description":"Secret Image Not Found","content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"},"example":{"message":"No secret image was found in the provided cover image."}}}},"500":{"description":"Internal Server Error - Extraction Failure","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/steganography/image-image/remove":{"post":{"tags":["Steganography"],"summary":"Remove the Secret Image from an Embedded Image","description":"This endpoint removes the secret image from an embedded cover image and returns the cover image alone.","operationId":"remove_secret_api_v1_steganography_image_image_remove_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_remove_secret_api_v1_steganography_image_image_remove_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/steganography/image-image/remove\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"uploaded_image=@stego_image.png\""]},"Python":{"summary":"Python","value":["import requests","","files = {","    'uploaded_image': open('stego_image.png', 'rb')","}","response = requests.post(\"https://api.purecipher.com/steganography/image-image/remove\", files=files)","with open('cover_image.png', 'wb') as f:","    f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","","const form = new FormData();","form.append('uploaded_image', fs.createReadStream('stego_image.png'));","","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/image-image/remove',","    headers: form.getHeaders()","};","","const req = https.request(options, (res) => {","    const fileStream = fs.createWriteStream('cover_image.png');","    res.pipe(fileStream);","});","","form.pipe(req);","","req.on('error', (err) => {","    console.error(err);","});"]},"Go":{"summary":"Go","value":["package main;","","import (","    \"bytes\"","    \"fmt\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    body := &bytes.Buffer{}","    writer := multipart.NewWriter(body)","","    uploadedImage, _ := os.Open(\"stego_image.png\")","    defer uploadedImage.Close()","    part, _ := writer.CreateFormFile(\"uploaded_image\", \"stego_image.png\")","    _, _ = io.Copy(part, uploadedImage)","","    writer.Close()","","    req, _ := http.NewRequest(\"POST\", \"https://api.purecipher.com/steganography/image-image/remove\", body)","    req.Header.Set(\"Content-Type\", writer.FormDataContentType())","","    client := &http.Client{}","    resp, _ := client.Do(req)","    defer resp.Body.Close()","","    outFile, _ := os.Create(\"cover_image.png\")","    defer outFile.Close()","    io.Copy(outFile, resp.Body)","    fmt.Println(\"Secret image removed successfully\")","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.IO;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var form = new MultipartFormDataContent();","","        var uploadedImageContent = new StreamContent(File.OpenRead(\"stego_image.png\"));","        form.Add(uploadedImageContent, \"uploaded_image\", \"stego_image.png\");","","        var response = await client.PostAsync(\"https://api.purecipher.com/steganography/image-image/remove\", form);","        using (var fs = new FileStream(\"cover_image.png\", FileMode.Create)) {","            await response.Content.CopyToAsync(fs);","        }","        Console.WriteLine(\"Secret image removed successfully\");","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Secret Image Removal","content":{"application/json":{}}},"404":{"description":"Secret Image Not Found","content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"},"example":{"message":"No separator found. Returning the original image as the cover image."}}}},"500":{"description":"Internal Server Error - Removal Failure","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/steganography/image-text/hide":{"post":{"tags":["Steganography"],"summary":"Embed a Secret Text File within a Cover Image","description":"Embeds a secret text file into the least significant bits of the cover image's pixel data.","operationId":"hide_text_in_image_api_v1_steganography_image_text_hide_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"seed","in":"query","required":false,"schema":{"type":"integer","default":1234,"title":"Seed"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_hide_text_in_image_api_v1_steganography_image_text_hide_post"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/steganography/image-text/hide\" \\","-H \"accept: image/png\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"cover_image=@path/to/cover/image.png\" \\","-F \"secret_text_file=@path/to/secret/text.txt\""]},"Python":{"summary":"Python Example","value":["import requests;","files = {","    'cover_image': open('path/to/cover/image.png', 'rb'),","    'secret_text_file': open('path/to/secret/text.txt', 'rb')","};","response = requests.post(\"https://api.purecipher.com/steganography/image-text/hide\", files=files);","with open('output_image.png', 'wb') as f:","    f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js) Example","value":["const fs = require('fs');","const https = require('https');","const FormData = require('form-data');","","const form = new FormData();","form.append('cover_image', fs.createReadStream('path/to/cover/image.png'));","form.append('secret_text_file', fs.createReadStream('path/to/secret/text.txt'));","","const options = {","  method: 'POST',","  headers: form.getHeaders(),","};","","const req = https.request('https://api.purecipher.com/steganography/image-text/hide', options, (res) => {","  res.pipe(fs.createWriteStream('output_image.png'));","});","form.pipe(req);"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.nio.file.Files;","import java.nio.file.Path;","import java.io.OutputStream;","import java.io.BufferedReader;","import java.io.InputStreamReader;","import java.io.FileOutputStream;","","public class HideTextInImage {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/steganography/image-text/hide\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        Path coverImagePath = Path.of(\"path/to/cover/image.png\");","        Path secretTextPath = Path.of(\"path/to/secret/text.txt\");","        byte[] coverImageBytes = Files.readAllBytes(coverImagePath);","        byte[] secretTextBytes = Files.readAllBytes(secretTextPath);","","        try (OutputStream os = conn.getOutputStream()) {","            os.write(coverImageBytes);","            os.write(secretTextBytes);","        }","","        try (FileOutputStream fos = new FileOutputStream(\"output_image.png\")) {","            conn.getInputStream().transferTo(fos);","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"fmt\"","    \"io\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    coverFile, err := os.Open(\"path/to/cover/image.png\");","    if err != nil {","        panic(err);","    }","    defer coverFile.Close();","","    secretFile, err := os.Open(\"path/to/secret/text.txt\");","    if err != nil {","        panic(err);","    }","    defer secretFile.Close();","","    var b bytes.Buffer;","    writer := multipart.NewWriter(&b);","    part, err := writer.CreateFormFile(\"cover_image\", coverFile.Name());","    if err != nil {","        panic(err);","    }","    _, err = io.Copy(part, coverFile);","    if err != nil {","        panic(err);","    }","    part, err = writer.CreateFormFile(\"secret_text_file\", secretFile.Name());","    if err != nil {","        panic(err);","    }","    _, err = io.Copy(part, secretFile);","    if err != nil {","        panic(err);","    }","    writer.Close();","","    req, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/steganography/image-text/hide\", &b);","    if err != nil {","        panic(err);","    }","    req.Header.Set(\"Content-Type\", writer.FormDataContentType());","","    client := &http.Client{};","    resp, err := client.Do(req);","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    outFile, err := os.Create(\"output_image.png\");","    if err != nil {","        panic(err);","    }","    defer outFile.Close();","    io.Copy(outFile, resp.Body);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.IO;","using System.Net.Http;","using System.Net.Http.Headers;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var coverImagePath = \"path/to/cover/image.png\";","        var secretTextPath = \"path/to/secret/text.txt\";","        var content = new MultipartFormDataContent();","        content.Add(new StreamContent(File.OpenRead(coverImagePath)), \"cover_image\", \"image.png\");","        content.Add(new StreamContent(File.OpenRead(secretTextPath)), \"secret_text_file\", \"secret.txt\");","        var response = await client.PostAsync(\"https://api.purecipher.com/steganography/image-text/hide\", content);","        using var fs = new FileStream(\"output_image.png\", FileMode.Create);","        await response.Content.CopyToAsync(fs);","    }","}"]}}}}},"responses":{"200":{"description":"Text embedded successfully.","content":{"image/png":{}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"}}},"example":{"detail":"An error occurred during embedding."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/steganography/image-text/reveal":{"post":{"tags":["Steganography"],"summary":"Reveal the Secret Text File from an Embedded Image","description":"Extracts the embedded secret text file from the least significant bits of the image's pixel data.","operationId":"reveal_text_from_image_api_v1_steganography_image_text_reveal_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"seed","in":"query","required":false,"schema":{"type":"integer","default":1234,"title":"Seed"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_reveal_text_from_image_api_v1_steganography_image_text_reveal_post"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/steganography/image-text/reveal\" \\","-H \"accept: application/pdf\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"embedded_image=@path/to/embedded/image.png\""]},"Python":{"summary":"Python Example","value":["import requests;","files = {'embedded_image': open('path/to/embedded/image.png', 'rb')};","response = requests.post(\"https://api.purecipher.com/steganography/image-text/reveal\", files=files);","with open('output_text.txt', 'wb') as f:","    f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js) Example","value":["const fs = require('fs');","const https = require('https');","const FormData = require('form-data');","","const form = new FormData();","form.append('embedded_image', fs.createReadStream('path/to/embedded/image.png'));","","const options = {","  method: 'POST',","  headers: form.getHeaders(),","};","","const req = https.request('https://api.purecipher.com/steganography/image-text/reveal', options, (res) => {","  res.pipe(fs.createWriteStream('output_text.txt'));","});","form.pipe(req);"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.nio.file.Files;","import java.nio.file.Path;","import java.io.OutputStream;","import java.io.BufferedReader;","import java.io.InputStreamReader;","import java.io.FileOutputStream;","","public class RevealTextFromImage {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/steganography/image-text/reveal\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        Path embeddedImagePath = Path.of(\"path/to/embedded/image.png\");","        byte[] embeddedImageBytes = Files.readAllBytes(embeddedImagePath);","","        try (OutputStream os = conn.getOutputStream()) {","            os.write(embeddedImageBytes);","        }","","        try (FileOutputStream fos = new FileOutputStream(\"output_text.txt\")) {","            conn.getInputStream().transferTo(fos);","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"fmt\"","    \"io\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    file, err := os.Open(\"path/to/embedded/image.png\");","    if err != nil {","        panic(err);","    }","    defer file.Close();","","    var b bytes.Buffer;","    writer := multipart.NewWriter(&b);","    part, err := writer.CreateFormFile(\"embedded_image\", file.Name());","    if err != nil {","        panic(err);","    }","    _, err = io.Copy(part, file);","    if err != nil {","        panic(err);","    }","    writer.Close();","","    req, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/steganography/image-text/reveal\", &b);","    if err != nil {","        panic(err);","    }","    req.Header.Set(\"Content-Type\", writer.FormDataContentType());","","    client := &http.Client{};","    resp, err := client.Do(req);","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    outFile, err := os.Create(\"output_text.txt\");","    if err != nil {","        panic(err);","    }","    defer outFile.Close();","    io.Copy(outFile, resp.Body);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.IO;","using System.Net.Http;","using System.Net.Http.Headers;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var embeddedImagePath = \"path/to/embedded/image.png\";","        var content = new MultipartFormDataContent();","        content.Add(new StreamContent(File.OpenRead(embeddedImagePath)), \"embedded_image\", \"image.png\");","        var response = await client.PostAsync(\"https://api.purecipher.com/steganography/image-text/reveal\", content);","        using var fs = new FileStream(\"output_text.txt\", FileMode.Create);","        await response.Content.CopyToAsync(fs);","    }","}"]}}}}},"responses":{"200":{"description":"Text revealed successfully.","content":{"application/pdf":{}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"}}},"example":{"detail":"An error occurred during extraction."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/steganography/text-text/hide":{"post":{"tags":["Steganography"],"summary":"Embed a Secret Text File within a Cover Text File","description":"Embeds a secret text file within a cover text file, returning the embedded document.","operationId":"hide_api_v1_steganography_text_text_hide_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_hide_api_v1_steganography_text_text_hide_post"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/steganography/text-text/hide\" \\","-H \"accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"cover_text_file=@path/to/cover/file.xlsx\" \\","-F \"secret_text_file=@path/to/secret/file.docx\""]},"Python":{"summary":"Python Example","value":["import requests;","files = {","    'cover_text_file': open('path/to/cover/file.xlsx', 'rb'),","    'secret_text_file': open('path/to/secret/file.docx', 'rb')","};","response = requests.post(\"https://api.purecipher.com/steganography/text-text/hide\", files=files);","with open('output_file.xlsx', 'wb') as f:","    f.write(response.content);"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js) Example","value":["const fs = require('fs');","const https = require('https');","const FormData = require('form-data');","","const form = new FormData();","form.append('cover_text_file', fs.createReadStream('path/to/cover/file.xlsx'));","form.append('secret_text_file', fs.createReadStream('path/to/secret/file.docx'));","","const options = {","  method: 'POST',","  headers: form.getHeaders(),","};","","const req = https.request('https://api.purecipher.com/steganography/text-text/hide', options, (res) => {","  res.pipe(fs.createWriteStream('output_file.xlsx'));","});","form.pipe(req);"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.nio.file.Files;","import java.nio.file.Path;","import java.io.OutputStream;","import java.io.FileOutputStream;","","public class HideTextInText {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/steganography/text-text/hide\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        Path coverTextFilePath = Path.of(\"path/to/cover/file.xlsx\");","        byte[] coverTextFileBytes = Files.readAllBytes(coverTextFilePath);","","        try (OutputStream os = conn.getOutputStream()) {","            os.write(coverTextFileBytes);","        }","","        try (FileOutputStream fos = new FileOutputStream(\"output_file.xlsx\")) {","            conn.getInputStream().transferTo(fos);","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"fmt\"","    \"io\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    coverFile, err := os.Open(\"path/to/cover/file.xlsx\");","    if err != nil {","        panic(err);","    }","    defer coverFile.Close();","","    secretFile, err := os.Open(\"path/to/secret/file.docx\");","    if err != nil {","        panic(err);","    }","    defer secretFile.Close();","","    var b bytes.Buffer;","    writer := multipart.NewWriter(&b);","    coverPart, err := writer.CreateFormFile(\"cover_text_file\", coverFile.Name());","    if err != nil {","        panic(err);","    }","    io.Copy(coverPart, coverFile);","","    secretPart, err := writer.CreateFormFile(\"secret_text_file\", secretFile.Name());","    if err != nil {","        panic(err);","    }","    io.Copy(secretPart, secretFile);","","    writer.Close();","","    req, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/steganography/text-text/hide\", &b);","    if err != nil {","        panic(err);","    }","    req.Header.Set(\"Content-Type\", writer.FormDataContentType());","","    client := &http.Client{};","    resp, err := client.Do(req);","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    outFile, err := os.Create(\"output_file.xlsx\");","    if err != nil {","        panic(err);","    }","    defer outFile.Close();","    io.Copy(outFile, resp.Body);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.IO;","using System.Net.Http;","using System.Net.Http.Headers;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var coverTextFilePath = \"path/to/cover/file.xlsx\";","        var secretTextFilePath = \"path/to/secret/file.docx\";","        var content = new MultipartFormDataContent();","        content.Add(new StreamContent(File.OpenRead(coverTextFilePath)), \"cover_text_file\", \"cover.xlsx\");","        content.Add(new StreamContent(File.OpenRead(secretTextFilePath)), \"secret_text_file\", \"secret.docx\");","        var response = await client.PostAsync(\"https://api.purecipher.com/steganography/text-text/hide\", content);","        using var fs = new FileStream(\"output_file.xlsx\", FileMode.Create);","        await response.Content.CopyToAsync(fs);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"File embedded successfully.","content":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during embedding."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/steganography/text-text/reveal":{"post":{"tags":["Steganography"],"summary":"Reveal the Secret Text from an Embedded Cover Text File","description":"Reveals the secret text file previously embedded within a cover text file.","operationId":"reveal_api_v1_steganography_text_text_reveal_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_reveal_api_v1_steganography_text_text_reveal_post"},"examples":{"Curl":{"summary":"Curl Example","value":["curl -X POST \"https://api.purecipher.com/steganography/text-text/reveal\" \\","-H \"accept: application/pdf\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"embedded_text_file=@path/to/embedded/file.pdf\""]},"Python":{"summary":"Python Example","value":["import requests;","files = {'embedded_text_file': open('path/to/embedded/file.pdf', 'rb')};","response = requests.post(\"https://api.purecipher.com/steganography/text-text/reveal\", files=files);","with open('output_file.pdf', 'wb') as f:","    f.write(response.content);"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js) Example","value":["const fs = require('fs');","const https = require('https');","const FormData = require('form-data');","","const form = new FormData();","form.append('embedded_text_file', fs.createReadStream('path/to/embedded/file.pdf'));","","const options = {","  method: 'POST',","  headers: form.getHeaders(),","};","","const req = https.request('https://api.purecipher.com/steganography/text-text/reveal', options, (res) => {","  res.pipe(fs.createWriteStream('output_file.pdf'));","});","form.pipe(req);"]},"Java":{"summary":"Java Example","value":["import java.net.HttpURLConnection;","import java.net.URL;","import java.nio.file.Files;","import java.nio.file.Path;","import java.io.OutputStream;","import java.io.FileOutputStream;","","public class RevealTextFromText {","    public static void main(String[] args) throws Exception {","        URL url = new URL(\"https://api.purecipher.com/steganography/text-text/reveal\");","        HttpURLConnection conn = (HttpURLConnection) url.openConnection();","        conn.setRequestMethod(\"POST\");","        conn.setDoOutput(true);","        conn.setRequestProperty(\"Content-Type\", \"multipart/form-data\");","","        Path embeddedTextFilePath = Path.of(\"path/to/embedded/file.pdf\");","        byte[] embeddedTextFileBytes = Files.readAllBytes(embeddedTextFilePath);","","        try (OutputStream os = conn.getOutputStream()) {","            os.write(embeddedTextFileBytes);","        }","","        try (FileOutputStream fos = new FileOutputStream(\"output_file.pdf\")) {","            conn.getInputStream().transferTo(fos);","        }","    }","}"]},"Go":{"summary":"Go Example","value":["package main;","","import (","    \"bytes\"","    \"fmt\"","    \"io\"","    \"mime/multipart\"","    \"net/http\"","    \"os\"",")","","func main() {","    embeddedFile, err := os.Open(\"path/to/embedded/file.pdf\");","    if err != nil {","        panic(err);","    }","    defer embeddedFile.Close();","","    var b bytes.Buffer;","    writer := multipart.NewWriter(&b);","    part, err := writer.CreateFormFile(\"embedded_text_file\", embeddedFile.Name());","    if err != nil {","        panic(err);","    }","    io.Copy(part, embeddedFile);","","    writer.Close();","","    req, err := http.NewRequest(\"POST\", \"https://api.purecipher.com/steganography/text-text/reveal\", &b);","    if err != nil {","        panic(err);","    }","    req.Header.Set(\"Content-Type\", writer.FormDataContentType());","","    client := &http.Client{};","    resp, err := client.Do(req);","    if err != nil {","        panic(err);","    }","    defer resp.Body.Close();","","    outFile, err := os.Create(\"output_file.pdf\");","    if err != nil {","        panic(err);","    }","    defer outFile.Close();","    io.Copy(outFile, resp.Body);","}"]},".NET (C#)":{"summary":".NET (C#) Example","value":["using System;","using System.IO;","using System.Net.Http;","using System.Net.Http.Headers;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var embeddedTextFilePath = \"path/to/embedded/file.pdf\";","        var content = new MultipartFormDataContent();","        content.Add(new StreamContent(File.OpenRead(embeddedTextFilePath)), \"embedded_text_file\", \"embedded.pdf\");","        var response = await client.PostAsync(\"https://api.purecipher.com/steganography/text-text/reveal\", content);","        using var fs = new FileStream(\"output_file.pdf\", FileMode.Create);","        await response.Content.CopyToAsync(fs);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"File extracted successfully.","content":{"application/pdf":{}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"An error occurred during extraction."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/steganography/file-audio/hide":{"post":{"tags":["Steganography"],"summary":"Embed a Secret Text Document within a Cover Audio File","description":"Embeds a secret text document within a cover audio file using compression and seed-based randomization.","operationId":"embed_file_in_mp3_with_compression_and_mixing_api_api_v1_steganography_file_audio_hide_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"seed","in":"query","required":false,"schema":{"type":"integer","default":1234,"title":"Seed"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_embed_file_in_mp3_with_compression_and_mixing_api_api_v1_steganography_file_audio_hide_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/steganography/file-audio/hide\" \\","-H \"accept: audio/mpeg\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"secret_file=@secret.txt\" \\","-F \"cover_audio_file=@cover.mp3\""]},"Python":{"summary":"Python","value":["import requests","","files = {","    'secret_file': open('secret.txt', 'rb'),","    'cover_audio_file': open('cover.mp3', 'rb')","}","response = requests.post(\"https://api.purecipher.com/steganography/file-audio/hide\", files=files)","with open('output.mp3', 'wb') as f:","    f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","","const form = new FormData();","form.append('secret_file', fs.createReadStream('secret.txt'));","form.append('cover_audio_file', fs.createReadStream('cover.mp3'));","","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/file-audio/hide',","    headers: form.getHeaders()","};","","const req = https.request(options, (res) => {","    const fileStream = fs.createWriteStream('output.mp3');","    res.pipe(fileStream);","});","","form.pipe(req);","","req.on('error', (err) => {","    console.error(err);","});"]}}}}},"responses":{"200":{"description":"Successfully Embedded Secret File in Audio","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"Secret File Not Found in Audio","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"}}},"example":{"detail":"Embedded data not found."}}}},"500":{"description":"Internal Server Error - Embedding Failure","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"}}},"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/steganography/file-audio/reveal":{"post":{"tags":["Steganography"],"summary":"Reveal the Secret Text from an Embedded Cover Audio File","description":"Reveals a secret text document that was previously embedded within a cover audio file.","operationId":"extract_and_decrypt_file_from_mp3_api_api_v1_steganography_file_audio_reveal_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"file_extension","in":"query","required":true,"schema":{"type":"string","title":"File Extension"}},{"name":"seed","in":"query","required":false,"schema":{"type":"integer","default":1234,"title":"Seed"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_extract_and_decrypt_file_from_mp3_api_api_v1_steganography_file_audio_reveal_post"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/steganography/file-audio/reveal\" \\","-H \"accept: application/octet-stream\" \\","-H \"Content-Type: multipart/form-data\" \\","-F \"file_extension=txt\" \\","-F \"embedded_audio_file=@output.mp3\""]},"Python":{"summary":"Python","value":["import requests","","files = {","    'embedded_audio_file': open('output.mp3', 'rb')","}","data = {","    'file_extension': 'txt'","}","response = requests.post(\"https://api.purecipher.com/steganography/file-audio/reveal\", files=files, data=data)","with open('revealed_secret.txt', 'wb') as f:","    f.write(response.content)"]},"JavaScript (Node.js)":{"summary":"JavaScript","value":["const FormData = require('form-data');","const fs = require('fs');","const https = require('https');","","const form = new FormData();","form.append('embedded_audio_file', fs.createReadStream('output.mp3'));","form.append('file_extension', 'txt');","","const options = {","    method: 'POST',","    host: 'api.purecipher.com',","    path: '/file-audio/reveal',","    headers: form.getHeaders()","};","","const req = https.request(options, (res) => {","    const fileStream = fs.createWriteStream('revealed_secret.txt');","    res.pipe(fileStream);","});","","form.pipe(req);","","req.on('error', (err) => {","    console.error(err);","});"]}}}}},"responses":{"200":{"description":"Successfully Extracted Secret File from Audio","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"Secret File Not Found in Audio","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"}}},"example":{"detail":"Embedded data not found."}}}},"500":{"description":"Internal Server Error - Extraction Failure","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"}}},"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/steganography/detect":{"post":{"tags":["Steganography"],"summary":"Analyze an Image for Hidden Content","description":"This endpoint analyzes an uploaded file using advanced analytical techniques to detect the presence of hidden content.\nIt returns a boolean value indicating whether hidden content is suspected within the file and optionally generates a detailed report.\n\nSupported file types include images (PNG, JPEG, GIF, BMP, TIFF, WebP), audio (WAV, MP3, OGG, FLAC),\nvideo (MP4, AVI, MOV, MKV), documents (PDF, DOC, DOCX, XLS, XLSX), and various other formats.","operationId":"detect_steganography_api_v1_steganography_detect_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_detect_steganography_api_v1_steganography_detect_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/lineage/record/":{"post":{"tags":["Data Lineage"],"summary":"Create a Lineage Record","description":"Create a new lineage record that captures details such as data flow, relationships, and metadata for tracking and tracing data lineage within the system.","operationId":"create_lineage_record_api_v1_lineage_record__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineageRecord"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/lineage/record/\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"operation\":\"INSERT\",\"timestamp\":\"2024-08-31T12:00:00Z\",\"operator\":\"UserA\",\"source\":\"TableA\",\"destination\":\"TableB\",\"description\":\"Inserting data\"}'"]},"Python":{"summary":"Python","value":["import requests","import json","","data = {","    \"operation\": \"INSERT\",","    \"timestamp\": \"2024-08-31T12:00:00Z\",","    \"operator\": \"UserA\",","    \"source\": \"TableA\",","    \"destination\": \"TableB\",","    \"description\": \"Inserting data\"","}","","response = requests.post(\"https://api.purecipher.com/lineage/record/\",","                         headers={\"Content-Type\": \"application/json\"},","                         data=json.dumps(data))","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const https = require('https');","const data = JSON.stringify({","  operation: 'INSERT',","  timestamp: '2024-08-31T12:00:00Z',","  operator: 'UserA',","  source: 'TableA',","  destination: 'TableB',","  description: 'Inserting data'","});","","const options = {","  hostname: 'api.purecipher.com',","  path: '/record/',","  method: 'POST',","  headers: {","    'Content-Type': 'application/json',","    'Content-Length': data.length","  }","};","","const req = https.request(options, (res) => {","  let body = '';","  res.on('data', (chunk) => { body += chunk; });","  res.on('end', () => { console.log(JSON.parse(body)); });","});","","req.on('error', (e) => { console.error(e); });","req.write(data);","req.end();"]},"Go":{"summary":"Go","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    data := map[string]string{","        \"operation\":    \"INSERT\",","        \"timestamp\":    \"2024-08-31T12:00:00Z\",","        \"operator\":     \"UserA\",","        \"source\":       \"TableA\",","        \"destination\":  \"TableB\",","        \"description\":  \"Inserting data\",","    }","","    jsonData, _ := json.Marshal(data)","    resp, err := http.Post(\"https://api.purecipher.com/lineage/record/\", \"application/json\", bytes.NewBuffer(jsonData))","    if err != nil {","        panic(err)","    }","","    defer resp.Body.Close()","    fmt.Println(\"Lineage record created successfully\")","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var data = new {","            operation = \"INSERT\",","            timestamp = \"2024-08-31T12:00:00Z\",","            operator = \"UserA\",","            source = \"TableA\",","            destination = \"TableB\",","            description = \"Inserting data\"","        };","","        var content = new StringContent(","            Newtonsoft.Json.JsonConvert.SerializeObject(data),","            Encoding.UTF8,","            \"application/json\"","        );","","        var response = await client.PostAsync(\"https://api.purecipher.com/lineage/record/\", content);","        var result = await response.Content.ReadAsStringAsync();","        Console.WriteLine(result);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Lineage Record Creation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLineageRecordResponse","properties":{"destination":{"type":"string","title":"Destination"}},"type":"object","required":["destination"],"title":"CreateLineageRecordResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Internal Server Error"}}}},"400":{"description":"Bad Request - Missing or invalid input","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Missing required field: operation"}}}},"401":{"description":"Unauthorized - Invalid API key","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid API key"}}}},"403":{"description":"Forbidden - Insufficient permissions","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Permission denied"}}}},"422":{"description":"Unprocessable Entity - Invalid data format","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid data format"}}}},"503":{"description":"Service Unavailable - Under maintenance or overloaded","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Service temporarily unavailable"}}}}}}},"/api/v1/lineage/retrieve/":{"post":{"tags":["Data Lineage"],"summary":"Retrieve a Lineage Record","description":"Retrieve a lineage record based on the provided criteria. This allows users to query and access specific data lineage details, including data flow, relationships, and metadata for tracking and tracing purposes.","operationId":"retrieve_lineage_record_api_v1_lineage_retrieve__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LineageRetrieve"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/lineage/retrieve/\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"DataId\":\"12345\"}'"]},"Python":{"summary":"Python","value":["import requests","import json","","data = {\"DataId\": \"12345\"}","","response = requests.post(\"https://api.purecipher.com/lineage/retrieve/\",","                         headers={\"Content-Type\": \"application/json\"},","                         data=json.dumps(data))","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const https = require('https');","const data = JSON.stringify({","  DataId: '12345'","});","","const options = {","  hostname: 'api.purecipher.com',","  path: '/retrieve/',","  method: 'POST',","  headers: {","    'Content-Type': 'application/json',","    'Content-Length': data.length","  }","};","","const req = https.request(options, (res) => {","  let body = '';","  res.on('data', (chunk) => { body += chunk; });","  res.on('end', () => { console.log(JSON.parse(body)); });","});","","req.on('error', (e) => { console.error(e); });","req.write(data);","req.end();"]},"Go":{"summary":"Go","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    data := map[string]string{","        \"DataId\": \"12345\",","    }","","    jsonData, _ := json.Marshal(data)","    resp, err := http.Post(\"https://api.purecipher.com/lineage/retrieve/\", \"application/json\", bytes.NewBuffer(jsonData))","    if err != nil {","        panic(err)","    }","","    defer resp.Body.Close()","    var result map[string]interface{}","    json.NewDecoder(resp.Body).Decode(&result)","    fmt.Println(result)","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var data = new {","            DataId = \"12345\"","        };","","        var content = new StringContent(","            Newtonsoft.Json.JsonConvert.SerializeObject(data),","            Encoding.UTF8,","            \"application/json\"","        );","","        var response = await client.PostAsync(\"https://api.purecipher.com/lineage/retrieve/\", content);","        var result = await response.Content.ReadAsStringAsync();","        Console.WriteLine(result);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Lineage Record Retrieval","content":{"application/json":{"schema":{"properties":{"Details":{"items":{"properties":{"operation":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"operator":{"type":"string"},"source":{"type":"string"},"destination":{"type":"string"},"description":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}}},"400":{"description":"Bad Request - Missing or invalid DataId","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Missing required field: DataId"}}}},"401":{"description":"Unauthorized - Invalid API key","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid API key"}}}},"403":{"description":"Forbidden - Insufficient permissions","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Permission denied"}}}},"404":{"description":"Not Found - Record not found","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Record not found"}}}},"422":{"description":"Unprocessable Entity - Invalid DataId format","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Invalid DataId format"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Internal Server Error"}}}},"503":{"description":"Service Unavailable - Under maintenance or overloaded","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Service temporarily unavailable"}}}}}}},"/api/v1/provenance/insert/":{"post":{"tags":["Data Provenance"],"summary":"Create a Provenance Record","description":"Create a new provenance record to track the origin, history, and ownership of data. This helps establish data authenticity and allows users to trace the data's lifecycle.","operationId":"create_lineage_record_api_v1_provenance_insert__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvenanceRecord"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/provenance/insert/\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"origin\":\"SourceA\",\"received_by\":\"ReceiverB\",\"date_recorded\":\"2024-08-31T12:00:00Z\",\"protocol\":\"HTTP\",\"format\":\"JSON\",\"description\":\"Data transfer\"}'"]},"Python":{"summary":"Python","value":["import requests","import json","","data = {","    \"origin\": \"TableA\",","    \"received_by\": \"ReceiverA\",","    \"date_recorded\": \"2024-08-31T12:00:00Z\",","    \"protocol\": \"HTTP\",","    \"format\": \"JSON\",","    \"description\": \"Data transfer\"","}","","response = requests.post(\"https://api.purecipher.com/provenance/insert/\",","                         headers={\"Content-Type\": \"application/json\"},","                         data=json.dumps(data))","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const https = require('https');","const data = JSON.stringify({","  origin: 'SourceA',","  received_by: 'ReceiverB',","  date_recorded: '2024-08-31T12:00:00Z',","  protocol: 'HTTP',","  format: 'JSON',","  description: 'Data transfer'","});","","const options = {","  hostname: 'api.purecipher.com',","  path: '/insert/',","  method: 'POST',","  headers: {","    'Content-Type': 'application/json',","    'Content-Length': data.length","  }","};","","const req = https.request(options, (res) => {","  let body = '';","  res.on('data', (chunk) => { body += chunk; });","  res.on('end', () => { console.log(JSON.parse(body)); });","});","","req.on('error', (e) => { console.error(e); });","req.write(data);","req.end();"]},"Go":{"summary":"Go","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    data := map[string]string{","        \"origin\":       \"SourceA\",","        \"received_by\":  \"ReceiverB\",","        \"date_recorded\": \"2024-08-31T12:00:00Z\",","        \"protocol\":    \"HTTP\",","        \"format\":      \"JSON\",","        \"description\": \"Data transfer\",","    }","","    jsonData, _ := json.Marshal(data)","    resp, err := http.Post(\"https://api.purecipher.com/provenance/insert/\", \"application/json\", bytes.NewBuffer(jsonData))","    if err != nil {","        panic(err)","    }","","    defer resp.Body.Close()","    fmt.Println(\"Provenance record created successfully\")","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var data = new {","            origin = \"SourceA\",","            received_by = \"ReceiverB\",","            date_recorded = \"2024-08-31T12:00:00Z\",","            protocol = \"HTTP\",","            format = \"JSON\",","            description = \"Data transfer\"","        };","","        var content = new StringContent(","            Newtonsoft.Json.JsonConvert.SerializeObject(data),","            Encoding.UTF8,","            \"application/json\"","        );","","        var response = await client.PostAsync(\"https://api.purecipher.com/provenance/insert/\", content);","        var result = await response.Content.ReadAsStringAsync();","        Console.WriteLine(result);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Provenance Record Creation","content":{"application/json":{"schema":{}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/provenance/verify/":{"post":{"tags":["Data Provenance"],"summary":"Verify a Provenance Record","description":"Verify the provenance of a record based on the provided input. This endpoint retrieves and confirms the origin, history, and authenticity of data, ensuring its integrity throughout its lifecycle.","operationId":"retrieve_provenance_record_api_v1_provenance_verify__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvenanceRetrieve"},"examples":{"Curl":{"summary":"Curl","value":["curl -X POST \"https://api.purecipher.com/provenance/verify/\" \\","-H \"accept: application/json\" \\","-H \"Content-Type: application/json\" \\","-d '{\"DataId\":\"TableB\"}'"]},"Python":{"summary":"Python","value":["import requests","import json","","data = {\"DataId\": \"12345\"}","","response = requests.post(\"https://api.purecipher.com/provenance/verify/\",","                         headers={\"Content-Type\": \"application/json\"},","                         data=json.dumps(data))","print(response.json())"]},"JavaScript (Node.js)":{"summary":"JavaScript (Node.js)","value":["const https = require('https');","const data = JSON.stringify({","  DataId: '12345'","});","","const options = {","  hostname: 'api.purecipher.com',","  path: '/verify/',","  method: 'POST',","  headers: {","    'Content-Type': 'application/json',","    'Content-Length': data.length","  }","};","","const req = https.request(options, (res) => {","  let body = '';","  res.on('data', (chunk) => { body += chunk; });","  res.on('end', () => { console.log(JSON.parse(body)); });","});","","req.on('error', (e) => { console.error(e); });","req.write(data);","req.end();"]},"Go":{"summary":"Go","value":["package main;","","import (","    \"bytes\"","    \"encoding/json\"","    \"fmt\"","    \"net/http\"",")","","func main() {","    data := map[string]string{","        \"DataId\": \"12345\",","    }","","    jsonData, _ := json.Marshal(data)","    resp, err := http.Post(\"https://api.purecipher.com/provenance/verify/\", \"application/json\", bytes.NewBuffer(jsonData))","    if err != nil {","        panic(err)","    }","","    defer resp.Body.Close()","    var result map[string]interface{}","    json.NewDecoder(resp.Body).Decode(&result)","    fmt.Println(result)","}"]},".NET (C#)":{"summary":".NET (C#)","value":["using System;","using System.Net.Http;","using System.Text;","using System.Threading.Tasks;","","class Program {","    private static async Task Main() {","        var client = new HttpClient();","        var data = new {","            DataId = \"12345\"","        };","","        var content = new StringContent(","            Newtonsoft.Json.JsonConvert.SerializeObject(data),","            Encoding.UTF8,","            \"application/json\"","        );","","        var response = await client.PostAsync(\"https://api.purecipher.com/provenance/verify/\", content);","        var result = await response.Content.ReadAsStringAsync();","        Console.WriteLine(result);","    }","}"]}}}},"required":true},"responses":{"200":{"description":"Successful Provenance Record Verification","content":{"application/json":{"schema":{}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string"}},"type":"object"},"example":{"detail":"Internal Server Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/register":{"post":{"tags":["Internal: Authentication"],"summary":"Register User","operationId":"register_user_api_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__registration__RegisterInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/verify-otp":{"post":{"tags":["Internal: Authentication"],"summary":"Verify Otp","operationId":"verify_otp_api_v1_auth_verify_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__registration__OTPVerification"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/complete-registration":{"post":{"tags":["Internal: Authentication"],"summary":"Complete Registration","operationId":"complete_registration_api_v1_auth_complete_registration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteRegistration"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/resend-otp":{"post":{"tags":["Internal: Authentication"],"summary":"Resend Otp","operationId":"resend_otp_api_v1_auth_resend_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__registration__ResendOTP"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["Internal: Authentication"],"summary":"Login","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__login__LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/user/get-api-token":{"get":{"tags":["Internal: User"],"summary":"Get Api Token","operationId":"get_api_token_api_v1_user_get_api_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Api Token Api V1 User Get Api Token Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/user/get-profile":{"get":{"tags":["Internal: User"],"summary":"Get Profile","operationId":"get_profile_api_v1_user_get_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Profile Api V1 User Get Profile Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/user/get-profile2":{"get":{"tags":["Internal: User"],"summary":"Get Profile2","operationId":"get_profile2_api_v1_user_get_profile2_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Profile2 Api V1 User Get Profile2 Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/user/update-password":{"post":{"tags":["Internal: User"],"summary":"Update Password","operationId":"update_password_api_v1_user_update_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/user/api-usage":{"get":{"tags":["Internal: User"],"summary":"Get Api Usage","operationId":"get_api_usage_api_v1_user_api_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Api Usage Api V1 User Api Usage Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/api-usage/get":{"post":{"tags":["Internal: api-usage"],"summary":"Get Api Usage","operationId":"get_api_usage_api_v1_api_usage_get_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetApiUsageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiUsageLogResponse"},"type":"array","title":"Response Get Api Usage Api V1 Api Usage Get Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/api-usage/today":{"get":{"tags":["Internal: api-usage"],"summary":"Get Api Usage Today","operationId":"get_api_usage_today_api_v1_api_usage_today_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiUsageLogResponse"},"type":"array","title":"Response Get Api Usage Today Api V1 Api Usage Today Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/api-usage/this_week":{"get":{"tags":["Internal: api-usage"],"summary":"Get Api Usage This Week","operationId":"get_api_usage_this_week_api_v1_api_usage_this_week_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiUsageLogResponse"},"type":"array","title":"Response Get Api Usage This Week Api V1 Api Usage This Week Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/api-usage/this_month":{"get":{"tags":["Internal: api-usage"],"summary":"Get Api Usage This Month","operationId":"get_api_usage_this_month_api_v1_api_usage_this_month_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiUsageLogResponse"},"type":"array","title":"Response Get Api Usage This Month Api V1 Api Usage This Month Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/api-usage/this_year":{"get":{"tags":["Internal: api-usage"],"summary":"Get Api Usage This Year","operationId":"get_api_usage_this_year_api_v1_api_usage_this_year_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiUsageLogResponse"},"type":"array","title":"Response Get Api Usage This Year Api V1 Api Usage This Year Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/token/get-token":{"post":{"tags":["Internal: api-token"],"summary":"Get Token","description":"Retrieve the token value from the user model using the provided access token.","operationId":"get_token_api_v1_token_get_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessToken"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/verify-access-token":{"post":{"tags":["Internal: Verify Token"],"summary":"Verify Access Token","operationId":"verify_access_token_api_v1_auth_verify_access_token_post","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh-token":{"post":{"tags":["Internal: Verify Token"],"summary":"Refresh Token","operationId":"refresh_token_api_v1_auth_refresh_token_post","parameters":[{"name":"refresh_token","in":"query","required":true,"schema":{"type":"string","title":"Refresh Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/token/new-refresh-token":{"post":{"tags":["Internal: Refresh Token"],"summary":"Refresh Access Token","operationId":"refresh_access_token_api_v1_token_new_refresh_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshToken"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/token/update-both-token":{"post":{"tags":["Internal: Refresh Token"],"summary":"Refresh Token","operationId":"refresh_token_api_v1_token_update_both_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTokens"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/forget-password/":{"post":{"tags":["Internal: Forget Password"],"summary":"Forget Password","operationId":"forget_password_api_v1_auth_forget_password__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailValidation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/reset-password/":{"post":{"tags":["Internal: Forget Password"],"summary":"Reset Password","operationId":"reset_password_api_v1_auth_reset_password__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__forget_password__ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/subscribe":{"post":{"tags":["Internal: Subscription"],"summary":"Create Subscription","operationId":"create_subscription_api_v1_subscription_subscribe_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"price_id","in":"query","required":true,"schema":{"type":"string","title":"Price Id"}},{"name":"payment_method_id","in":"query","required":true,"schema":{"type":"string","title":"Payment Method Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/create-subscription":{"post":{"tags":["Internal: Subscription"],"summary":"Create Subscription From Stripe Endpoint","operationId":"create_subscription_from_stripe_endpoint_api_v1_subscription_create_subscription_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"price_id","in":"query","required":true,"schema":{"type":"string","title":"Price Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/subscription-success":{"post":{"tags":["Internal: Subscription"],"summary":"Subscription Successfull","operationId":"subscription_successfull_api_v1_subscription_subscription_success_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"priceID","in":"query","required":true,"schema":{"type":"string","title":"Priceid"}},{"name":"randomID","in":"query","required":true,"schema":{"type":"string","title":"Randomid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/cancel":{"post":{"tags":["Internal: Subscription"],"summary":"Cancel Subscription","operationId":"cancel_subscription_api_v1_subscription_cancel_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"subscription_id","in":"query","required":true,"schema":{"type":"string","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/undo-cancel":{"post":{"tags":["Internal: Subscription"],"summary":"Undo Cancel Subscription","description":"Clear cancel_at_period_end so the subscription renews. User must own the subscription.","operationId":"undo_cancel_subscription_api_v1_subscription_undo_cancel_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"subscription_id","in":"query","required":true,"schema":{"type":"string","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/leave-intent":{"post":{"tags":["Internal: Subscription"],"summary":"Create Leave Intent","description":"Register leave-account intent for Free users; send win-back email with Stay vs Close links.","operationId":"create_leave_intent_api_v1_subscription_leave_intent_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/subscription/close-account":{"post":{"tags":["Internal: Subscription"],"summary":"Close Account","description":"Close account using token from leave-intent email. No auth required.","operationId":"close_account_api_v1_subscription_close_account_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseAccountBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/change-plan":{"post":{"tags":["Internal: Subscription"],"summary":"Change Plan","description":"Downgrade to a lower plan or to Free. For upgrades use the Checkout flow.","operationId":"change_plan_api_v1_subscription_change_plan_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"target_price_id","in":"query","required":true,"schema":{"type":"string","title":"Target Price Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/webhook":{"post":{"tags":["Internal: Subscription"],"summary":"Stripe Webhook","operationId":"stripe_webhook_api_v1_subscription_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/subscription/my-invoices":{"get":{"tags":["Internal: Subscription"],"summary":"Get My Invoices","description":"Return Stripe invoices for the authenticated user. Individual users only; empty when Stripe disabled.","operationId":"get_my_invoices_api_v1_subscription_my_invoices_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response Get My Invoices Api V1 Subscription My Invoices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/my-payments":{"get":{"tags":["Internal: Subscription"],"summary":"Get My Payments","description":"Return paid invoices (payments) for the authenticated user. Empty when Stripe disabled.","operationId":"get_my_payments_api_v1_subscription_my_payments_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response Get My Payments Api V1 Subscription My Payments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subscription/mode":{"get":{"tags":["Internal: Subscription"],"summary":"Get Stripe Mode","description":"Return Stripe billing mode. Use stripe_test_mode to show a test-mode banner when testing upgrades/downgrades.","operationId":"get_stripe_mode_api_v1_subscription_mode_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/subscription/plans":{"get":{"tags":["Internal: Subscription"],"summary":"Get All Plans","operationId":"get_all_plans_api_v1_subscription_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/subscription/current-plan":{"get":{"tags":["Internal: Subscription"],"summary":"Get Current Plan","operationId":"get_current_plan_api_v1_subscription_current_plan_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/transactions/transactions":{"get":{"tags":["Internal: Transactions"],"summary":"Get User Transactions","description":"Return payment history for the authenticated user (transactions logged from Stripe webhooks).","operationId":"get_user_transactions_api_v1_transactions_transactions_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"title":"Response Get User Transactions Api V1 Transactions Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/register-company_admin":{"post":{"tags":["Internal: Enterprise Register"],"summary":"Register Temp User","operationId":"register_temp_user_api_v1_enterprise_users_register_company_admin_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__admin_register__RegisterInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/register-user":{"post":{"tags":["Internal: Enterprise Register"],"summary":"Register User","operationId":"register_user_api_v1_enterprise_users_register_user_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__admin_register__RegisterUser"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/forget-password/":{"post":{"tags":["Internal: Enterprise User Forget Password"],"summary":"Forget Password","description":"Endpoint to initiate the forget password process by validating the provided email address.\n\nArgs:\n    email_data (EmailValidation): Pydantic model containing the email address to validate.\n\nReturns:\n    dict: A dictionary indicating the success or failure of the forget password process.","operationId":"forget_password_api_v1_enterprise_users_forget_password__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailValidation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/reset-password/{email_token}":{"post":{"tags":["Internal: Enterprise User Forget Password"],"summary":"Reset Password","description":"Endpoint to reset the password for the provided email token.\n\nArgs:\n    email_token (str): The email token extracted from the URL.\n    reset_request (ResetPasswordRequest): The request body containing the new password.\n\nReturns:\n    dict: A dictionary indicating the success or failure of the password reset process.","operationId":"reset_password_api_v1_enterprise_users_reset_password__email_token__post","parameters":[{"name":"email_token","in":"path","required":true,"schema":{"type":"string","title":"Email Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__employee_forget_password__ResetPasswordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/create-employee-account":{"post":{"tags":["Internal: Enterprise Admin Create User"],"summary":"Register Temp User","operationId":"register_temp_user_api_v1_enterprise_users_create_employee_account_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__create_user_by_admin__RegisterUser"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/login-employee":{"post":{"tags":["Internal: Enterprise Admin Create User"],"summary":"Login","operationId":"login_api_v1_enterprise_users_login_employee_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__create_user_by_admin__LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/docker_login":{"post":{"tags":["Internal: docker Enterprise User"],"summary":"Login","operationId":"login_api_v1_enterprise_users_docker_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__email_login_enterprise__LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/enterpriseid":{"post":{"tags":["Internal: docker Enterprise User"],"summary":"Requestenterpriseid","operationId":"requestEnterpriseID_api_v1_enterprise_users_enterpriseid_post","parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string","title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise-admin/create-admin":{"post":{"tags":["Internal: Enterprise Admin"],"summary":"Create Admin","operationId":"create_admin_api_v1_enterprise_admin_create_admin_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Admin Api V1 Enterprise Admin Create Admin Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise-admin/delete-admin":{"delete":{"tags":["Internal: Enterprise Admin"],"summary":"Delete Admin","operationId":"delete_admin_api_v1_enterprise_admin_delete_admin_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Admin Api V1 Enterprise Admin Delete Admin Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise-admin/login":{"post":{"tags":["Internal: Enterprise Admin"],"summary":"Login","operationId":"login_api_v1_enterprise_admin_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__enterprise_admin__LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Login Api V1 Enterprise Admin Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise-admin/enterprise-users/{enterprise_id}":{"get":{"tags":["Internal: Enterprise Admin"],"summary":"Get Enterprise Users","operationId":"get_enterprise_users_api_v1_enterprise_admin_enterprise_users__enterprise_id__get","parameters":[{"name":"enterprise_id","in":"path","required":true,"schema":{"type":"integer","title":"Enterprise Id"}},{"name":"timeframe","in":"query","required":true,"schema":{"type":"string","title":"Timeframe"}},{"name":"from_date","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"From Date"}},{"name":"until_date","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Until Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response Get Enterprise Users Api V1 Enterprise Admin Enterprise Users  Enterprise Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise-admin/api-usage/{enterprise_id}":{"get":{"tags":["Internal: Enterprise Admin"],"summary":"Get Api Usage","operationId":"get_api_usage_api_v1_enterprise_admin_api_usage__enterprise_id__get","parameters":[{"name":"enterprise_id","in":"path","required":true,"schema":{"type":"integer","title":"Enterprise Id"}},{"name":"timeframe","in":"query","required":true,"schema":{"type":"string","title":"Timeframe"}},{"name":"from_date","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"From Date"}},{"name":"until_date","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Until Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response Get Api Usage Api V1 Enterprise Admin Api Usage  Enterprise Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise-admin/create-user":{"post":{"tags":["Internal: Enterprise Admin"],"summary":"Create User","operationId":"create_user_api_v1_enterprise_admin_create_user_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create User Api V1 Enterprise Admin Create User Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise-admin/delete-user":{"delete":{"tags":["Internal: Enterprise Admin"],"summary":"Delete User","operationId":"delete_user_api_v1_enterprise_admin_delete_user_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDeleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete User Api V1 Enterprise Admin Delete User Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_users/login":{"post":{"tags":["Internal: Enterprise Login"],"summary":"Login","operationId":"login_api_v1_enterprise_users_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__admin_login__LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_admin/new-refresh-token":{"post":{"tags":["Internal: Enterprise Admin Refresh"],"summary":"Refresh Access Token","operationId":"refresh_access_token_api_v1_enterprise_admin_new_refresh_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshToken"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_admin/update-both-token":{"post":{"tags":["Internal: Enterprise Admin Refresh"],"summary":"Refresh Token","operationId":"refresh_token_api_v1_enterprise_admin_update_both_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTokens"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_admin/forget-password/":{"post":{"tags":["Internal: Enterprise Admin Forget Password"],"summary":"Forget Password","description":"Endpoint to initiate the forget password process by validating the provided email address.\n\nArgs:\n    email_data (EmailValidation): Pydantic model containing the email address to validate.\n\nReturns:\n    dict: A dictionary indicating the success or failure of the forget password process.","operationId":"forget_password_api_v1_enterprise_admin_forget_password__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailValidation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/enterprise_admin/reset-password/{email_token}":{"post":{"tags":["Internal: Enterprise Admin Forget Password"],"summary":"Reset Password","description":"Endpoint to reset the password for the provided email token.\n\nArgs:\n    email_token (str): The email token extracted from the URL.\n    reset_request (ResetPasswordRequest): The request body containing the new password.\n\nReturns:\n    dict: A dictionary indicating the success or failure of the password reset process.","operationId":"reset_password_api_v1_enterprise_admin_reset_password__email_token__post","parameters":[{"name":"email_token","in":"path","required":true,"schema":{"type":"string","title":"Email Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__admin_forget_password__ResetPasswordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/create-superuser":{"post":{"tags":["Internal: Super User"],"summary":"Create Superuser","description":"Create a new superuser. Allowed only for existing superusers or when X-Superuser-Bootstrap-Secret matches.","operationId":"create_superuser_api_v1_super_user_create_superuser_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuperUserCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Superuser Api V1 Super User Create Superuser Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/update-superuser/{superuser_id}":{"put":{"tags":["Internal: Super User"],"summary":"Update Superuser","operationId":"update_superuser_api_v1_super_user_update_superuser__superuser_id__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"superuser_id","in":"path","required":true,"schema":{"type":"integer","title":"Superuser Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuperUserUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Superuser Api V1 Super User Update Superuser  Superuser Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/delete-superuser/{superuser_id}":{"delete":{"tags":["Internal: Super User"],"summary":"Delete Superuser","operationId":"delete_superuser_api_v1_super_user_delete_superuser__superuser_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"superuser_id","in":"path","required":true,"schema":{"type":"integer","title":"Superuser Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Superuser Api V1 Super User Delete Superuser  Superuser Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/create-enterprise":{"post":{"tags":["Internal: Super User"],"summary":"Create Enterprise","operationId":"create_enterprise_api_v1_super_user_create_enterprise_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Enterprise Api V1 Super User Create Enterprise Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/update-enterprise/{enterprise_id}":{"put":{"tags":["Internal: Super User"],"summary":"Update Enterprise","operationId":"update_enterprise_api_v1_super_user_update_enterprise__enterprise_id__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"enterprise_id","in":"path","required":true,"schema":{"type":"integer","title":"Enterprise Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Enterprise Api V1 Super User Update Enterprise  Enterprise Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/delete-enterprise/{enterprise_id}":{"delete":{"tags":["Internal: Super User"],"summary":"Delete Enterprise","operationId":"delete_enterprise_api_v1_super_user_delete_enterprise__enterprise_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"enterprise_id","in":"path","required":true,"schema":{"type":"integer","title":"Enterprise Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Enterprise Api V1 Super User Delete Enterprise  Enterprise Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/create-admin":{"post":{"tags":["Internal: Super User"],"summary":"Create Admin","operationId":"create_admin_api_v1_super_user_create_admin_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Admin Api V1 Super User Create Admin Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/update-admin/{admin_id}":{"put":{"tags":["Internal: Super User"],"summary":"Update Admin","operationId":"update_admin_api_v1_super_user_update_admin__admin_id__put","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"admin_id","in":"path","required":true,"schema":{"type":"integer","title":"Admin Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Admin Api V1 Super User Update Admin  Admin Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/delete-admin/{admin_id}":{"delete":{"tags":["Internal: Super User"],"summary":"Delete Admin","operationId":"delete_admin_api_v1_super_user_delete_admin__admin_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"admin_id","in":"path","required":true,"schema":{"type":"integer","title":"Admin Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Admin Api V1 Super User Delete Admin  Admin Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/enterprises":{"get":{"tags":["Internal: Super User"],"summary":"Get All Enterprises","operationId":"get_all_enterprises_api_v1_super_user_enterprises_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{},"type":"array","title":"Response Get All Enterprises Api V1 Super User Enterprises Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/enterprise-details/{enterprise_id}":{"get":{"tags":["Internal: Super User"],"summary":"Get Enterprise Details","operationId":"get_enterprise_details_api_v1_super_user_enterprise_details__enterprise_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"enterprise_id","in":"path","required":true,"schema":{"type":"integer","title":"Enterprise Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Enterprise Details Api V1 Super User Enterprise Details  Enterprise Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/impersonate":{"post":{"tags":["Internal: Super User"],"summary":"Impersonate User","description":"Issue a short-lived token to view the app as an individual user (read-only experience).\nSuperUser can see activity and reproduce issues; cannot change settings, plan, or password.","operationId":"impersonate_user_api_v1_super_user_impersonate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImpersonateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Impersonate User Api V1 Super User Impersonate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/individual-users":{"get":{"tags":["Internal: Super User"],"summary":"Get All Individual Users","operationId":"get_all_individual_users_api_v1_super_user_individual_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{},"type":"array","title":"Response Get All Individual Users Api V1 Super User Individual Users Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/individual-users/{user_id}":{"delete":{"tags":["Internal: Super User"],"summary":"Delete Individual User","operationId":"delete_individual_user_api_v1_super_user_individual_users__user_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Individual User Api V1 Super User Individual Users  User Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/individual-users/{user_id}/suspend":{"patch":{"tags":["Internal: Super User"],"summary":"Suspend Individual User","operationId":"suspend_individual_user_api_v1_super_user_individual_users__user_id__suspend_patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualUserSuspendRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Suspend Individual User Api V1 Super User Individual Users  User Id  Suspend Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/individual-users/{user_id}/quota":{"patch":{"tags":["Internal: Super User"],"summary":"Modify Individual User Quota","description":"Set API calls remaining (quota) for an individual user. Quota resets monthly on the user's signup date.","operationId":"modify_individual_user_quota_api_v1_super_user_individual_users__user_id__quota_patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyQuotaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Modify Individual User Quota Api V1 Super User Individual Users  User Id  Quota Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/individual-users/{user_id}/set-plan":{"patch":{"tags":["Internal: Super User"],"summary":"Set Individual User Plan","description":"Set an individual user's subscription plan (upgrade or downgrade). Superuser only.\nWhen downgrading to Free: if the user has an active Stripe subscription, it is scheduled to\ncancel at period end (billing stops after current period); user is set to Free in DB immediately.","operationId":"set_individual_user_plan_api_v1_super_user_individual_users__user_id__set_plan_patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetPlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Set Individual User Plan Api V1 Super User Individual Users  User Id  Set Plan Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/create-individual-user":{"post":{"tags":["Internal: Super User"],"summary":"Create Individual User","description":"Create a new individual user (users table). Only superusers can call this.","operationId":"create_individual_user_api_v1_super_user_create_individual_user_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualUserCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Individual User Api V1 Super User Create Individual User Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/api-usage-by-user":{"post":{"tags":["Internal: Super User"],"summary":"Get Api Usage By User","description":"Return API usage logs for a specific user (individual or enterprise). Superuser only.","operationId":"get_api_usage_by_user_api_v1_super_user_api_usage_by_user_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiUsageByUserRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{},"type":"array","title":"Response Get Api Usage By User Api V1 Super User Api Usage By User Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/api-usage-total":{"get":{"tags":["Internal: Super User"],"summary":"Get Api Usage Total","description":"Return aggregated API usage across all users (individual + enterprise) by date. Superuser only.","operationId":"get_api_usage_total_api_v1_super_user_api_usage_total_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","title":"End Date"}},{"name":"preset","in":"query","required":false,"schema":{"type":"string","title":"Preset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Api Usage Total Api V1 Super User Api Usage Total Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/subscriptions-by-date":{"get":{"tags":["Internal: Super User"],"summary":"Get Subscriptions By Date","description":"Return new subscription counts by date for the given range. Superuser only.","operationId":"get_subscriptions_by_date_api_v1_super_user_subscriptions_by_date_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","title":"End Date"}},{"name":"preset","in":"query","required":false,"schema":{"type":"string","title":"Preset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Subscriptions By Date Api V1 Super User Subscriptions By Date Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/subscription-records":{"get":{"tags":["Internal: Super User"],"summary":"Get Subscription Records","description":"Return new subscription records with user details for the given range, latest first. Superuser only.","operationId":"get_subscription_records_api_v1_super_user_subscription_records_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","title":"End Date"}},{"name":"preset","in":"query","required":false,"schema":{"type":"string","title":"Preset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response Get Subscription Records Api V1 Super User Subscription Records Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/sync-subscriptions-from-user-plans":{"post":{"tags":["Internal: Super User"],"summary":"Sync Subscriptions From User Plans","description":"Sync subscriptions table FROM users table. Users.subscription_plan is source of truth; set subscriptions.price_id so New Subscriptions matches User Management. Superuser only.","operationId":"sync_subscriptions_from_user_plans_api_v1_super_user_sync_subscriptions_from_user_plans_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Sync Subscriptions From User Plans Api V1 Super User Sync Subscriptions From User Plans Post"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/super-user/invoices-raised":{"get":{"tags":["Internal: Super User"],"summary":"Get Stripe Invoices","description":"Return invoices sent from Stripe. Superuser only.","operationId":"get_stripe_invoices_api_v1_super_user_invoices_raised_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response Get Stripe Invoices Api V1 Super User Invoices Raised Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/payments-received":{"get":{"tags":["Internal: Super User"],"summary":"Get Stripe Payments","description":"Return payments received (paid invoices) from Stripe. Superuser only.","operationId":"get_stripe_payments_api_v1_super_user_payments_received_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response Get Stripe Payments Api V1 Super User Payments Received Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/subscription-plans-count":{"get":{"tags":["Internal: Super User"],"summary":"Get Subscription Plans Count","description":"Return number of users per subscription plan type. Superuser only.\nBy default fetches from Stripe (active subscriptions per product); falls back to DB if Stripe fails.\nUse ?source=stripe to require Stripe, ?source=db to use local DB only.","operationId":"get_subscription_plans_count_api_v1_super_user_subscription_plans_count_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"source","in":"query","required":false,"schema":{"type":"string","title":"Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response Get Subscription Plans Count Api V1 Super User Subscription Plans Count Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/audit-logs":{"get":{"tags":["Internal: Super User"],"summary":"Get Audit Logs","description":"Return audit logs with optional filters. Superuser only. Supports pagination.","operationId":"get_audit_logs_api_v1_super_user_audit_logs_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"name":"user_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Type"}},{"name":"action_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Type"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date To"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Audit Logs Api V1 Super User Audit Logs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super-user/alerts":{"get":{"tags":["Internal: Super User"],"summary":"Get Superuser Alerts","description":"Return recent subscription and payment audit events for the SuperUser notification bell. Superuser only.","operationId":"get_superuser_alerts_api_v1_super_user_alerts_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Superuser Alerts Api V1 Super User Alerts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super_user/new-refresh-token":{"post":{"tags":["Internal: Super User Refresh Token"],"summary":"Refresh Access Token","operationId":"refresh_access_token_api_v1_super_user_new_refresh_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshToken"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super_user/update-both-token":{"post":{"tags":["Internal: Super User Refresh Token"],"summary":"Refresh Token","operationId":"refresh_token_api_v1_super_user_update_both_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTokens"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super_user/forget-password/":{"post":{"tags":["Internal: Super User Forget Password"],"summary":"Forget Password","description":"Endpoint to initiate the forget password process by validating the provided email address.\n\nArgs:\n    email_data (EmailValidation): Pydantic model containing the email address to validate.\n\nReturns:\n    dict: A dictionary indicating the success or failure of the forget password process.","operationId":"forget_password_api_v1_super_user_forget_password__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailValidation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super_user/reset-password/{email_token}":{"post":{"tags":["Internal: Super User Forget Password"],"summary":"Reset Password","description":"Endpoint to reset the password for the provided email token.\n\nArgs:\n    email_token (str): The email token extracted from the URL.\n    reset_request (ResetPasswordRequest): The request body containing the new password.\n\nReturns:\n    dict: A dictionary indicating the success or failure of the password reset process.","operationId":"reset_password_api_v1_super_user_reset_password__email_token__post","parameters":[{"name":"email_token","in":"path","required":true,"schema":{"type":"string","title":"Email Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/xumw__app__routers__web__super_user_forget_password__ResetPasswordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super_user/enterprise-admin-stats":{"post":{"tags":["Internal: Super User Access to Enterprise"],"summary":"Enterpriseadminstats","operationId":"EnterpriseAdminStats_api_v1_super_user_enterprise_admin_stats_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Superuser"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/super_user/enterprise-user-stats":{"post":{"tags":["Internal: Super User Access to Enterprise"],"summary":"Enterpriseuserstats","operationId":"EnterpriseUserStats_api_v1_super_user_enterprise_user_stats_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Superuser"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ws/video/streaming":{"get":{"summary":"Basic Video Streaming","description":"WebSocket endpoint for basic video streaming","tags":["Video"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSocketMessage"}}}}}}},"/ws/video/streaming/embed":{"get":{"summary":"Embed Watermark in Streaming Video","description":"WebSocket endpoint for embedding watermark in streaming video","tags":["Video"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSocketMessage"}}}}}}},"/ws/video/streaming/remove":{"get":{"summary":"Remove Watermark from Streaming Video","description":"WebSocket endpoint for removing watermark from streaming video","tags":["Video"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSocketMessage"}}}}}}},"/ws/video/streaming/verify":{"get":{"summary":"Verify Watermark in Streaming Video","description":"WebSocket endpoint for verifying watermark in streaming video","tags":["Video"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSocketMessage"}}}}}}},"/ws/video/streaming/retrieve":{"get":{"summary":"Retrieve Watermark from Streaming Video","description":"WebSocket endpoint for retrieving watermark data from streaming video","tags":["Video"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSocketMessage"}}}}}}},"/ws/audio/streaming":{"get":{"summary":"Basic Audio Streaming","description":"WebSocket endpoint for basic audio streaming","tags":["Audio"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudioWebSocketMessage"}}}}}}},"/ws/audio/streaming/embed":{"get":{"summary":"Embed Watermark in Streaming Audio","description":"WebSocket endpoint for embedding watermark in streaming audio","tags":["Audio"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudioWebSocketMessage"}}}}}}},"/ws/audio/streaming/remove":{"get":{"summary":"Remove Watermark from Streaming Audio","description":"WebSocket endpoint for removing watermark from streaming audio","tags":["Audio"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudioWebSocketMessage"}}}}}}},"/ws/audio/streaming/verify":{"get":{"summary":"Verify Watermark in Streaming Audio","description":"WebSocket endpoint for verifying watermark in streaming audio","tags":["Audio"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudioWebSocketMessage"}}}}}}},"/ws/audio/streaming/retrieve":{"get":{"summary":"Retrieve Watermark from Streaming Audio","description":"WebSocket endpoint for retrieving watermark data from streaming audio","tags":["Audio"],"responses":{"101":{"description":"Switching Protocols","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudioWebSocketMessage"}}}}}}}},"components":{"schemas":{"AccessToken":{"properties":{"access_token":{"type":"string","title":"Access Token"}},"type":"object","required":["access_token"],"title":"AccessToken"},"AdminCreateRequest":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"enterprise_id":{"type":"integer","title":"Enterprise Id"}},"type":"object","required":["first_name","last_name","email","password","enterprise_id"],"title":"AdminCreateRequest"},"AdminDeleteRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"AdminDeleteRequest"},"AdminUpdateRequest":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"enterprise_id":{"type":"integer","title":"Enterprise Id"}},"type":"object","title":"AdminUpdateRequest"},"ApiUsageByUserRequest":{"properties":{"user_email":{"type":"string","title":"User Email"},"user_type":{"type":"string","title":"User Type"},"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"}},"type":"object","required":["user_email","user_type","start_date","end_date"],"title":"ApiUsageByUserRequest"},"Body_add_watermark_api_v1_audio_embed_post":{"properties":{"cover_file":{"type":"string","format":"binary","title":"Cover File","description":"The cover audio file"},"secret_file":{"type":"string","format":"binary","title":"Secret File","description":"The secret file to be embedded"}},"type":"object","required":["cover_file","secret_file"],"title":"Body_add_watermark_api_v1_audio_embed_post"},"Body_analyze_audio_api_v1_audio_analyze_post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File","description":"The audio file to analyze"}},"type":"object","required":["audio_file"],"title":"Body_analyze_audio_api_v1_audio_analyze_post"},"Body_analyze_video_api_v1_video_analyze_post":{"properties":{"video_file":{"type":"string","format":"binary","title":"Video File","description":"The video file to analyze"}},"type":"object","required":["video_file"],"title":"Body_analyze_video_api_v1_video_analyze_post"},"Body_compare_hashes_api_v1_hash_compare_post":{"properties":{"original_file":{"type":"string","format":"binary","title":"Original File","description":"The original file for comparison."},"extracted_file":{"type":"string","format":"binary","title":"Extracted File","description":"The extracted file for comparison."}},"type":"object","required":["original_file","extracted_file"],"title":"Body_compare_hashes_api_v1_hash_compare_post"},"Body_compress_audio_api_v1_audio_compress_audio_post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File","description":"The audio file to compress"}},"type":"object","required":["audio_file"],"title":"Body_compress_audio_api_v1_audio_compress_audio_post"},"Body_compress_video_api_v1_video_compress_video_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_compress_video_api_v1_video_compress_video_post"},"Body_conceal_file_endpoint_api_v1_unified_embed_file_post":{"properties":{"cover_file":{"type":"string","format":"binary","title":"Cover File"},"secret_file":{"type":"string","format":"binary","title":"Secret File"},"private_seed":{"type":"string","title":"Private Seed","description":"Private seed provided by the user for concealment."}},"type":"object","required":["cover_file","secret_file","private_seed"],"title":"Body_conceal_file_endpoint_api_v1_unified_embed_file_post"},"Body_convert_api_v1_audio_convert_post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File","description":"The audio file to convert"}},"type":"object","required":["audio_file"],"title":"Body_convert_api_v1_audio_convert_post"},"Body_create_signature_api_v1_signature_sign__post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"The file to be signed."}},"type":"object","required":["file"],"title":"Body_create_signature_api_v1_signature_sign__post"},"Body_decrypt_file_api_v1_encryption_decrypt__post":{"properties":{"encrypted_file":{"type":"string","format":"binary","title":"Encrypted File"}},"type":"object","required":["encrypted_file"],"title":"Body_decrypt_file_api_v1_encryption_decrypt__post"},"Body_detect_removal_api_v1_audio_detect_removal_post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File","description":"The audio file to analyze"}},"type":"object","required":["audio_file"],"title":"Body_detect_removal_api_v1_audio_detect_removal_post"},"Body_detect_removal_api_v1_video_detect_removal_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_detect_removal_api_v1_video_detect_removal_post"},"Body_detect_steganography_api_v1_steganography_detect_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"format":{"type":"string","title":"Format","default":"pdf"},"include_visualizations":{"type":"boolean","title":"Include Visualizations","default":true}},"type":"object","required":["file"],"title":"Body_detect_steganography_api_v1_steganography_detect_post"},"Body_embed_edi_file_api_v1_edix12_embed__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"watermark_mode":{"type":"string","title":"Watermark Mode"}},"type":"object","required":["file","watermark_mode"],"title":"Body_embed_edi_file_api_v1_edix12_embed__post"},"Body_embed_file_in_mp3_with_compression_and_mixing_api_api_v1_steganography_file_audio_hide_post":{"properties":{"secret_file":{"type":"string","format":"binary","title":"Secret File"},"cover_audio_file":{"type":"string","format":"binary","title":"Cover Audio File"}},"type":"object","required":["secret_file","cover_audio_file"],"title":"Body_embed_file_in_mp3_with_compression_and_mixing_api_api_v1_steganography_file_audio_hide_post"},"Body_embed_watermark_api_v1_video_embed_post":{"properties":{"cover_file":{"type":"string","format":"binary","title":"Cover File","description":"The cover video file"},"secret_file":{"type":"string","format":"binary","title":"Secret File","description":"The secret file to be embedded"}},"type":"object","required":["cover_file","secret_file"],"title":"Body_embed_watermark_api_v1_video_embed_post"},"Body_encode_to_base64_api_v1_base64_encode__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_encode_to_base64_api_v1_base64_encode__post"},"Body_encrypt_file_api_v1_encryption_encrypt__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_encrypt_file_api_v1_encryption_encrypt__post"},"Body_extract_and_decrypt_file_from_mp3_api_api_v1_steganography_file_audio_reveal_post":{"properties":{"embedded_audio_file":{"type":"string","format":"binary","title":"Embedded Audio File"}},"type":"object","required":["embedded_audio_file"],"title":"Body_extract_and_decrypt_file_from_mp3_api_api_v1_steganography_file_audio_reveal_post"},"Body_hash_document_api_v1_hash_text_post":{"properties":{"document":{"type":"string","format":"binary","title":"Document","description":"The document file to hash (PDF, Word, Excel formats supported)."}},"type":"object","required":["document"],"title":"Body_hash_document_api_v1_hash_text_post"},"Body_hash_image_api_v1_hash_image_post":{"properties":{"image_file":{"type":"string","format":"binary","title":"Image File","description":"The image file to hash (PNG, JPEG, DICOM formats supported)."}},"type":"object","required":["image_file"],"title":"Body_hash_image_api_v1_hash_image_post"},"Body_hide_api_v1_steganography_text_text_hide_post":{"properties":{"secret_text_file":{"type":"string","format":"binary","title":"Secret Text File","description":"The secret text file to be embedded."},"cover_text_file":{"type":"string","format":"binary","title":"Cover Text File","description":"The cover text file where the secret will be embedded."}},"type":"object","required":["secret_text_file","cover_text_file"],"title":"Body_hide_api_v1_steganography_text_text_hide_post"},"Body_hide_image_api_v1_reversible_image_image_hide_post":{"properties":{"cover_image":{"type":"string","format":"binary","title":"Cover Image"},"secret_image":{"type":"string","format":"binary","title":"Secret Image"}},"type":"object","required":["cover_image","secret_image"],"title":"Body_hide_image_api_v1_reversible_image_image_hide_post"},"Body_hide_image_api_v1_steganography_image_image_hide_post":{"properties":{"cover_image":{"type":"string","format":"binary","title":"Cover Image"},"secret_image":{"type":"string","format":"binary","title":"Secret Image"}},"type":"object","required":["cover_image","secret_image"],"title":"Body_hide_image_api_v1_steganography_image_image_hide_post"},"Body_hide_text_in_image_api_v1_steganography_image_text_hide_post":{"properties":{"cover_image":{"type":"string","format":"binary","title":"Cover Image","description":"The cover image where the secret text file will be embedded."},"secret_text_file":{"type":"string","format":"binary","title":"Secret Text File","description":"The secret text file to be embedded in the cover image."}},"type":"object","required":["cover_image","secret_text_file"],"title":"Body_hide_text_in_image_api_v1_steganography_image_text_hide_post"},"Body_remove_api_v1_audio_remove_post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File","description":"The watermarked audio file"}},"type":"object","required":["audio_file"],"title":"Body_remove_api_v1_audio_remove_post"},"Body_remove_secret_api_v1_steganography_image_image_remove_post":{"properties":{"uploaded_image":{"type":"string","format":"binary","title":"Uploaded Image"}},"type":"object","required":["uploaded_image"],"title":"Body_remove_secret_api_v1_steganography_image_image_remove_post"},"Body_remove_watermark_api_v1_video_remove_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_remove_watermark_api_v1_video_remove_post"},"Body_retrieve_api_v1_audio_retrieve_post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File","description":"The watermarked audio file"}},"type":"object","required":["audio_file"],"title":"Body_retrieve_api_v1_audio_retrieve_post"},"Body_reveal_api_v1_steganography_text_text_reveal_post":{"properties":{"embedded_text_file":{"type":"string","format":"binary","title":"Embedded Text File","description":"The embedded cover file from which the secret will be extracted."}},"type":"object","required":["embedded_text_file"],"title":"Body_reveal_api_v1_steganography_text_text_reveal_post"},"Body_reveal_edi_file_api_v1_edix12_reveal__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_reveal_edi_file_api_v1_edix12_reveal__post"},"Body_reveal_file_endpoint_api_v1_unified_retrieve_file_post":{"properties":{"sealed_file":{"type":"string","format":"binary","title":"Sealed File"},"private_seed":{"type":"string","title":"Private Seed","description":"Private seed provided by the user for retrieval."}},"type":"object","required":["sealed_file","private_seed"],"title":"Body_reveal_file_endpoint_api_v1_unified_retrieve_file_post"},"Body_reveal_image_api_v1_reversible_image_image_reveal_post":{"properties":{"embedded_image_file":{"type":"string","format":"binary","title":"Embedded Image File"}},"type":"object","required":["embedded_image_file"],"title":"Body_reveal_image_api_v1_reversible_image_image_reveal_post"},"Body_reveal_image_api_v1_steganography_image_image_reveal_post":{"properties":{"embedded_image_file":{"type":"string","format":"binary","title":"Embedded Image File"}},"type":"object","required":["embedded_image_file"],"title":"Body_reveal_image_api_v1_steganography_image_image_reveal_post"},"Body_reveal_text_from_image_api_v1_steganography_image_text_reveal_post":{"properties":{"embedded_image":{"type":"string","format":"binary","title":"Embedded Image","description":"The image file with the embedded secret text."}},"type":"object","required":["embedded_image"],"title":"Body_reveal_text_from_image_api_v1_steganography_image_text_reveal_post"},"Body_test_robustness_api_v1_audio_test_robustness_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"transformations":{"items":{"type":"string"},"type":"array","title":"Transformations","default":["add_noise","compression","pitch_shift","time_stretch"]}},"type":"object","required":["file"],"title":"Body_test_robustness_api_v1_audio_test_robustness_post"},"Body_test_robustness_api_v1_video_test_robustness_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"transformations":{"items":{"type":"string"},"type":"array","title":"Transformations","default":["add_noise","compression","pitch_shift","time_stretch"]}},"type":"object","required":["file"],"title":"Body_test_robustness_api_v1_video_test_robustness_post"},"Body_verify_edi_file_api_v1_edix12_verify__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_verify_edi_file_api_v1_edix12_verify__post"},"Body_verify_signature_api_v1_signature_verify__post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"The file whose signature needs to be verified."},"signature":{"type":"string","title":"Signature","description":"The base64-encoded signature to be verified."}},"type":"object","required":["file","signature"],"title":"Body_verify_signature_api_v1_signature_verify__post"},"Body_verify_watermark_api_v1_audio_verify_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_verify_watermark_api_v1_audio_verify_post"},"CloseAccountBody":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"CloseAccountBody"},"CompareResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Indicates whether the hash comparison was successful."},"match":{"type":"boolean","title":"Match","description":"True if the original and extracted files have matching hashes."},"original_hash":{"type":"string","title":"Original Hash","description":"The SHA-256 hash of the original file."},"extracted_hash":{"type":"string","title":"Extracted Hash","description":"The SHA-256 hash of the extracted file."},"error":{"type":"string","title":"Error","description":"An optional field that contains error details if the comparison fails."}},"type":"object","required":["success"],"title":"CompareResponse"},"CompleteRegistration":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"CompleteRegistration"},"ConcealRequest":{"properties":{"cover_file_base64":{"type":"string","title":"Cover File Base64","description":"Base64 encoded cover file."},"cover_file_name":{"type":"string","title":"Cover File Name","description":"Name of the cover file."},"secret_file_base64":{"type":"string","title":"Secret File Base64","description":"Base64 encoded secret file."},"secret_file_name":{"type":"string","title":"Secret File Name","description":"Name of the secret file."},"private_seed":{"type":"string","title":"Private Seed","description":"Private seed provided by the user for concealment."}},"type":"object","required":["cover_file_base64","cover_file_name","secret_file_base64","secret_file_name","private_seed"],"title":"ConcealRequest"},"ConcealResponse":{"properties":{"result":{"type":"object","title":"Result"}},"type":"object","required":["result"],"title":"ConcealResponse"},"ConvertRequest":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"The video file to be converted."},"format":{"type":"string","title":"Format","description":"The target format for conversion.","default":"mp4"}},"type":"object","required":["file"],"title":"ConvertRequest"},"CreateLineageRecordResponse":{"properties":{"destination":{"type":"string","title":"Destination"}},"type":"object","required":["destination"],"title":"CreateLineageRecordResponse"},"DecodeFromBase64Request":{"properties":{"base64_string":{"type":"string","title":"Base64 String"},"file_name":{"type":"string","title":"File Name"},"file_format":{"type":"string","title":"File Format"},"charset":{"type":"string","title":"Charset","default":"utf-8"}},"type":"object","required":["base64_string","file_name","file_format"],"title":"DecodeFromBase64Request"},"DetectRequest":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"The video file to detect watermark from."}},"type":"object","required":["file"],"title":"DetectRequest"},"DetectionResponse":{"properties":{"steganography_detected":{"type":"boolean","title":"Steganography Detected","description":"Indicates whether steganography was detected in the file."},"confidence":{"type":"number","title":"Confidence","description":"Confidence score of the detection (0.0 to 1.0)."},"detection_methods":{"type":"object","title":"Detection Methods","description":"Results from individual detection methods."},"file_type":{"type":"string","title":"File Type","description":"Detected file type."},"report":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Report","description":"Generated report in the requested format"},"report_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Format","description":"Format of the generated report (pdf, html, json)"}},"type":"object","required":["steganography_detected","confidence","detection_methods","file_type"],"title":"DetectionResponse","description":"Response model for steganography detection results."},"EDIResponseModel":{"properties":{"message":{"type":"string","title":"Message","description":"A brief message indicating the result of the operation."},"content":{"type":"string","title":"Content","description":"The modified or original EDI X12 content as a string."}},"type":"object","required":["message","content"],"title":"EDIResponseModel","description":"Model representing the response after processing an EDIX12 file."},"EmailValidation":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"EmailValidation"},"EncodeToBase64Response":{"properties":{"base64":{"type":"string","title":"Base64"},"file_name":{"type":"string","title":"File Name"},"file_format":{"type":"string","title":"File Format"},"file_size":{"type":"integer","title":"File Size"}},"type":"object","required":["base64","file_name","file_format","file_size"],"title":"EncodeToBase64Response"},"EnterpriseCreateRequest":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"EnterpriseCreateRequest"},"EnterpriseUpdateRequest":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","title":"EnterpriseUpdateRequest"},"GetApiUsageRequest":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"}},"type":"object","required":["start_date","end_date"],"title":"GetApiUsageRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HashSuccessResponse":{"properties":{"hash":{"type":"string","title":"Hash","description":"The computed SHA-256 hash of the file."}},"type":"object","required":["hash"],"title":"HashSuccessResponse"},"HealthCheckResponse":{"properties":{"status":{"type":"string","title":"Status"},"details":{"type":"object","title":"Details","default":{}}},"type":"object","required":["status"],"title":"HealthCheckResponse"},"ImpersonateRequest":{"properties":{"target_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Target User Id"},"target_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Target Email"}},"type":"object","title":"ImpersonateRequest","description":"Target user by id (individual users table) or email. Only one should be set."},"IndividualUserCreateRequest":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["first_name","last_name","email","password"],"title":"IndividualUserCreateRequest"},"IndividualUserSuspendRequest":{"properties":{"suspended":{"type":"boolean","title":"Suspended"}},"type":"object","required":["suspended"],"title":"IndividualUserSuspendRequest"},"LineageRecord":{"properties":{"operation":{"type":"string","title":"Operation","description":"The operation performed on the data."},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp of when the operation was performed."},"operator":{"type":"string","title":"Operator","description":"The operator responsible for the operation."},"source":{"type":"string","title":"Source","description":"The source data involved in the operation."},"destination":{"type":"string","title":"Destination","description":"The destination of the data after the operation."},"description":{"type":"string","title":"Description","description":"A brief description of the operation."}},"type":"object","required":["operation","timestamp","operator","source","destination","description"],"title":"LineageRecord"},"LineageRetrieve":{"properties":{"DataId":{"type":"string","title":"Dataid","description":"The unique ID of the data for which lineage is to be retrieved."}},"type":"object","required":["DataId"],"title":"LineageRetrieve"},"ModifyQuotaRequest":{"properties":{"remain_api":{"type":"integer","title":"Remain Api"}},"type":"object","required":["remain_api"],"title":"ModifyQuotaRequest"},"OTPVerificationResponseModel":{"properties":{"message":{"type":"string","title":"Message"},"api_key":{"type":"string","title":"Api Key"},"role":{"type":"string","title":"Role"}},"type":"object","required":["message","api_key","role"],"title":"OTPVerificationResponseModel"},"ProvenanceRecord":{"properties":{"origin":{"type":"string","minLength":1,"title":"Origin","description":"The origin of the data."},"received_by":{"type":"string","minLength":1,"title":"Received By","description":"The entity that received the data."},"date_recorded":{"type":"string","format":"date-time","title":"Date Recorded","description":"The date when the provenance was recorded."},"protocol":{"type":"string","minLength":1,"title":"Protocol","description":"The protocol used for data transfer."},"format":{"type":"string","minLength":1,"title":"Format","description":"The format of the data."},"description":{"type":"string","title":"Description","description":"Optional description of the provenance record."}},"type":"object","required":["origin","received_by","date_recorded","protocol","format"],"title":"ProvenanceRecord"},"ProvenanceRetrieve":{"properties":{"DataId":{"type":"string","title":"Dataid","description":"The unique ID of the data for which provenance is to be verified."}},"type":"object","required":["DataId"],"title":"ProvenanceRetrieve"},"RefreshToken":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshToken"},"RegistrationInfo":{"properties":{"first_name":{"type":"string","title":"First Name","description":"First name of the user"},"last_name":{"type":"string","title":"Last Name","description":"Last name of the user"},"email":{"type":"string","title":"Email","description":"Email address of the user"},"password":{"type":"string","title":"Password","description":"Password for the user's account"}},"type":"object","required":["first_name","last_name","email","password"],"title":"RegistrationInfo"},"RegistrationResponseModel":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"RegistrationResponseModel"},"RemoveRequest":{"properties":{"sealed_file_base64":{"type":"string","title":"Sealed File Base64","description":"Base64 encoded sealed file from which the secret will be removed."},"sealed_file_name":{"type":"string","title":"Sealed File Name","description":"Name of the sealed file."},"private_seed":{"type":"string","title":"Private Seed","description":"Private seed provided by the user for removal."}},"type":"object","required":["sealed_file_base64","sealed_file_name","private_seed"],"title":"RemoveRequest"},"RemoveResponse":{"properties":{"result":{"type":"object","title":"Result"}},"type":"object","required":["result"],"title":"RemoveResponse"},"ResendOTPResponseModel":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"ResendOTPResponseModel"},"RevealImageRequest":{"properties":{"embedded_image_file":{"type":"string","format":"binary","title":"Embedded Image File"}},"type":"object","required":["embedded_image_file"],"title":"RevealImageRequest"},"RevealRequest":{"properties":{"sealed_file_base64":{"type":"string","title":"Sealed File Base64","description":"Base64 encoded sealed file containing the hidden secret."},"sealed_file_name":{"type":"string","title":"Sealed File Name","description":"Name of the sealed file."},"private_seed":{"type":"string","title":"Private Seed","description":"Private seed provided by the user for retrieval."}},"type":"object","required":["sealed_file_base64","sealed_file_name","private_seed"],"title":"RevealRequest"},"RevealResponse":{"properties":{"result":{"type":"object","title":"Result"},"verification_result":{"type":"object","title":"Verification Result"}},"type":"object","required":["result","verification_result"],"title":"RevealResponse"},"SetPlanRequest":{"properties":{"plan_name":{"type":"string","title":"Plan Name"}},"type":"object","required":["plan_name"],"title":"SetPlanRequest","description":"Plan name as returned by Stripe products (e.g. Free, Standard, Pro, Basic)."},"SignResponseModel":{"properties":{"signature":{"type":"string","title":"Signature","description":"The base64-encoded digital signature of the file."},"public_key":{"type":"string","title":"Public Key","description":"The base64-encoded PEM-formatted public key."}},"type":"object","required":["signature","public_key"],"title":"SignResponseModel"},"SuccessResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"SuccessResponse"},"SuperUserCreateRequest":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["first_name","last_name","email","password"],"title":"SuperUserCreateRequest"},"SuperUserUpdateRequest":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","title":"SuperUserUpdateRequest"},"Superuser":{"properties":{"admin_access_key":{"type":"string","title":"Admin Access Key"}},"type":"object","required":["admin_access_key"],"title":"Superuser"},"UpdatePasswordRequest":{"properties":{"current_password":{"type":"string","title":"Current Password"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"UpdatePasswordRequest"},"UpdateTokens":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","minLength":1,"title":"Password"}},"type":"object","required":["email","password"],"title":"UpdateTokens"},"UserCreateRequest":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"user_type":{"type":"string","title":"User Type","default":"employee"},"enterprise_id":{"type":"integer","title":"Enterprise Id"}},"type":"object","required":["first_name","last_name","email","password","enterprise_id"],"title":"UserCreateRequest"},"UserDeleteRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"UserDeleteRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerificationResponseModel":{"properties":{"message":{"type":"string","title":"Message","description":"A brief message indicating the result of the verification."},"is_valid":{"type":"boolean","title":"Is Valid","description":"Indicates whether the integrity marks are valid or not."}},"type":"object","required":["message","is_valid"],"title":"VerificationResponseModel","description":"Model representing the response after verifying an EDIX12 file."},"VerifyRequest":{"properties":{"sealed_file_base64":{"type":"string","title":"Sealed File Base64","description":"Base64 encoded sealed file to verify integrity."},"sealed_file_name":{"type":"string","title":"Sealed File Name","description":"Name of the sealed file to verify."}},"type":"object","required":["sealed_file_base64","sealed_file_name"],"title":"VerifyRequest"},"VerifyResponse":{"properties":{"result":{"type":"object","title":"Result"}},"type":"object","required":["result"],"title":"VerifyResponse"},"VerifyResponseModel":{"properties":{"is_valid":{"type":"boolean","title":"Is Valid","description":"Indicates whether the signature is valid or not."},"error":{"type":"string","title":"Error","description":"An optional error message if the verification fails."}},"type":"object","required":["is_valid"],"title":"VerifyResponseModel"},"xumw__app__routers__web__admin_forget_password__ResetPasswordRequest":{"properties":{"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["new_password"],"title":"ResetPasswordRequest"},"xumw__app__routers__web__admin_login__LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"xumw__app__routers__web__admin_register__RegisterInfo":{"properties":{"company_name":{"type":"string","title":"Company Name"},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["company_name","email","password"],"title":"RegisterInfo"},"xumw__app__routers__web__admin_register__RegisterUser":{"properties":{"otp_value":{"type":"string","title":"Otp Value"},"email_token":{"type":"string","title":"Email Token"}},"type":"object","required":["otp_value","email_token"],"title":"RegisterUser"},"xumw__app__routers__web__create_user_by_admin__LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"xumw__app__routers__web__create_user_by_admin__RegisterUser":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"admin_access_key":{"type":"string","title":"Admin Access Key"}},"type":"object","required":["email","password","admin_access_key"],"title":"RegisterUser"},"xumw__app__routers__web__email_login_enterprise__LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"xumw__app__routers__web__employee_forget_password__ResetPasswordRequest":{"properties":{"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["new_password"],"title":"ResetPasswordRequest"},"xumw__app__routers__web__enterprise_admin__LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"xumw__app__routers__web__forget_password__ResetPasswordRequest":{"properties":{"token":{"type":"string","title":"Token"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["token","new_password"],"title":"ResetPasswordRequest"},"xumw__app__routers__web__login__LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"xumw__app__routers__web__registration__OTPVerification":{"properties":{"email":{"type":"string","title":"Email"},"token":{"type":"string","title":"Token"},"otp_value":{"type":"string","title":"Otp Value"}},"type":"object","required":["otp_value"],"title":"OTPVerification"},"xumw__app__routers__web__registration__RegisterInfo":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["first_name","last_name","email","password"],"title":"RegisterInfo"},"xumw__app__routers__web__registration__ResendOTP":{"properties":{"email":{"type":"string","title":"Email"},"token":{"type":"string","title":"Token"}},"type":"object","title":"ResendOTP"},"xumw__app__routers__web__super_user_forget_password__ResetPasswordRequest":{"properties":{"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["new_password"],"title":"ResetPasswordRequest"},"xumw__app__routers__xregister__OTPVerification":{"properties":{"email":{"type":"string","title":"Email","description":"Email address associated with the OTP"},"otp_value":{"type":"string","title":"Otp Value","description":"The OTP value to be verified"}},"type":"object","required":["email","otp_value"],"title":"OTPVerification"},"xumw__app__routers__xregister__ResendOTP":{"properties":{"email":{"type":"string","title":"Email","description":"Email address to which the OTP should be resent"}},"type":"object","required":["email"],"title":"ResendOTP"},"WebSocketMessage":{"type":"object","properties":{"type":{"type":"string","enum":["video_chunk","error","result"],"description":"Type of message"},"data":{"type":"string","description":"Base64 encoded video chunk or error message"},"watermark_probability":{"type":"number","description":"Probability of watermark presence (0-1)"}}},"AudioWebSocketMessage":{"type":"object","properties":{"type":{"type":"string","enum":["audio_chunk","error","result"],"description":"Type of message"},"data":{"type":"string","description":"Base64 encoded audio chunk or error message"},"watermark_probability":{"type":"number","description":"Probability of watermark presence (0-1)"},"sample_rate":{"type":"integer","description":"Audio sample rate in Hz"},"channels":{"type":"integer","description":"Number of audio channels"}}}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"api_token"}}},"x-tagGroups":[{"name":"General","tags":["Registration","Health and Readiness"]},{"name":"Release 3","tags":["Audio","Video"]},{"name":"Release 2","tags":["Unified API","Edix12","Data Lineage","Data Provenance","Base64"]},{"name":"Release 1","tags":["Signature","Encryption","Hash","Steganography"]}],"tags":[{"name":"Registration"},{"name":"Health and Readiness"},{"name":"Unified API"},{"name":"Edix12"},{"name":"Data Lineage"},{"name":"Data Provenance"},{"name":"Base64"},{"name":"Signature"},{"name":"Encryption"},{"name":"Hash"},{"name":"Steganography"},{"name":"Audio"},{"name":"Video"}]}