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

# Trigger Schedule Run

> Manually trigger a scheduled report for the current user.



## OpenAPI

````yaml https://analyst.heyhumm.ai/api/openapi.json post /reports/schedules/{schedule_id}/trigger
openapi: 3.1.0
info:
  title: Analyst API
  description: API for the Analyst service with proper organization-scoped permissions
  version: 1.0.0
servers:
  - url: https://analyst.heyhumm.ai
security: []
paths:
  /reports/schedules/{schedule_id}/trigger:
    post:
      tags:
        - reports
      summary: Trigger Schedule Run
      description: Manually trigger a scheduled report for the current user.
      operationId: trigger_schedule_run_reports_schedules__schedule_id__trigger_post
      parameters:
        - name: schedule_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: Schedule ID
            title: Schedule Id
          description: Schedule ID
        - name: organization_id
          in: query
          required: true
          schema:
            type: string
            title: Organization Id
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerRunResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TriggerRunResponse:
      properties:
        run:
          $ref: '#/components/schemas/CommandRunResponse'
        message:
          type: string
          title: Message
      type: object
      required:
        - run
        - message
      title: TriggerRunResponse
      description: Response for manual trigger endpoint.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CommandRunResponse:
      properties:
        schedule_id:
          type: string
          format: uuid
          title: Schedule Id
          description: ID of the schedule that triggered this run
        user_id:
          type: string
          format: uuid
          title: User Id
          description: ID of the user this run is for (subscriber)
        id:
          type: string
          format: uuid
          title: Id
        user_email:
          anyOf:
            - type: string
            - type: 'null'
          title: User Email
        status:
          $ref: '#/components/schemas/CommandRunStatus'
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        thread_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Thread Id
        summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Summary
        is_read:
          type: boolean
          title: Is Read
        read_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Read At
        is_source_run:
          type: boolean
          title: Is Source Run
          default: true
        source_run_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Source Run Id
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - schedule_id
        - user_id
        - id
        - user_email
        - status
        - started_at
        - completed_at
        - error_message
        - thread_id
        - summary
        - is_read
        - read_at
        - created_at
      title: CommandRunResponse
      description: Response model for command run.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    CommandRunStatus:
      type: string
      enum:
        - triggered
        - running
        - summarizing
        - completed
        - failed
      title: CommandRunStatus
      description: Status enum for command runs (matches ThreadStatus pattern).
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````