Skip to content

Get Active Goals

GET
/api/writing/analytics/goals

Get all active writing goals.

Successful Response

AnalyticsStatusResponse[GoalListData]
object
status
required
Status
string
message
required
Message
string
data
Any of:
GoalListData

Wrapper for goal list.

object
goals
required
Goals
Array<object>
WritingGoalResponse

A single writing goal.

object
goalId
required
Goalid
string
userId
Userid
string
""
goalType
Goaltype
string
""
targetWords
Targetwords
integer
0
currentWords
Currentwords
integer
0
startDate
Startdate
string
""
endDate
Enddate
string
""
isActive
Isactive
boolean
default: true
createdAt
Createdat
string
""
updatedAt
Updatedat
string
""