curl --request POST \
--url https://api.alpha-1edtech.ai/goals/{studentId}/courses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"courseId": "<string>",
"target": {
"metric": "xp",
"value": "<string>"
},
"pacing": {
"mode": "target_date",
"endDate": "<string>"
}
}
'{
"course": {
"course": {
"id": "<string>",
"title": "<string>",
"subject": "<string>"
},
"goal": {
"id": "<string>",
"status": "active",
"target": {
"metric": "xp",
"value": "<string>"
},
"pacing": {
"mode": "target_date",
"endDate": "<string>"
}
},
"progress": {
"courseId": "<string>",
"courseTitle": "<string>",
"pctComplete": 123,
"pctCompleteApp": 123,
"pctCompleteLessons": 123,
"pctCompleteXP": 123,
"totalXP": 123,
"earnedXP": 123,
"remainingXP": 123,
"totalUnits": 123,
"completedUnits": 123,
"remainingUnits": 123,
"totalLessons": 123,
"completedLessons": 123,
"remainingLessons": 123
}
}
}Creates a 9-12 course-scoped atomic goal for a currently enrolled course. Subject metadata is derived from the course rather than supplied as canonical input.
curl --request POST \
--url https://api.alpha-1edtech.ai/goals/{studentId}/courses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"courseId": "<string>",
"target": {
"metric": "xp",
"value": "<string>"
},
"pacing": {
"mode": "target_date",
"endDate": "<string>"
}
}
'{
"course": {
"course": {
"id": "<string>",
"title": "<string>",
"subject": "<string>"
},
"goal": {
"id": "<string>",
"status": "active",
"target": {
"metric": "xp",
"value": "<string>"
},
"pacing": {
"mode": "target_date",
"endDate": "<string>"
}
},
"progress": {
"courseId": "<string>",
"courseTitle": "<string>",
"pctComplete": 123,
"pctCompleteApp": 123,
"pctCompleteLessons": 123,
"pctCompleteXP": 123,
"totalXP": 123,
"earnedXP": 123,
"remainingXP": 123,
"totalUnits": 123,
"completedUnits": 123,
"remainingUnits": 123,
"totalLessons": 123,
"completedLessons": 123,
"remainingLessons": 123
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.timeback.com/llms.txt
Use this file to discover all available pages before exploring further.
The access token received from the authorization server in the OAuth 2.0 flow.
Student sourcedId
Course goal created
Show child attributes