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

# Resume a waiting_human workflow run (starter only)



## OpenAPI

````yaml post /api/workflows/{agent_name}/runs/{run_id}/resume
openapi: 3.1.0
info:
  title: Apigene
  description: Apigene API
  version: 1.0.0
  contact:
    name: Apigene Support
    url: https://app.apigene.ai
    email: support@apigene.ai
servers:
  - url: https://app.apigene.ai
security:
  - BearerAuth: []
paths:
  /api/workflows/{agent_name}/runs/{run_id}/resume:
    post:
      tags:
        - Workflows
      summary: Resume a waiting_human workflow run (starter only)
      operationId: workflow_run_resume
      parameters:
        - name: agent_name
          in: path
          required: true
          schema:
            type: string
            title: Agent Name
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowResumeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    WorkflowResumeRequest:
      properties:
        decision:
          type: string
          title: Decision
          description: approve or reject
        edits:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Edits
          description: Freeform fields merged onto the gate $json on approve only
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
          description: Optional reject reason stored on the gate output
        include_data:
          type: boolean
          title: Include Data
          description: >-
            If true, include full per-step traces. Default false returns compact
            status + result.
          default: false
      type: object
      required:
        - decision
      title: WorkflowResumeRequest
    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:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        'Authorization: Bearer {token}'

````