API endpoint that allows algorithm category maps to be viewed or edited.

GET /api/v2/ml/labels/53/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 53,
    "labels": [
        "moth",
        "nonmoth"
    ],
    "data": [
        {
            "index": 0,
            "label": "moth",
            "taxon_rank": "SUPERFAMILY"
        },
        {
            "index": 1,
            "label": "nonmoth",
            "taxon_rank": "SUPERFAMILY"
        }
    ],
    "algorithms": [
        "https://api.beluga.insectai.org/api/v2/ml/algorithms/3/?format=api"
    ],
    "version": null,
    "uri": "https://object-arbutus.cloud.computecanada.ca/ami-models/moths/classification/05-moth-nonmoth_category_map.json",
    "created_at": "2025-09-01T20:51:06.084742",
    "updated_at": "2025-10-08T21:19:56.691509",
    "user_permissions": []
}