v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBCourses
Generate a course from a prompt (internal only)
🔑
Required OAuth scope: courses:internal.
Triggers the generation of a course from a text prompt. This is an internal-only endpoint restricted to demo platforms. The course generation happens asynchronously, and you will receive an email notification when it completes. Retrieve the generated course using GET /courses sorted by created_at.
post/api/v2/courses/generate-from-prompt
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"prompt": "Create a course on how to learn a new language effectively",
"authorId": "507f1f77bcf86cd799439011",
"groupId": "507f1f77bcf86cd799439011"
}Response
The course generation has been successfully triggered. The course will be created asynchronously.