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

# List Predictions

> Paginated, filterable, server-sorted prediction list.
Backs RiskSignalsTable (top-6 by probability) and ProbabilityMatrix.

V2 Wave 2B (API-IMPLEMENTATION-SPEC.md §8.2): rows are hazard projections
generated per engine run (`app/engine/hazard/service.py:
generate_predictions_for_pattern`), superseded (not deleted) by later runs.
The old ad-hoc `risk_forecasts`-merge bridge (pre-hazard_fits) is removed —
hazard_fits is now the single source of truth for every pattern's
recurrence signal, so there is no separate "engine-only workspace" case to
reconcile anymore.



## OpenAPI

````yaml /openapi.json get /v1/predictions
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/predictions:
    get:
      tags:
        - predictions
      summary: List Predictions
      description: >-
        Paginated, filterable, server-sorted prediction list.

        Backs RiskSignalsTable (top-6 by probability) and ProbabilityMatrix.


        V2 Wave 2B (API-IMPLEMENTATION-SPEC.md §8.2): rows are hazard
        projections

        generated per engine run (`app/engine/hazard/service.py:

        generate_predictions_for_pattern`), superseded (not deleted) by later
        runs.

        The old ad-hoc `risk_forecasts`-merge bridge (pre-hazard_fits) is
        removed —

        hazard_fits is now the single source of truth for every pattern's

        recurrence signal, so there is no separate "engine-only workspace" case
        to

        reconcile anymore.
      operationId: list_predictions_v1_predictions_get
      parameters:
        - in: query
          name: min_probability
          required: false
          schema:
            anyOf:
              - maximum: 1
                minimum: 0
                type: number
              - type: 'null'
            title: Min Probability
        - in: query
          name: max_probability
          required: false
          schema:
            anyOf:
              - maximum: 1
                minimum: 0
                type: number
              - type: 'null'
            title: Max Probability
        - in: query
          name: window_days
          required: false
          schema:
            anyOf:
              - minimum: 1
                type: integer
              - type: 'null'
            title: Window Days
        - in: query
          name: impact
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Impact
        - in: query
          name: pattern_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Pattern Id
        - in: query
          name: sort
          required: false
          schema:
            default: '-probability'
            title: Sort
            type: string
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
        - in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response List Predictions V1 Predictions Get
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````