For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Status
OverviewProductsManageAPI ReferenceTutorialsClient Libraries
OverviewProductsManageAPI ReferenceTutorialsClient Libraries
  • Voice Generation
    • Speech-to-Speech
  • Voice Creation
  • Voice Tools
  • Real-Time Agents
    • Overview
  • Safety & Detection
      • Overview
      • Create Detection
      • Batch Detection
      • Get Detection
      • List Detects
      • Secure Upload
        • Overview
        • Ask a Question
        • Get Answer
Status
LogoLogo
On this page
  • Path Parameters
  • Example
  • Response — Pending / Processing
  • Response — Completed
  • Response — Failed
  • Response Fields
  • Error Response (404)
Safety & DetectionDeepfake DetectionDetect Intelligence

Get Answer

Was this page helpful?
Previous

Intelligence

Next
Built with

GET https://app.resemble.ai/api/v2/detects/{uuid}/intelligence/{question_uuid}

Retrieve the status and answer for a previously submitted question. Poll this endpoint until status reaches completed or failed.

Path Parameters

ParameterTypeRequiredDescription
uuidstringYesUUID of the detection report.
question_uuidstringYesUUID of the question returned by the Ask endpoint.

Example

$curl 'https://app.resemble.ai/api/v2/detects/DETECTION_UUID/intelligence/QUESTION_UUID' \
> -H 'Authorization: Bearer YOUR_API_TOKEN'

Response — Pending / Processing

1{
2 "success": true,
3 "item": {
4 "uuid": "QUESTION_UUID",
5 "detect_uuid": "DETECTION_UUID",
6 "query": "Summarize the detection results in plain language.",
7 "answer": null,
8 "status": "processing",
9 "error_message": null,
10 "created_at": "2024-01-15T10:35:00Z",
11 "updated_at": "2024-01-15T10:35:05Z"
12 }
13}

Response — Completed

1{
2 "success": true,
3 "item": {
4 "uuid": "QUESTION_UUID",
5 "detect_uuid": "DETECTION_UUID",
6 "query": "Summarize the detection results in plain language.",
7 "answer": "The audio file was classified as fake with high confidence. The aggregated score of 0.80 across all analyzed chunks indicates consistent synthetic markers throughout the recording. Audio source tracing identified the likely origin as Resemble AI. The intelligence analysis detected an adult male speaker with a confident tone.",
8 "status": "completed",
9 "error_message": null,
10 "created_at": "2024-01-15T10:35:00Z",
11 "updated_at": "2024-01-15T10:35:12Z"
12 }
13}

Response — Failed

1{
2 "success": true,
3 "item": {
4 "uuid": "QUESTION_UUID",
5 "detect_uuid": "DETECTION_UUID",
6 "query": "Summarize the detection results in plain language.",
7 "answer": null,
8 "status": "failed",
9 "error_message": "Unable to generate answer. Please try again.",
10 "created_at": "2024-01-15T10:35:00Z",
11 "updated_at": "2024-01-15T10:35:10Z"
12 }
13}

Response Fields

FieldTypeDescription
uuidstringUnique identifier for the question.
detect_uuidstringUUID of the associated detection report.
querystringThe original question that was submitted.
answerstring | nullThe generated answer. null until status is completed.
statusstringOne of pending, processing, completed, or failed.
error_messagestring | nullError details when status is failed. null otherwise.
created_atstringISO 8601 timestamp when the question was submitted.
updated_atstringISO 8601 timestamp of the last status change.

Error Response (404)

1{
2 "success": false,
3 "message": "Question not found"
4}