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

# tableSpcResults

> Latest TableSpcResult for every contract in the workspace's catalog.
Records are written by services/provider-transformations queue jobs
through parable-dataplane-quality-rs.



## OpenAPI

````yaml /api-reference/openapi.json get /api/catalog/table-spc-results
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-spc-results:
    get:
      tags:
        - catalog
      summary: tableSpcResults
      description: |-
        Latest TableSpcResult for every contract in the workspace's catalog.
        Records are written by services/provider-transformations queue jobs
        through parable-dataplane-quality-rs.
      operationId: CatalogTableSpcResultsHandler
      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/TenantTableSpcResultsResponse'
                  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:
    TenantTableSpcResultsResponse:
      properties:
        results:
          items:
            $ref: '#/components/schemas/TableSpcResult'
          type: array
        resultsVersion:
          type: string
        tenantId:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
      required:
        - tenantId
        - resultsVersion
        - results
      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
    TableSpcResult:
      description: >-
        Canonical SPC analysis records. services/provider-transformations queue
        jobs

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

        SPC analysis output for a single contract at one run. One TableSpcResult

        per queue job per contract; each carries SPC state for every tracked

        series. Series identity is stable across runs so dashboards can chart

        violations over time.
      properties:
        capturedAt:
          description: ISO8601 datetime string
          type: string
        dataContractId:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
        layer:
          $ref: '#/components/schemas/DataContractLayerEnum'
        overallStatus:
          $ref: '#/components/schemas/SpcRunStatus'
        resultId:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
        runId:
          description: UUID v4 with automatic base62 encoding for client-facing APIs
          type: string
        series:
          items:
            $ref: '#/components/schemas/SpcSeriesResult'
          type: array
        tapContractId:
          description: |-
            The contract this result describes. Exactly one of tapContractId /
            dataContractId is non-null.
          type: string
        windowSize:
          description: >-
            Size of the history window (in number of TableShapeStats rows) used
            to

            compute control limits and rule firings.
          format: int64
          type: integer
      required:
        - resultId
        - layer
        - runId
        - capturedAt
        - windowSize
        - overallStatus
        - series
      type: object
    DataContractLayerEnum:
      enum:
        - bronze_i
        - bronze_ii
        - silver
        - gold
        - mvo
      type: string
    SpcRunStatus:
      description: >-
        SPC result status shared by the canonical dataplane-maintenance result

        package, connector contracts, query-layer readers, and the web-api
        proxy.

        services/provider-transformations queue jobs compute and write the
        result

        records through parable-dataplane-quality-rs.

        SPC run / series outcome bucket. INSUFFICIENT_HISTORY is returned when

        the window has fewer points than TapSpcConfig.minHistoryForViolation.
      enum:
        - IN_BOUNDS
        - WARNING
        - OUT_OF_BOUNDS
        - INSUFFICIENT_HISTORY
      type: string
    SpcSeriesResult:
      description: |-
        SPC state for one tracked series. seriesId is stable: e.g.
        "table.rowCount" or "column.email.nullPct".
      properties:
        latestValue:
          format: double
          type: number
        lowerControl3Sigma:
          format: double
          type: number
        lowerWarning2Sigma:
          format: double
          type: number
        mean:
          format: double
          type: number
        seriesId:
          type: string
        seriesKind:
          $ref: '#/components/schemas/SpcSeriesKind'
        status:
          $ref: '#/components/schemas/SpcRunStatus'
        stddev:
          format: double
          type: number
        trendSlope:
          format: double
          type: number
        upperControl3Sigma:
          format: double
          type: number
        upperWarning2Sigma:
          format: double
          type: number
        violations:
          items:
            $ref: '#/components/schemas/SpcRuleViolation'
          type: array
      required:
        - seriesId
        - seriesKind
        - latestValue
        - mean
        - stddev
        - upperControl3Sigma
        - lowerControl3Sigma
        - upperWarning2Sigma
        - lowerWarning2Sigma
        - status
        - violations
      type: object
    SpcSeriesKind:
      description: |-
        Tracked SPC series kind. Also used by TapSpcConfig.trackedSeries to
        declare which series the cron should monitor.
      enum:
        - TABLE_ROW_COUNT
        - COLUMN_NULL_PCT
        - COLUMN_VALIDATION_FAILURE_PCT
        - COLUMN_DISTINCT_COUNT
        - COLUMN_AVG
      type: string
    SpcRuleViolation:
      description: |-
        One Western Electric rule firing on a series. ruleId mirrors spc.py's
        rule enumeration so the Python -> Rust port is auditable.
      properties:
        description:
          type: string
        pointsInvolved:
          description: >-
            Signed 64-bit integer; range bounded by JavaScript's safe-integer
            ceiling.
          format: int64
          type: integer
        ruleId:
          type: string
      required:
        - ruleId
        - description
        - pointsInvolved
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````