Skip to main content
POST
/
agents
/
assists
/
generate-subtasks
Generate Subtasks
curl --request POST \
  --url https://api.example.com/agents/assists/generate-subtasks \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "parent_context": "<string>"
}
'
{
  "subtasks": [
    {
      "title": "<string>",
      "description": "<string>",
      "priority": 2
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.pragmatiks.io/llms.txt

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

Body

application/json

Request body for the generate-subtasks assist.

Two mutually exclusive modes are supported:

  • New task mode — supply title (with optional description) to generate subtasks for a proposed work item that does not yet exist on the board.
  • Existing task mode — supply parent_context (the body of an already-created parent task) to generate subtasks beneath it.

Exactly one mode must be used per request: omit both fields and there is nothing to seed the assist with; provide both and the intended parent is ambiguous.

Attributes: title: Title of the proposed work item, for new-task mode. description: Detailed description of the proposed work item, paired with title in new-task mode. parent_context: Body of an already-created parent task, for existing-task mode.

title
string | null
description
string | null
parent_context
string | null

Response

Successful Response

Response body for the generate-subtasks assist.

Attributes: subtasks: Ordered list of proposed subtasks for the caller to review before persisting.

subtasks
ProposedSubtask · object[]
required