Skip to main content
GET
/
api
/
v2
/
tampering
/
tickets
/
{batch_id}
Get tickets analysis results
curl --request GET \
  --url https://backend.identifai.net/api/v2/tampering/tickets/{batch_id} \
  --header 'X-Api-Key: <api-key>'
{
  "identifier": "674a3c9b8e2d4f12b7c9a8d3",
  "done": false,
  "total_results": 2,
  "results": [
    {
      "identifier": "674a3c9b8e2d4f12b7c9a8d4",
      "ref_id": "TICKET-001",
      "status": "done",
      "hash": "862bb7de43b131a38b64753269d643443a21069a04ab66a56c9818956f590cb9",
      "name": "ticket_001.jpg",
      "verdict": {
        "confidence": 1,
        "classification": "tampered"
      },
      "verdicts": [
        {
          "heuristic": "heuristic_name_1",
          "description": "Human readable description of the heuristic_name_1",
          "classification": "tampered"
        },
        {
          "heuristic": "heuristic_name_2",
          "description": "Human readable description of the heuristic_name_2",
          "classification": "tampered"
        },
        {
          "heuristic": "heuristic_name_3",
          "description": "Human readable description of the heuristic_name_3",
          "classification": "tampered"
        },
        {
          "heuristic": "heuristic_name_4",
          "description": "Human readable description of the heuristic_name_4",
          "classification": "authentic"
        }
      ],
      "results": [
        {
          "model": "Ellen",
          "unknown": false,
          "elapsed_time": 0.1473182961344719,
          "classification": [
            {
              "label": "human",
              "score": 0.15
            },
            {
              "label": "artificial",
              "score": 0.85
            }
          ],
          "classification_details": {
            "confidence": 0.85,
            "performance": [
              {
                "name": "classification",
                "value": 0.1473182961344719
              }
            ]
          }
        }
      ],
      "c2pa": null
    },
    {
      "identifier": "674a3c9b8e2d4f12b7c9a8d5",
      "ref_id": "TICKET-002",
      "status": "inprogress"
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

batch_id
string
required

The batch identifier for which to retrieve tampering analysis results

Response

Analysis results retrieved successfully

identifier
string

Batch identifier for this analysis

done
boolean

Indicates if all analyses in the batch are completed

total_results
integer

Total number of results returned

results
object[]

Array of tampering analysis results