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

# Explain Task

> Generate a plain-language task explanation.

Returns:
    Summary, key points, and suggested next action.



## OpenAPI

````yaml https://api.pragmatiks.io/openapi.json post /agents/assists/explain-task
openapi: 3.1.0
info:
  title: Pragma API
  version: 0.1.0
servers: []
security: []
paths:
  /agents/assists/explain-task:
    post:
      tags:
        - assists
      summary: Explain Task
      description: |-
        Generate a plain-language task explanation.

        Returns:
            Summary, key points, and suggested next action.
      operationId: assists-explain_task
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExplainTaskRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExplainTaskResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ExplainTaskRequest:
      properties:
        task_id:
          type: string
          title: Task Id
        correlation_bucket_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Correlation Bucket Id
      type: object
      required:
        - task_id
      title: ExplainTaskRequest
      description: |-
        Request body for the ``explain-task`` assist.

        The server fetches the referenced task and, when provided, the
        correlation bucket so the assist can ground its explanation in the
        surrounding event stream.

        Attributes:
            task_id: Task to explain.
            correlation_bucket_id: Optional correlation bucket whose recent
                events should enrich the explanation.
    ExplainTaskResponse:
      properties:
        summary:
          type: string
          title: Summary
        key_points:
          items:
            type: string
          type: array
          title: Key Points
        suggested_next_action:
          type: string
          title: Suggested Next Action
      type: object
      required:
        - summary
        - key_points
        - suggested_next_action
      title: ExplainTaskResponse
      description: |-
        Response body for the ``explain-task`` assist.

        Attributes:
            summary: Human-readable summary of the task.
            key_points: Salient details a reader should know.
            suggested_next_action: Recommended next step for the assignee.
    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

````