Macademia Tree logo Macademia Tree
Sign In

Sub-Disciplines

List all sub-disciplines

Returns all sub-disciplines ordered alphabetically. Each includes its parent disciplines (many-to-many). Sub-disciplines are specialized areas within disciplines (e.g., Machine Learning within Computer Science).

GET /api/v2/sub_disciplines

Authentication

Requires Bearer token in the Authorization header.

Response

id uuid

Unique identifier

name string

Sub-discipline name

slug string

URL-safe identifier

description string

Brief description

disciplines array

Parent disciplines this sub-discipline belongs to

topics_count integer

Number of topics

curl -X GET "https://macademiatree.com/api/v2/sub_disciplines" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
[
  {
    "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "name": "Machine Learning",
    "slug": "machine-learning",
    "description": "Algorithms that learn from data",
    "disciplines": [
      {
        "id": "...",
        "name": "Computer Science",
        "slug": "computer-science"
      }
    ],
    "topics_count": 8
  }
]