Get a task draft

Same as the get_task_draft MCP tool.

get/api/me/task-drafts/{id}

Request

  • Base URL
    https://www.toma.com
  • URL
    https://www.toma.com/api/me/task-drafts/{id}
  • Auth
    • HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

idstring required

Response

The draft.

idstring required
status'open' | 'posted' | 'discarded' required
taskIdstring nullable required

The posted task; null until posted.

previewPathstring required

The poster's page for this draft on the website, where they can watch it and approve it.

answersobject required

The opening answers: context ("What context can you share?"), problem ("What problem are you facing, or what result do you want?"). problem is required.

missingstring[] required

Required answers still missing.

researchCorrectionstring nullable required
creationStaleboolean required

The answers changed since the task was written; write it again before approving.

createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.