> ## 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 rules as markdown

> Returns the full text of a ruleset's rules in markdown format. The markdown content can be rendered or processed by the client.



## OpenAPI

````yaml api-reference/rules.yaml get /markdown
openapi: 3.0.3
info:
  title: rules
  description: >-
    The Rules service stores all the official arbitration rulesets and their
    default timetables in one place. It makes these rules easy for other parts
    of the platform to access so everyone stays on the same page.
  version: 1.0.0
servers:
  - url: https://rules.platform.arb.inc
security: []
tags:
  - name: /
  - name: list
  - name: markdown
  - name: pdf
  - name: phases
  - name: rulesets
paths:
  /markdown:
    get:
      tags:
        - markdown
      summary: Get rules as markdown
      description: >-
        Returns the full text of a ruleset's rules in markdown format. The
        markdown content can be rendered or processed by the client.
      operationId: getRulesMarkdown
      parameters:
        - name: id
          in: query
          description: Unique identifier of the ruleset
          required: true
          schema:
            type: string
            example: aaa-commercial-2023
      responses:
        '200':
          description: Markdown content returned successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: text/markdown; charset=utf-8
              example: text/markdown; charset=utf-8
            Content-Disposition:
              schema:
                type: string
                example: inline; filename="rules.md"
              example: inline; filename="rules.md"
            Cache-Control:
              schema:
                type: string
                example: public, max-age=60
              example: public, max-age=60
          content:
            text/markdown:
              schema:
                type: string
                example: |-
                  # AAA Commercial Arbitration Rules

                  ## Rule 1: Scope of Rules

                  ...
        '404':
          description: Ruleset not found
          content:
            text/plain:
              schema:
                type: string
                example: ruleset not found

````