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

# Get documents for a reimbursement rate

> Returns all documents attached to a reimbursement rate, each with a pre-signed download URL valid for 5 minutes.



## OpenAPI

````yaml /openapi/reimbursement/rates/openapi.yaml get /v1/{id}/documents
openapi: 3.0.3
info:
  title: Reimbursement Rates
  description: API for managing reimbursement rates.
  version: '0.1'
servers:
  - url: https://api.spirii.com/reimbursement/rates
security:
  - BearerAuth: []
tags:
  - name: Reimbursement Rates
    description: Operations related to reimbursement rates.
paths:
  /v1/{id}/documents:
    get:
      tags:
        - Reimbursement Rates
      summary: Get documents for a reimbursement rate
      description: >-
        Returns all documents attached to a reimbursement rate, each with a
        pre-signed download URL valid for 5 minutes.
      operationId: getRateDocuments
      parameters:
        - name: id
          in: path
          required: true
          description: ID of the reimbursement rate to retrieve documents for.
          schema:
            type: integer
      responses:
        '200':
          description: Returns the list of documents attached to the rate.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RateDocumentResponse'
        '401':
          description: Missing or invalid authorization token.
        '403':
          description: Access to the requested resource is not permitted.
        '404':
          description: Reimbursement rate not found.
components:
  schemas:
    RateDocumentResponse:
      type: object
      properties:
        id:
          type: integer
          description: Unique document identifier.
        originalFilename:
          type: string
          description: Name of the uploaded file.
        fileSize:
          type: integer
          description: Size of the file in bytes.
        mimeType:
          type: string
          description: MIME type of the file.
        url:
          type: string
          description: Pre-signed download URL, valid for 5 minutes.
      required:
        - id
        - originalFilename
        - fileSize
        - mimeType
        - url
  securitySchemes:
    BearerAuth:
      scheme: bearer
      bearerFormat: JWT
      description: Authorization via a JWT bearer token.
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.