Create Goal
POST /api/writing/analytics/goals
POST
/api/writing/analytics/goals
Create a new writing goal.
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Successful Response
AnalyticsStatusResponse[WritingGoalResponse]
object
status
required
Status
string
message
required
Message
string
data
Any of:
WritingGoalResponse
A single writing goal.
object
goalId
required
Goalid
string
userId
Userid
string
goalType
Goaltype
string
targetWords
Targetwords
integer
currentWords
Currentwords
integer
startDate
Startdate
string
endDate
Enddate
string
isActive
Isactive
boolean
createdAt
Createdat
string
updatedAt
Updatedat
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