Skip to main content
GET
/
api
/
classification_audio
/
{identifier}
Get a speech classification result
curl --request GET \
  --url https://backend.identifai.net/api/classification_audio/{identifier} \
  --header 'X-Api-Key: <api-key>'
{
  "hash": "89ff6bc9ec8ed4b9fe5489353432b1553ac8efe5e26f247f71d75e0da181870f",
  "name": "sample.wav",
  "identifier": "302f17f44b1beaa8716f9fc646016aa9c729ce32b9f87db163b594fc2d73e0eb",
  "verdict": {
    "heuristic": "AverageExcludeObsolete",
    "confidence": 0.757081098003281,
    "classification": "artificial"
  },
  "verdicts": [
    {
      "heuristic": "Majority",
      "confidence": 0.757081098003281,
      "classification": "artificial"
    },
    {
      "heuristic": "Average",
      "confidence": 0.757081098003281,
      "classification": "artificial"
    },
    {
      "heuristic": "AverageExcludeObsolete",
      "confidence": 0.757081098003281,
      "classification": "artificial"
    },
    {
      "heuristic": "AverageExclude10",
      "confidence": 0.757081098003281,
      "classification": "artificial"
    },
    {
      "heuristic": "AverageExclude20",
      "confidence": 0.757081098003281,
      "classification": "artificial"
    },
    {
      "heuristic": "AverageExclude30",
      "confidence": 0.757081098003281,
      "classification": "artificial"
    },
    {
      "heuristic": "TopRelevant",
      "confidence": 0.75,
      "classification": "artificial"
    }
  ],
  "results": [
    {
      "model": "Phantom",
      "unknown": false,
      "elapsed_time": 0,
      "classification": [
        {
          "label": "human",
          "score": 0.24291890199671895
        },
        {
          "label": "artificial",
          "score": 0.757081098003281
        }
      ],
      "classification_details": {
        "confidence": 1
      }
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Your API key.

Path Parameters

identifier
string
required

The identifier of the audio file.

Response

The classification result.

The answer for audio classification

hash
string

SHA-256 hash of the classified audio file

identifier
string

The identifier that identifies the classified audio

name
string

The name of the classified audio file

verdict
object

The main classification verdict using the user's default heuristic

verdicts
object[]

Array of verdicts for all available heuristics

results
object[]

Detailed classification results from each AI detection model