Skip to main content

Documentation Index

Fetch the complete documentation index at: https://writechoice-8439b44d-mintlify-78019799.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The TaskFlow API uses standard HTTP status codes. All error responses follow a consistent format.

Error response format

{
  "error": "Not Found",
  "message": "No project found with project_id 'abc123'."
}
FieldTypeDescription
errorstringShort error type
messagestringHuman-readable explanation

HTTP status codes

CodeMeaningCommon Cause
200OKRequest succeeded
201CreatedResource created successfully
400Bad RequestMissing required field or invalid value
401UnauthorizedMissing or invalid API key
404Not FoundResource does not exist

Common errors

400 — Bad Request

{
  "error": "Bad Request",
  "message": "The 'name' field is required and must be a non-empty string."
}

401 — Unauthorized

{
  "error": "Unauthorized",
  "message": "Missing or invalid API key. Provide a valid key in the Authorization header as: Bearer <api_key>"
}

404 — Not Found

{
  "error": "Not Found",
  "message": "No project found with project_id 'abc123'."
}
Always save your project_id and task_id from creation responses — you’ll need them for all subsequent requests.