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

# Deep Analysis

> Answer a free-form analysis question about a task.

Returns:
    Analysis, concerns, and recommendations.



## OpenAPI

````yaml https://api.pragmatiks.io/openapi.json post /agents/assists/deep-analysis
openapi: 3.1.0
info:
  title: Pragma API
  version: 0.1.0
servers: []
security: []
paths:
  /agents/assists/deep-analysis:
    post:
      tags:
        - assists
      summary: Deep Analysis
      description: |-
        Answer a free-form analysis question about a task.

        Returns:
            Analysis, concerns, and recommendations.
      operationId: assists-deep_analysis
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeepAnalysisRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeepAnalysisResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DeepAnalysisRequest:
      properties:
        task_id:
          type: string
          title: Task Id
        user_question:
          type: string
          title: User Question
      type: object
      required:
        - task_id
        - user_question
      title: DeepAnalysisRequest
      description: |-
        Request body for the ``deep-analysis`` assist.

        Attributes:
            task_id: Task that anchors the analysis.
            user_question: Free-form question the assist should answer.
    DeepAnalysisResponse:
      properties:
        analysis:
          type: string
          title: Analysis
        concerns:
          items:
            type: string
          type: array
          title: Concerns
        recommendations:
          items:
            type: string
          type: array
          title: Recommendations
      type: object
      required:
        - analysis
        - concerns
        - recommendations
      title: DeepAnalysisResponse
      description: |-
        Response body for the ``deep-analysis`` assist.

        Attributes:
            analysis: Detailed analysis answering ``user_question``.
            concerns: Risks or open issues surfaced during analysis.
            recommendations: Recommended follow-ups for the caller.
    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

````