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

# tableMaintenanceRuns

> Maintenance-run log for the workspace's catalog. Admin-only because it
surfaces internal Delta-maintenance operations run by
services/provider-transformations queue jobs through
parable-dataplane-quality-rs.



## OpenAPI

````yaml /api-reference/openapi.json get /api/catalog/table-maintenance-runs
openapi: 3.0.3
info:
  title: Parable API
  description: >-
    The REST API for your Parable workspace: manage connectors and taps, explore
    your data catalog, upload artifacts, and administer users and roles.
  version: v1
servers:
  - url: https://api.askparable.com
    description: Production
security: []
paths:
  /api/catalog/table-maintenance-runs:
    get:
      tags:
        - catalog
      summary: tableMaintenanceRuns
      description: |-
        Maintenance-run log for the workspace's catalog. Admin-only because it
        surfaces internal Delta-maintenance operations run by
        services/provider-transformations queue jobs through
        parable-dataplane-quality-rs.
      operationId: CatalogTableMaintenanceRunsHandler
      parameters:
        - description: >-
            Workspace slug. Overrides subdomain-based workspace resolution when
            provided.
          in: header
          name: X-Tenant
          required: false
          schema:
            example: acme
            type: string
        - description: Optional request correlation ID echoed back in the response.
          in: header
          name: X-Request-ID
          required: false
          schema:
            example: 550e8400-e29b-41d4-a716-446655440000
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/TenantTableMaintenanceRunsResponse'
                  links:
                    $ref: '#/components/schemas/ResponseLinks'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
                required:
                  - data
                  - meta
                type: object
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      security:
        - bearerAuth: []
components:
  schemas:
    TenantTableMaintenanceRunsResponse:
      properties:
        runs:
          items:
            $ref: '#/components/schemas/TableMaintenanceResult'
          type: array
        runsVersion:
          type: string
        tenantId:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
      required:
        - tenantId
        - runsVersion
        - runs
      type: object
    ResponseLinks:
      properties:
        first:
          nullable: true
          type: string
        last:
          nullable: true
          type: string
        next:
          nullable: true
          type: string
        prev:
          nullable: true
          type: string
      type: object
    ResponseMeta:
      properties:
        requestId:
          description: Unique identifier for the request
          type: string
        totalCount:
          description: Total count of items for paginated responses
          nullable: true
          type: integer
      required:
        - requestId
      type: object
    Error:
      properties:
        error:
          type: string
      type: object
    TableMaintenanceResult:
      description: >-
        Canonical Delta-maintenance records. services/provider-transformations
        queue

        jobs compute and write them through parable-dataplane-quality-rs.

        One periodic maintenance run against a contract. Records what action

        was taken and the before / after sizing.
      properties:
        action:
          $ref: '#/components/schemas/MaintenanceAction'
        bytesAfter:
          description: >-
            Signed 64-bit integer; range bounded by JavaScript's safe-integer
            ceiling.
          format: int64
          type: integer
        bytesBefore:
          description: >-
            Signed 64-bit integer; range bounded by JavaScript's safe-integer
            ceiling.
          format: int64
          type: integer
        capturedAt:
          description: ISO8601 datetime string
          type: string
        dataContractId:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
        durationMs:
          description: Signed integer count of milliseconds
          format: int64
          type: integer
        filesAfter:
          description: >-
            Signed 64-bit integer; range bounded by JavaScript's safe-integer
            ceiling.
          format: int64
          type: integer
        filesBefore:
          description: >-
            Signed 64-bit integer; range bounded by JavaScript's safe-integer
            ceiling.
          format: int64
          type: integer
        runId:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
        skippedReason:
          $ref: '#/components/schemas/SkippedReason'
        tapContractId:
          description: |-
            The contract this result describes. Exactly one of tapContractId /
            dataContractId is non-null.
          type: string
        vacuumRetentionHours:
          description: Set when VACUUM ran. Retention floor in hours.
          format: int64
          type: integer
        zOrderColumns:
          description: Set when action = OPTIMIZE_ZORDER. Order matches the Z-ORDER call.
          items:
            type: string
          type: array
      required:
        - runId
        - capturedAt
        - action
        - filesBefore
        - filesAfter
        - bytesBefore
        - bytesAfter
        - durationMs
      type: object
    MaintenanceAction:
      description: Action recorded by one Delta-maintenance run against a contract.
      enum:
        - NONE
        - OPTIMIZE
        - OPTIMIZE_ZORDER
        - VACUUM
        - OPTIMIZE_AND_VACUUM
      type: string
    SkippedReason:
      description: |-
        Why a maintenance run was skipped. Set on TableMaintenanceResult when
        action = NONE.
      enum:
        - DISABLED
        - THRESHOLD_NOT_MET
        - LOCK_HELD
        - UPSTREAM_FAILED
      type: string
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````