> ## 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.

# Improve Task

> Refine a task title and description.

Routes to the seeded ``assist-improve-task`` platform agent and
returns the agent's structured response.

Returns:
    Improved title, description, and rationale.



## OpenAPI

````yaml https://api.pragmatiks.io/openapi.json post /agents/assists/improve-task
openapi: 3.1.0
info:
  title: Pragma API
  version: 0.1.0
servers: []
security: []
paths:
  /agents/assists/improve-task:
    post:
      tags:
        - assists
      summary: Improve Task
      description: |-
        Refine a task title and description.

        Routes to the seeded ``assist-improve-task`` platform agent and
        returns the agent's structured response.

        Returns:
            Improved title, description, and rationale.
      operationId: assists-improve_task
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImproveTaskRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImproveTaskResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ImproveTaskRequest:
      properties:
        title:
          type: string
          title: Title
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
      type: object
      required:
        - title
      title: ImproveTaskRequest
      description: |-
        Request body for the ``improve-task`` assist.

        Attributes:
            title: Existing task title to refine.
            description: Existing task description, when available.
    ImproveTaskResponse:
      properties:
        title:
          type: string
          title: Title
        description:
          type: string
          title: Description
        rationale:
          type: string
          title: Rationale
      type: object
      required:
        - title
        - description
        - rationale
      title: ImproveTaskResponse
      description: |-
        Response body for the ``improve-task`` assist.

        Attributes:
            title: Suggested replacement title.
            description: Suggested replacement description.
            rationale: Short explanation of the improvements applied.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````