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

# Get files for AI analysis

> Returns all evidence and document files for a case formatted for AI analysis. Requires cases.files.viewer permission.



## OpenAPI

````yaml api-reference/cases.yaml post /internal/files-for-analysis
openapi: 3.0.3
info:
  title: cases
  description: >-
    The Cases Service is the main place where all case info lives, including who
    is involved and what files are attached. It lets you create new cases, view
    existing ones, upload documents or files, and manage service of notice
    delivery through multiple channels (mail, email, or manual attestation),
    while notifying other parts of the system when anything changes.
  version: 1.0.0
servers:
  - url: https://cases.platform.arb.inc
security: []
tags:
  - name: /
  - name: cases
  - name: docket
  - name: evidence
  - name: filings
  - name: internal
  - name: invites
  - name: participants
  - name: schemas
  - name: service-of-notice
  - name: tasks
  - name: timetables
paths:
  /internal/files-for-analysis:
    post:
      tags:
        - internal
      summary: Get files for AI analysis
      description: >-
        Returns all evidence and document files for a case formatted for AI
        analysis. Requires cases.files.viewer permission.
      operationId: getFilesForAnalysis
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - caseID
              properties:
                caseID:
                  type: string
                  example: 2025-08-00292
      responses:
        '200':
          description: Successfully retrieved files for analysis
          content:
            application/json:
              schema:
                type: object
                properties:
                  files:
                    type: array
                    items:
                      type: object
                      properties:
                        fileID:
                          type: string
                          format: uuid
                          example: 2720f109-0caf-4c62-af22-5d08c853711c
                        url:
                          type: string
                          format: uri
                          example: >-
                            gs://secure-storage.arb.inc/cases/2025-08-00292/evidence/2720f109-0caf-4c62-af22-5d08c853711c.pdf
                        contentType:
                          type: string
                          example: application/pdf
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: access token
      scheme: bearer
      bearerFormat: JWT

````