We use cookies to improve your experience. By continuing, you agree to our Cookie Policy.

plan.parts
About Databases Data Tasks How it works Pricing Docs Blog Support Contacts
GET Beta Free

OEM Session: tree of nodes

/v1/oem/sessions/{session_id}/tree

Beta. Step 4. Children of a node (?node_id=; the top level without it): id, name, has_children, loaded. Walk down to end nodes (has_children = false) — those have a diagram

Parameters

Name Type Required Description Example
session_id string path required session_id from step 1 3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f
node_id string query optional Node whose children to list; the top level without it 10441
lang string query optional Language of names: en (default), ru, es, fr, pt en

Example Request

GET https://cdn.plan.parts/api/v1/oem/sessions/3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f/tree?node_id=10441&lang=en
Authorization: Bearer your_api_key

Example Response

{
    "success": true,
    "data": {
        "session_id": "3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f",
        "lifetime": {
            "created_at": "2026-11-27T12:49:37+03:00",
            "expires_at": "2026-11-27T15:49:37+03:00",
            "expires_in": 10800,
            "max_expires_at": "2026-11-28T12:49:37+03:00",
            "age": 0,
            "extends_by": 10800,
            "max_age": 86400
        },
        "state": "tree_ready",
        "selected_index": 0,
        "node": {
            "id": "10441",
            "name": "Interior trim",
            "has_children": true,
            "children_count": 14,
            "has_diagram": false,
            "loaded": false
        },
        "path": [
            {
                "id": "10441",
                "name": "Interior trim"
            }
        ],
        "nodes": [
            {
                "id": "12797",
                "name": "Luggage compartment / cargo area",
                "has_children": false,
                "children_count": 0,
                "has_diagram": true,
                "loaded": false
            },
            {
                "id": "12796",
                "name": "Glove box",
                "has_children": false,
                "children_count": 0,
                "has_diagram": true,
                "loaded": false
            }
        ],
        "lang": "en"
    }
}

Try in Sandbox

Test this endpoint with real data in the Developer Portal sandbox.

Try in Sandbox →

No credit card required

Token cost

This endpoint is free — no tokens are deducted.