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

# GET /api/routines/{routineId}/runs



## OpenAPI

````yaml /api/worksong.openapi.json get /api/routines/{routineId}/runs
openapi: 3.1.0
info:
  title: Worksong API
  version: 042e65d5f227
  description: >-
    The HTTP API behind the Worksong apps, generated from the code at the commit
    below. Request and response shapes come from the shared zod contract; an
    operation marked `x-gaps` has a part the generator could not resolve.
  x-source: worksong-ai/worksong@042e65d5f2275493f60f879c7970dcfdeceb7e0e
servers:
  - url: https://app.worksong.ai
security:
  - bearerAuth: []
tags:
  - name: Approvals
  - name: Audit
  - name: Avatar generator
  - name: Bootstrap
  - name: Bot compute limit
  - name: Bot mcp servers
  - name: Bots
  - name: Calls
  - name: Connections
  - name: Contacts
  - name: Conversations
  - name: Coupons
  - name: Day grants
  - name: Desktop
  - name: Entity files
  - name: Files
  - name: Github
  - name: Insights
  - name: Login
  - name: Mcp servers
  - name: Me
  - name: Me bot messaging
  - name: Me chat header
  - name: Me daily limit
  - name: Me time zone
  - name: Memory
  - name: Message delete
  - name: Messages
  - name: Notifications
  - name: Optimize prompt
  - name: Phone
  - name: Places
  - name: Projects
  - name: Public file links
  - name: Push
  - name: Queue
  - name: Reactions
  - name: Register
  - name: Rooms
  - name: Routes
  - name: Routines
  - name: Runs
  - name: Skills
  - name: Tasks
  - name: Transcribe
  - name: Tts
  - name: Webhooks
  - name: Whats new
  - name: Whatsapp
  - name: Workspace files
paths:
  /api/routines/{routineId}/runs:
    get:
      tags:
        - Routines
      summary: GET /api/routines/{routineId}/runs
      operationId: get_api_routines_routineId_runs
      parameters:
        - name: routineId
          in: path
          required: true
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            default: 50
            type: integer
            minimum: 1
            maximum: 100
        - name: cursor
          in: query
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 512
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - queued
              - running
              - succeeded
              - failed
              - skipped
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        routineId:
                          type: string
                          format: uuid
                        botId:
                          type: string
                          format: uuid
                        conversationId:
                          anyOf:
                            - type: string
                              format: uuid
                            - type: 'null'
                        runId:
                          anyOf:
                            - type: string
                              format: uuid
                            - type: 'null'
                        status:
                          type: string
                          enum:
                            - queued
                            - running
                            - succeeded
                            - failed
                            - skipped
                        triggerSource:
                          type: string
                          enum:
                            - schedule
                            - webhook
                            - manual
                        error:
                          anyOf:
                            - type: string
                              maxLength: 4000
                            - type: 'null'
                        startedAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        finishedAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        createdAt:
                          type: string
                          format: date-time
                      required:
                        - id
                        - routineId
                        - botId
                        - conversationId
                        - runId
                        - status
                        - triggerSource
                        - error
                        - startedAt
                        - finishedAt
                        - createdAt
                      additionalProperties: false
                  nextCursor:
                    anyOf:
                      - type: string
                        minLength: 1
                        maxLength: 512
                      - type: 'null'
                required:
                  - items
                  - nextCursor
                additionalProperties: false
        4XX:
          description: Error. A problem object with a status and a message.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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