TruthScan
truthscanTruthScan detects AI-generated and manipulated content in images, text, PDFs, video, and audio.
Acciones disponibles (8)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Analyze AudioTRUTHSCAN_ANALYZE_AUDIOAcciónAnalyze exactly one public audio URL or uploaded audio/media file for AI generation. By default, wait with bounded polling and return the latest result; this non-idempotent submission consumes account credits.
TRUTHSCAN_ANALYZE_AUDIOAcciónAnalyze exactly one public audio URL or uploaded audio/media file for AI generation. By default, wait with bounded polling and return the latest result; this non-idempotent submission consumes account credits.
Parámetros de entrada
audio_urlstringPublicly reachable audio or supported media URL to analyze.
audio_fileobjectAudio or media attachment to upload directly. Supported extensions are mp3, wav, m4a, flac, ogg, and mp4; the provider accepts files from 1 KB through 100 MB.
timeout_secondsnumberMaximum total polling time in seconds (1-600). On timeout, the latest nonterminal status and job ID are returned for later resumption.
wait_for_completionbooleanPoll until the analysis is done or failed. Set false to return the accepted job immediately.
analyze_up_to_secondsintegerMaximum leading duration to analyze, in seconds.
poll_interval_secondsnumberSeconds between result checks while waiting (1-60).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Analyze ImageTRUTHSCAN_ANALYZE_IMAGEAcciónSubmit an image URL for AI-generation detection and, by default, wait for the asynchronous result. Returns the job ID when not waiting or when polling times out; detection consumes account credits.
TRUTHSCAN_ANALYZE_IMAGEAcciónSubmit an image URL for AI-generation detection and, by default, wait for the asynchronous result. Returns the job ID when not waiting or when polling times out; detection consumes account credits.
Parámetros de entrada
modelstringTruthScan model name; use generic unless a specific instance/model is known.
image_urlstringObligatorioPublicly reachable image URL (1 KB-10 MB) to analyze.
timeout_secondsnumberMaximum total wait time in seconds (up to 600); on timeout return the current pending status and job ID for later resumption.
generate_heatmapbooleanGenerate a secured detection heatmap.
generate_previewbooleanGenerate a secured preview asset for later download.
wait_for_completionbooleanPoll until done or failed; set false to return immediately with the job ID.
poll_interval_secondsnumberSeconds between result checks when waiting (minimum 1).
generate_analysis_detailsbooleanInclude detailed analysis indicators in the completed result.
generate_heatmap_overlayedbooleanOverride generation of the overlay heatmap variant; omit to use the provider default, and do not set true when generate_heatmap is false.
include_content_moderationbooleanInclude content-moderation signals in the analysis.
generate_heatmap_normalizedbooleanOverride generation of the normalized heatmap variant; omit to use the provider default, and do not set true when generate_heatmap is false.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Analyze PDFTRUTHSCAN_ANALYZE_PDFAcciónSubmit a publicly reachable PDF URL for asynchronous tampering detection and, by default, wait for the result. PDFs are limited to 2 MB and each page costs 1,000 credits.
TRUTHSCAN_ANALYZE_PDFAcciónSubmit a publicly reachable PDF URL for asynchronous tampering detection and, by default, wait for the result. PDFs are limited to 2 MB and each page costs 1,000 credits.
Parámetros de entrada
modelstringenumPDF detector version. Use pdf_detector/v4 for current tampering detection; v1 focuses on AI-generation fingerprints and v3 on structural tampering.
pdf_detectorpdf_detector/v1pdf_detector/v3pdf_detector/v4pdf_urlstringObligatorioPublicly reachable HTTPS URL ending in .pdf. The PDF must be no larger than 2 MB; analysis costs 1,000 credits per page.
timeout_secondsnumberMaximum total wait time in seconds. On timeout, returns the latest pending status and document ID so the job can be resumed later.
wait_for_completionbooleanPoll until done or failed; set false to return immediately with the document ID.
poll_interval_secondsnumberSeconds between result checks when waiting (minimum 1).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Analyze TextTRUTHSCAN_ANALYZE_TEXTAcciónSubmit a text value or public web URL for AI-written-text detection. Provide one input source and never both. By default, wait for the asynchronous result; detection consumes account credits.
TRUTHSCAN_ANALYZE_TEXTAcciónSubmit a text value or public web URL for AI-written-text detection. Provide one input source and never both. By default, wait for the asynchronous result; detection consumes account credits.
Parámetros de entrada
urlstringPublicly reachable web URL whose text should be analyzed. Required when text is omitted; do not provide both fields.
textstringText to analyze, under 30,000 words; at least 200 words is recommended. Required when url is omitted; do not provide both fields.
modelstringTruthScan text detector model.
timeout_secondsnumberMaximum total wait in seconds (1-300). On timeout, return the latest pending status and document ID for later resumption.
wait_for_completionbooleanPoll until the detection is done or failed. Set false to return immediately with the document ID.
poll_interval_secondsnumberSeconds between result checks when waiting (1-60).
generate_analysis_detailsbooleanInclude deeper source and analysis signals when supported.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Analyze VideoTRUTHSCAN_ANALYZE_VIDEOAcciónAnalyze exactly one public video URL or uploaded video for AI generation or face swapping. By default, wait with bounded polling and return the latest result; this non-idempotent submission consumes account credits.
TRUTHSCAN_ANALYZE_VIDEOAcciónAnalyze exactly one public video URL or uploaded video for AI generation or face swapping. By default, wait with bounded polling and return the latest result; this non-idempotent submission consumes account credits.
Parámetros de entrada
modelstringenumDetection model: generic detects AI-generated video, while faceswap detects face swapping.
genericfaceswapvideo_urlstringPublicly reachable video URL to analyze.
video_fileobjectVideo attachment to upload directly. Supported extensions are mp4, mov, avi, mkv, and webm; the provider accepts files from 1 KB through 100 MB.
timeout_secondsnumberMaximum total polling time in seconds (1-600). On timeout, the latest nonterminal status and job ID are returned for later resumption.
generate_previewbooleanGenerate a preview when the selected detector supports one.
wait_for_completionbooleanPoll until the analysis is done or failed. Set false to return the accepted job immediately.
poll_interval_secondsnumberSeconds between result checks while waiting (4-60). Video has a low request limit, so shorter intervals are rejected.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check CreditsTRUTHSCAN_CHECK_CREDITSAcciónReturn the connected TruthScan account's remaining detection credits from the canonical image detector balance endpoint.
TRUTHSCAN_CHECK_CREDITSAcciónReturn the connected TruthScan account's remaining detection credits from the canonical image detector balance endpoint.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Image AssetTRUTHSCAN_DOWNLOAD_IMAGE_ASSETAcciónDownload a generated preview or heatmap for an owned TruthScan image detection job. Returns a managed file when ready, or an explicit pending or unavailable state.
TRUTHSCAN_DOWNLOAD_IMAGE_ASSETAcciónDownload a generated preview or heatmap for an owned TruthScan image detection job. Returns a managed file when ready, or an explicit pending or unavailable state.
Parámetros de entrada
job_idstringObligatorioSensitive image document/job ID returned by Analyze Image.
asset_typestringObligatorioenumGenerated image asset to download: preview or heatmap.
previewheatmap
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Detection ResultTRUTHSCAN_GET_DETECTION_RESULTAcciónGet the current result of an existing image, text, PDF, video, or audio detection job, optionally waiting until it finishes. Use this to resume a pending detection without submitting or charging for another analysis.
TRUTHSCAN_GET_DETECTION_RESULTAcciónGet the current result of an existing image, text, PDF, video, or audio detection job, optionally waiting until it finishes. Use this to resume a pending detection without submitting or charging for another analysis.
Parámetros de entrada
job_idstringObligatorioSensitive document or job ID returned by a TruthScan analysis tool.
modalitystringObligatorioenumDetector that created the job. Text and PDF share a host but retain distinct result semantics.
imagetextpdfvideoaudiotimeout_secondsnumberMaximum total wait in seconds (1-300).
wait_for_completionbooleanPoll until done or failed instead of returning the current status once.
poll_interval_secondsnumberSeconds between checks when waiting (1-60). Video requires at least 4 seconds because its query limit is lower.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not