DeepLearnAI
Developer Platform
Get API Key

Generate Learning Objectives

POST https://api.deep-learn.ai/v1/course/objectives

Given a text prompt, the DeepLearn model generates a list of learning objectives.

Request body

text
string
Required

The source text for generating learning objectives.

courseTitle
string
Optional

The title of the course, providing context for the objectives.

learnerDescription
string
Optional

A description of the learner. For example, "A beginner learning data science."

learnerLanguageLevel
string
Optional
Defaults to "adult"

The learner's language level, such as "adult", "child", or "English as a second language".

numberOfObjectives
number
Optional
Defaults to 5

The number of learning objectives to generate (default is 5).

Returns

learningObjectives
string[]

An array of generated learning objectives.

success
boolean

Indicates if the request was successful.

errorCode
number or null

The error code if the request was not successful.

errorMessage
string or null

The error message if the request was not successful.