Update Draft Task
Update fields on a draft task. Only works for status=‘draft’.
Documentation Index
Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Partial update for a draft task. All fields optional.
Note on description: NO min_length constraint here. Drafts
are incomplete-by-design — the autosave fires on every keystroke,
so requiring DESCRIPTION_MIN_LENGTH chars mid-typing would
reject every interim save. The DESCRIPTION_MIN_LENGTH-char
content requirement (typed OR transcript) is enforced at PUBLISH
time by publish_draft_task in api/routes/tasks.py — the
same rule TaskCreate's
_require_content_or_synthesize_from_transcript enforces.
20050003 <= x <= 3000 <= x <= 1Response
Successful Response