GET
/
api
/
classification_audio
/
{hash}
curl --request GET \
  --url https://backend.identifai.net/api/classification_audio/{hash} \
  --header 'X-Api-Key: <api-key>'
{
  "hash": "8d64370a87b820cc1cf620338f5c898bab37439c9a405f32d9eaffc50c4f27b0",
  "name": "audio.mp3",
  "results": [
    {
      "model": "A011",
      "elapsed_time": 0.19612407684326172,
      "classification": [
        {
          "label": "human",
          "score": 0.9950849413871764
        },
        {
          "label": "artificial",
          "score": 0.004915016237646341
        }
      ]
    },
    {
      "model": "A01",
      "elapsed_time": 0.19582748413085935,
      "classification": [
        {
          "label": "human",
          "score": 0.9630268216133118
        },
        {
          "label": "artificial",
          "score": 0.036973148584365845
        }
      ]
    },
    {
      "model": "A03",
      "elapsed_time": 0.7836010456085205,
      "classification": [
        {
          "label": "artificial",
          "score": 0.939607322216034
        },
        {
          "label": "human",
          "score": 0.060392677783966064
        }
      ]
    }
  ],
  "verdicts": [
    {
      "heuristic": "Majority",
      "confidence": 0.979055881500244,
      "classification": "human"
    },
    {
      "heuristic": "Average",
      "confidence": 0.6728348135948181,
      "classification": "human"
    },
    {
      "heuristic": "AverageExclude10",
      "confidence": 0.6728348135948181,
      "classification": "human"
    },
    {
      "heuristic": "AverageExclude20",
      "confidence": 0.6728348135948181,
      "classification": "human"
    },
    {
      "heuristic": "AverageExclude30",
      "confidence": 0.6728348135948181,
      "classification": "human"
    },
    {
      "heuristic": "TopRelevant",
      "confidence": 0.99,
      "classification": "human"
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Your API key.

Path Parameters

hash
string
required

The hash of the audio file.

Response

200 - application/json
The classification result.

The answer for audio classification