plans

createPlan

Create a plan in a project. Requires projectId and title. Pass fields (for example ["id", "versionTimestamp"]) for a short answer instead of the whole plan.

post/tools/createPlan

Request

  • Base URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
  • URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/tools/createPlan
  • Auth: HTTP bearer

Request body

projectIdstring required
titlestring required
descriptionstring
status'draft' | 'planning' | 'active' | 'on_hold' | 'completed' | 'cancelled'

Status. Default: draft.

prioritystring

Priority. Default: medium.

iconstring

Lucide icon name.

colorstring

Color code.

start_datestring

YYYY-MM-DD.

end_datestring

YYYY-MM-DD.

linked_documentsobject[]

Array of {id, title}.

linked_document_idsstring[]

Document IDs to link.

fieldsstring[]

Optional. Answer with only these fields instead of the whole plan, for example ["id", "versionTimestamp"]. Any of the plan's own fields (snake_case or camelCase) or of the keys around it in the full answer (versionTimestamp, href and, where present, url, title, trackingId, message). The id is always returned, and so is any notice that needs your attention (a note, such as a phase's dates following its tasks or an item's id changing with its type, and a date change's cascadePreview). Unknown names are ignored.

Response

Tool result (shape varies per tool — refer to the tool's docs for the exact return value).

object required

Changes

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