Catalog API — Queries

Retrieve the content catalog for the authenticated company.

Endpoint
POSThttps://api.udacity.com/api/public/api/v1/catalog/graphql

catalog

Required scope: COMPANY:<companyId>

contractIdID

Optional contract ID to filter results by a specific contract.

Returns: CompanyCatalog!

Signature
type Query {
  catalog(contractId: ID): CompanyCatalog!
}
Query
query GetCatalog($contractId: ID) {
  catalog(contractId: $contractId) {
    companyId
    programs {
      key
      version
      locale
      type
      title
      summary
      syllabusUrl
      imageUrl
      redirectUrl
      duration
      modifiedDate
      ssoLaunchLinksByContract {
        contractId
        launchUrl
      }
      skillNames
      difficultyLevel
    }
    assessments {
      id
      title
      category
      passingScore
      isTimed
      timeLimit
      totalQuestionsInAssessment
    }
    learningPlans {
      id
      title
      key
      slug
      steps {
        stepId
        stepType
        label
      }
    }
  }
}
Variables
{
  "contractId": "optional-contract-id"
}
Response
{
  "data": {
    "catalog": {
      "companyId": "4821",
      "programs": [
        {
          "key": "nd00113",
          "version": 1,
          "locale": "en-us",
          "type": "DEGREE",
          "title": "Cloud Architecture",
          "summary": "Learn the fundamentals of programming with Python.",
          "duration": "P30D",
          "modifiedDate": "2025-06-15T10:00:00Z",
          "skillNames": ["Python", "Cloud Computing"],
          "difficultyLevel": "Intermediate"
        }
      ],
      "assessments": [
        {
          "id": "87fac66e",
          "title": "Python Fundamentals Assessment",
          "category": "PASS_FAIL",
          "passingScore": 80.0,
          "isTimed": true,
          "timeLimit": "PT30M",
          "totalQuestionsInAssessment": 25
        }
      ],
      "learningPlans": [
        {
          "id": "fd6f0490",
          "title": "Cloud Engineering Onboarding",
          "key": "cloud-eng-onboarding",
          "slug": "cloud-engineering-onboarding",
          "steps": [
            { "stepId": "step-1", "stepType": "PROGRAM", "label": "Cloud Architecture" }
          ]
        }
      ]
    }
  }
}