> ## Documentation Index
> Fetch the complete documentation index at: https://docs.casehealth.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Run Determination

> Submits a determination for a specific prior authorization. This will run a policy check, generate a summary, and submit supporting information.



## OpenAPI

````yaml POST /prior_auths/{prior_auth_id}/determination
openapi: 3.1.0
info:
  title: CaseHealth API
  description: API for managing prior authorizations
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.casehealth.ai/api/v1/
security:
  - apiKeyAuth: []
paths:
  /prior_auths/{prior_auth_id}/determination:
    post:
      description: >-
        Submits a determination for a specific prior authorization. This will
        run a policy check, generate a summary, and submit supporting
        information.
      parameters:
        - name: prior_auth_id
          in: path
          description: Unique identifier of the prior authorization
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Determination generated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  determination:
                    $ref: '#/components/schemas/Determination'
        '400':
          description: Bad request - Invalid prior authorization ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Prior authorization not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Determination:
      type: object
      properties:
        status:
          type: string
          description: Status of the determination
          enum:
            - approved
            - denied
            - missing_information
        reasoning:
          type: array
          description: Step-by-step reasoning for the determination
          items:
            type: object
            properties:
              step:
                type: integer
                description: Step number in the reasoning process
              description:
                type: string
                description: Description of the reasoning step
              source:
                type: string
                description: Source of information for this step
            required:
              - step
              - description
              - source
        recommendation:
          type: string
          description: Final recommendation based on the determination
        references:
          type: array
          description: List of references used in making the determination
          items:
            type: string
        generated_at:
          type: string
          format: date-time
          description: Timestamp when the determination was generated
      required:
        - status
        - reasoning
        - recommendation
        - references
        - generated_at
      example:
        status: approved
        reasoning:
          - step: 1
            description: Patient meets age and diagnosis criteria for ADHD treatment
            source: policy_document/section_3.2
          - step: 2
            description: >-
              No concurrent contraindicated medications identified in claim
              history
            source: claim_history
          - step: 3
            description: >-
              Step therapy requirement completed - patient tried
              immediate-release stimulants
            source: prior_auth_history
        recommendation: Approve PA for Adzenys XR 30-day supply
        references:
          - policy_document/ADZENYS_XR.pdf
          - claim_history
          - prior_auth_history
        generated_at: '2025-08-22T17:45:00Z'
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````