Skip to main content
GET
Media Detail
requestId
string
Returns deepfake detection result for specified requestId.
This endpoint returns the results for a specific upload. When you upload a file or submit a social media URL, the response of a successful request will contain the requestId. You can also find your requestId in the URL path when you access the upload in the web application.

Authorization

To fetch media detail, you must include the x-api-key in your request headers. This key is essential for authenticating your request and ensuring secure access to the API.

Sample Code Snippet

Here’s an example of how you can fetch the results for an uploaded file or social media URL.

Sample Response

Response Details

NOT_APPLICABLE

Reality Defender will return NOT_APPLICABLE as a status if the file contains certain characteristics that are known to impact accuracy. The reason behind the NOT_APPLICABLE response will be returned as a list in the metadata feel. For example, see below for a resultsSummary returned for an image that was not applicable.
Image Reasons
Possible reasons returned for NOT_APPLICABLE are:
  • code: relevance
    • message: no faces detected/faces too small
Video Reasons
Currently, our video files do not output reasons.
Audio Reasons
Possible reasons returned for NOT_APPLICABLE are:
  • code: duration
    • message: audio too short (<1.5s)
  • code: detected
    • message: dialtone and/or music
  • code: cross-talk
    • message: more than one speaker detected
  • code: quality
    • audio too noisy
  • code: language
    • audio is more likely in language

UNABLE_TO_EVALUATE Response

Reality Defender will return UNABLE_TO_EVALUATE if an error occurred while processing the file. This is typically caused by timeouts. You can try again, or upload a smaller file. Here is an example of the resultsSummary returned for an image that is unable to be evaluated.