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

> Returns the full text of a ruleset's rules as a PDF file. The PDF is retrieved from cloud storage and streamed back to the client.



## OpenAPI

````yaml api-reference/rules.yaml get /pdf
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:
  /pdf:
    get:
      tags:
        - pdf
      summary: Get rules as PDF
      description: >-
        Returns the full text of a ruleset's rules as a PDF file. The PDF is
        retrieved from cloud storage and streamed back to the client.
      operationId: getRulesPDF
      parameters:
        - name: id
          in: query
          description: Unique identifier of the ruleset
          required: true
          schema:
            type: string
            example: aaa-commercial-2023
      responses:
        '200':
          description: PDF file returned successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/pdf
              example: application/pdf
            Content-Disposition:
              schema:
                type: string
                example: inline; filename="rules.pdf"
              example: inline; filename="rules.pdf"
            Cache-Control:
              schema:
                type: string
                example: public, max-age=60
              example: public, max-age=60
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '404':
          description: Ruleset not found
          content:
            text/plain:
              schema:
                type: string
                example: ruleset not found

````