Skip to main content
GET
/
api
/
classification_audio
/
{identifier}
Get single audio classification result
curl --request GET \
  --url https://backend.identifai.net/api/classification_audio/{identifier} \
  --header 'X-Api-Key: <api-key>'
{
  "hash": "<string>",
  "identifier": "<string>",
  "name": "<string>",
  "ref_id": "<string>",
  "verdict": {
    "heuristic": "<string>",
    "confidence": 123,
    "classification": "human",
    "models": [
      "<string>"
    ]
  },
  "verdicts": [
    {
      "heuristic": "<string>",
      "confidence": 123,
      "classification": "human",
      "models": [
        "<string>"
      ]
    }
  ],
  "force_classification": "human",
  "results": [
    {
      "model": "<string>",
      "unknown": true,
      "elapsed_time": 123,
      "classification": [
        {
          "label": "human",
          "score": 123
        }
      ],
      "classification_details": {}
    }
  ]
}

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

ref_id
string

An optional reference ID to associate with the classification request.

verdict
object

The main classification verdict using the user's default heuristic

verdicts
object[]

Array of verdicts for all available heuristics

force_classification
enum<string> | null

If present, indicates that the user has forced the classification to the specified value

Available options:
human,
artificial
results
object[]

Detailed classification results from each AI detection model