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

# Review Summary

> Summarize proposed task changes for review.

Returns:
    Summary, risk level, and review checklist.



## OpenAPI

````yaml https://api.pragmatiks.io/openapi.json post /agents/assists/review-summary
openapi: 3.1.0
info:
  title: Pragma API
  version: 0.1.0
servers: []
security: []
paths:
  /agents/assists/review-summary:
    post:
      tags:
        - assists
      summary: Review Summary
      description: |-
        Summarize proposed task changes for review.

        Returns:
            Summary, risk level, and review checklist.
      operationId: assists-review_summary
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReviewSummaryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReviewSummaryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ReviewSummaryRequest:
      properties:
        task_id:
          type: string
          title: Task Id
      type: object
      required:
        - task_id
      title: ReviewSummaryRequest
      description: |-
        Request body for the ``review-summary`` assist.

        The server pulls the task's graph diff, affected resources, and
        risk signals — callers only supply the task identifier.

        Attributes:
            task_id: Task to review.
    ReviewSummaryResponse:
      properties:
        summary:
          type: string
          title: Summary
        risk_level:
          type: string
          enum:
            - low
            - medium
            - high
          title: Risk Level
        review_checklist:
          items:
            type: string
          type: array
          title: Review Checklist
      type: object
      required:
        - summary
        - risk_level
        - review_checklist
      title: ReviewSummaryResponse
      description: |-
        Response body for the ``review-summary`` assist.

        Attributes:
            summary: Plain-language summary of the proposed changes.
            risk_level: Overall risk classification.
            review_checklist: Concrete checks a reviewer should perform
                before approving the change.
    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

````