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

# List the project's schedules

> Each schedule runs its queries on its models, on its cadence.



## OpenAPI

````yaml https://api.mentionlab.io/api/docs/v2-json get /api/v2/projects/{projectId}/recurrence-settings
openapi: 3.0.0
info:
  title: MentionLab Public API v2
  description: ''
  version: 0.6.27-rc
  contact: {}
servers:
  - url: https://api.mentionlab.io
security: []
tags: []
paths:
  /api/v2/projects/{projectId}/recurrence-settings:
    get:
      tags:
        - Recurrence settings
      summary: List the project's schedules
      description: Each schedule runs its queries on its models, on its cadence.
      operationId: ProjectRecurrenceSettingsV2Controller_list_v2
      parameters:
        - name: page
          required: false
          in: query
          description: >-
            Which slice of the matched rows to return, counted from 1. Rows
            skipped are (page - 1) * limit.
          schema:
            minimum: 1
            default: 1
            example: 2
            type: number
        - name: limit
          required: false
          in: query
          description: >-
            How many rows one page holds, capped at 100 to keep a single
            response bounded.
          schema:
            minimum: 1
            maximum: 100
            default: 25
            example: 50
            type: number
        - name: search
          required: false
          in: query
          description: Substring of the schedule name, accents and apostrophes folded
          schema:
            example: weekly
            type: string
        - name: sort
          required: false
          in: query
          description: 'field:asc|desc, comma-separated. Sortable: name, status, createdAt'
          schema:
            example: createdAt:desc
            type: string
        - name: x-project-id
          in: header
          description: Project ID to specify the project context
          required: true
          schema:
            type: string
        - name: projectId
          required: true
          in: path
          schema:
            format: uuid
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/PagingResponse'
                properties:
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/ProjectRecurrenceSettingV2Response'
                  page:
                    $ref: '#/components/schemas/Paging'
        '400':
          description: >-
            The request failed validation — the body, query or path parameters
            are malformed or out of range.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: The request is missing valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: >-
            The authenticated principal lacks the required permission, or access
            to the requested organisation/project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    PagingResponse:
      type: object
      properties:
        page:
          $ref: '#/components/schemas/Paging'
      required:
        - page
    ProjectRecurrenceSettingV2Response:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Identifies the schedule in the pause and resume route
        name:
          type: string
          description: Label the project gave the schedule, unique within it
        cron:
          type: string
          description: UTC cron
        status:
          type: string
          enum:
            - active
            - paused
          description: Active fires on the cron, paused never fires and reports no next run
        nextRunAt:
          type: string
          format: date-time
          description: Next fire time; absent when paused or none within 32 days
        llmProviders:
          description: Raw model names
          type: array
          items:
            type: string
        executionCount:
          type: number
          description: Runs per query per fire
        queriesCount:
          type: number
          description: Queries attached to the schedule, each run on every fire
        createdAt:
          type: string
          format: date-time
          description: When the schedule was created, not when it last fired
      required:
        - id
        - name
        - cron
        - status
        - llmProviders
        - executionCount
        - queriesCount
        - createdAt
    Paging:
      type: object
      properties:
        totalRecords:
          type: number
        limit:
          type: number
        currentPage:
          type: number
        totalPages:
          type: number
        nextPage:
          type: number
        prevPage:
          type: number
      required:
        - totalRecords
        - limit
        - currentPage
        - totalPages
        - nextPage
        - prevPage
    ApiErrorResponse:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code of the error.
          example: 400
        message:
          type: string
          description: >-
            Human-readable description of the error. Validation failures return
            an array of per-field validation errors instead of a single string.
          example: Validation failed
        error:
          type: string
          description: Short name of the HTTP error.
          example: Bad Request
      required:
        - statusCode

````

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