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

# View AI analysis prompt

> Returns the active prompt configuration for a specific document type and rule set combination. Requires `admin.platform.super` permission.



## OpenAPI

````yaml api-reference/ai.yaml post /prompts/view
openapi: 3.0.3
info:
  title: ai
  description: >-
    The AI Service acts as the intelligence hub of the arbitration platform,
    powering smart automation, analysis, and decision support. It centralizes
    all AI integrations, ensuring seamless and consistent AI functionality
    across every part of the system.
  version: 1.0.0
servers:
  - url: https://ai.platform.arb.inc
security: []
tags:
  - name: /
  - name: analysis
  - name: demo
  - name: generate-award
  - name: generate-document
  - name: process
  - name: prompts
paths:
  /prompts/view:
    post:
      tags:
        - prompts
      summary: View AI analysis prompt
      description: >-
        Returns the active prompt configuration for a specific document type and
        rule set combination. Requires `admin.platform.super` permission.
      operationId: viewPrompt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - documentID
                - ruleSet
              properties:
                documentID:
                  type: string
                  minLength: 1
                  maxLength: 50
                  description: Document type identifier
                  example: statementOfClaim
                ruleSet:
                  type: string
                  minLength: 1
                  maxLength: 50
                  description: Rule set identifier
                  example: small-claims-v1
      responses:
        '200':
          description: Prompt details
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    example: 42
                  created:
                    type: string
                    format: date-time
                    example: '2026-01-15T10:30:00.000Z'
                  updated:
                    type: string
                    format: date-time
                    example: '2026-01-20T14:45:00.000Z'
                  documentID:
                    type: string
                    example: statementOfClaim
                  ruleSet:
                    type: string
                    example: small-claims-v1
                  prompt:
                    type: string
                    example: >-
                      Analyze the statement of claim and extract key facts,
                      legal arguments, and relief requested.
                  active:
                    type: boolean
                    example: true
                  triggerOnDocket:
                    type: boolean
                    example: true
                  triggerOnDraft:
                    type: boolean
                    example: false
                  includeEvidence:
                    type: boolean
                    example: true
                  includeFullCase:
                    type: boolean
                    example: false
        '404':
          description: No active prompt found for this document and rule set combination
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: access token
      scheme: bearer
      bearerFormat: JWT

````