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

# Route public API requests

> Routes requests from the public API gateway to internal case endpoints. Requires api.internal.proxy permission.



## OpenAPI

````yaml api-reference/cases.yaml post /internal/public-api
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/public-api:
    post:
      tags:
        - internal
      summary: Route public API requests
      description: >-
        Routes requests from the public API gateway to internal case endpoints.
        Requires api.internal.proxy permission.
      operationId: proxyPublicAPI
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - endpoint
                - body
              properties:
                endpoint:
                  type: string
                  example: /cases/list
                body:
                  type: object
      responses:
        '200':
          description: Successfully routed request
          content:
            application/json:
              schema:
                type: object
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: access token
      scheme: bearer
      bearerFormat: JWT

````