Skip to navigation

GET https://app.resemble.ai/api/v2/detect

Retrieve a paginated list of the authenticated team’s detections. Each PDF appears once with its document summary. To list the extracted images as full detections in document order, pass the PDF UUID as parent_uuid.

Query Parameters

ParameterTypeRequiredDefaultDescription
pageinteger✅-Page number (must be >= 1).
page_sizeinteger❌10Number of items per page (10-1000).
media_typestring❌-Filter top-level detections by audio, video, image, or pdf.
parent_uuidstring❌-List images from this PDF. Each image includes parent_uuid and document_image with one-based page and index.

Example Request

curl 'https://app.resemble.ai/api/v2/detect?page=1&page_size=20' \
-H 'Authorization: Bearer YOUR_API_TOKEN'

To fetch full image detections from a PDF in document order, pass parent_uuid.

curl 'https://app.resemble.ai/api/v2/detect?page=1&parent_uuid=PDF_UUID' \
-H 'Authorization: Bearer YOUR_API_TOKEN'

Each returned image includes parent_uuid and document_image with its page and index. To list just the PDFs, use GET /api/v2/detect?page=1&media_type=pdf. That list returns document summaries and skip details and omits the per-image results.

Response

{
"success": true,
"page": 1,
"num_pages": 5,
"page_size": 20,
"total_count": 87,
"items": [
{
"uuid": "a1b2c3d4e5f6...",
"media_type": "audio",
"status": "completed",
"face_only": false,
"metrics": {
"label": "real",
"score": [0.92, 0.88, 0.95],
"aggregated_score": 0.92,
"consistency": 0.94,
"duration": 12.5
},
"video_metrics": null,
"image_metrics": null,
"intelligence": null,
"watermark": {
"status": "completed",
"metrics": {
"overall_status": "absent",
"detected_model_versions": [],
"coverage_complete": true,
"has_watermark": {
"channel_0": false
},
"confidence": 0.0,
"model_results": [
{
"model_version": "perth_v1",
"status": "succeeded",
"detected": false
},
{
"model_version": "perth_v2",
"status": "succeeded",
"detected": false
}
],
"synthid": false
}
},
"url": "https://storage.example.com/audio/file.wav",
"audio_url": "https://storage.example.com/audio/file.wav",
"filename": "file.wav",
"duration": 12.5,
"zero_retention_mode": false,
"file_deleted_at": null,
"visualize": true,
"audio_source_tracing_enabled": false,
"use_ood_detector": false,
"extra_params": {},
"error_message": null,
"created_at": "2025-12-10T15:30:00.000Z",
"updated_at": "2025-12-10T15:30:45.000Z"
}
]
}

Response Fields

FieldTypeDescription
uuidstringUnique identifier for the detect object.
media_typestringType of media analyzed: audio, video, image, or pdf.
statusstringProcessing status: processing, completed, or failed. An otherwise successful Detect waits for requested Watermark analysis; a core detection failure still reports failed.
face_onlybooleanEffective face-only setting. true only for video detects that included visual analysis; otherwise false.
metricsobjectAudio detection results (null if not applicable).
video_metricsobjectVideo detection results (null if not applicable).
documentobjectPDF summary with counts and skip details. Get Detection also includes document.images.
image_metricsobjectImage detection results (null if not applicable).
audio_source_tracingobjectSource tracing results (only returned if audio is labeled fake).
intelligenceobjectIntelligence report (if requested during creation).
watermarkobjectWatermark analysis state and results when detect_watermark=true was requested. Omitted otherwise.
urlstringURL to the analyzed media file. null when Zero Retention Mode is enabled.
audio_urlstringAlias of url. null when Zero Retention Mode is enabled.
filenamestringOriginal filename of the media. Tokenized (e.g., redacted_<token>.<ext>) when Zero Retention Mode is enabled.
zero_retention_modebooleanWhether Zero Retention Mode was enabled for this detect.
file_deleted_atstring | nullISO 8601 timestamp of when the file was purged, or null if not yet deleted. Use this to determine whether the source media has been purged.
durationnumberDuration of the media in seconds.
visualizebooleanWhether heatmap visualization was generated.
audio_source_tracing_enabledbooleanWhether source tracing was enabled.
use_ood_detectorbooleanWhether out-of-distribution detection was used.
extra_paramsobjectAdditional custom parameters.
error_messagestringError message if processing failed.
created_atstringISO 8601 timestamp of creation.
updated_atstringISO 8601 timestamp of last update.
FieldTypeDescription
pipelinestring | nullDeprecated field that may appear on older image/video detects returned by the API. Ignored on create for new detections.

Notes

  • All endpoints return resources scoped to the authenticated user’s team
  • audio_source_tracing results are only returned when the audio detection result is labeled as fake
  • watermark is omitted for detects created without watermark analysis; nested failures do not change the deepfake verdict
  • The default page size is 10, with a maximum of 1000 items per page