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

# List Backtest Jobs

> List this API key's recent backtest jobs, newest first.

Returned records include params + status; for COMPLETED jobs the
result blob is also included. If the listing is large, paginate via
`offset`. Older than ~500 jobs ago are GC'd by job_store.



## OpenAPI

````yaml get /v1/backtest
openapi: 3.1.0
info:
  title: PolyQuantLab API
  version: 0.1.0
  description: >-
    Sub-second Polymarket orderbook data, walk-the-book backtests, paper
    trading, and the live arb audit. Same endpoints the PolyQuantLab dashboard
    uses internally — Bearer-token auth, JSON-over-HTTPS, predictable
    pagination.
  contact:
    email: contact@polyquantlab.com
    url: https://polyquantlab.com/contact
  license:
    name: Proprietary
servers:
  - url: https://api.polyquantlab.com
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /v1/backtest:
    get:
      summary: List Backtest Jobs
      description: |-
        List this API key's recent backtest jobs, newest first.

        Returned records include params + status; for COMPLETED jobs the
        result blob is also included. If the listing is large, paginate via
        `offset`. Older than ~500 jobs ago are GC'd by job_store.
      operationId: list_backtest_jobs_v1_backtest_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            default: 20
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBacktestJobsVBacktestGetResponse'
              example:
                - job_id: bt_8421ae0c
                  status: complete
                  submitted_at: '2026-06-06T03:54:11+00:00'
                  completed_at: '2026-06-06T03:54:38+00:00'
                  strategy_type: threshold_entry
                  total_pnl: 14.82
                  trades_total: 48
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ListBacktestJobsVBacktestGetResponse:
      type: array
      items:
        type: object
        properties:
          job_id:
            type: string
          status:
            type: string
            enum:
              - queued
              - running
              - complete
              - failed
          submitted_at:
            type: string
            format: date-time
          completed_at:
            type: string
            format: date-time
          strategy_type:
            type: string
          total_pnl:
            type: number
            format: double
          trades_total:
            type: integer
            format: int64
        required:
          - job_id
          - status
          - submitted_at
          - completed_at
          - strategy_type
          - total_pnl
          - trades_total
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````