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

# Get Scheduled Workflow by Run ID

> Retrieve data from a scheduled workflow execution.



## OpenAPI

````yaml GET /workflow/schedule/{workflow_run_id}
openapi: 3.0.1
info:
  title: Machina Sports SDK
  description: >-
    Machina Sports API for seamless AI integration in sports, offering real-time
    insights, personalized content, and fan sentiment analysis.
  version: '1.0'
  termsOfService: http://machina.gg/tos/
  contact:
    email: support@machina.gg
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://{api-address}.org.machina.gg
    description: Production server
    variables:
      api-address:
        default: https://api.machina.gg
        description: Your api-address
  - url: http://local.machina:5001
    description: Local development server
security:
  - ApiToken: []
paths:
  /workflow/schedule/{workflow_run_id}:
    get:
      tags:
        - workflows
      summary: Get Scheduled Workflow by Run ID
      description: Retrieve data from a scheduled workflow execution.
      operationId: getWorkflowScheduleByRunId
      parameters:
        - name: workflow_run_id
          in: path
          required: true
          description: Unique run ID of the scheduled workflow execution
          schema:
            type: string
      responses:
        '200':
          description: Workflow schedule details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      _id:
                        type: string
                        description: Unique identifier of the execution
                      workflow_id:
                        type: string
                        description: ID of the executed workflow
                      workflow_name:
                        type: string
                        description: Name of the executed workflow
                      status:
                        type: string
                        enum:
                          - executed
                          - failed
                          - skipped
                        description: Status of the execution
                      created:
                        type: string
                        description: Timestamp when the execution was created
                      executed:
                        type: string
                        description: Timestamp when the execution was completed
                      result:
                        type: object
                        description: The result of the workflow execution
                      input:
                        type: object
                        description: The input provided to the workflow
                  totals:
                    type: object
                    properties:
                      total_documents:
                        type: integer
                        description: Total number of matching execution records
                  status:
                    type: boolean
                    description: Operation status
        '401':
          description: Unauthorized
        '404':
          description: Workflow run not found
components:
  securitySchemes:
    ApiToken:
      type: apiKey
      name: x-api-token
      in: header
      description: API key authentication

````