Update Goal Progress
PUT /api/writing/analytics/goals/{goal_id}/progress
PUT
/api/writing/analytics/goals/{goal_id}/progress
Update progress for a specific goal.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” goal_id
required
Goal Id
string
Request Body required
Section titled “Request Body required ” UpdateProgressBody
PUT /analytics/goals/{id}/progress body.
object
wordsAdded
Wordsadded
integer
Responses
Section titled “ Responses ”Successful Response
AnalyticsStatusResponse[GoalProgressResponse]
object
status
required
Status
string
message
required
Message
string
data
Any of:
GoalProgressResponse
Goal progress after update.
object
goalId
required
Goalid
string
goalType
Goaltype
string
targetWords
Targetwords
integer
currentWords
Currentwords
integer
percentage
Percentage
number
remainingWords
Remainingwords
integer
daysRemaining
Daysremaining
integer
onTrack
Ontrack
boolean
projectedCompletion
Projectedcompletion
string
null
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context