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

# Resume Execution

> Resumes an execution in one of two modes selected by the request body. If awakeable_id is set, the call resolves a human-in-the-loop approval and syncs the approvals row. Otherwise it clears an operator-requested pause. For approval resume, routing follows data.approved: the JSON boolean true approves, while false, missing, or non-boolean values (such as the string "true" or the number 1) reject. Extra data keys are merged into the approval node's output. Requires the same access as POST /approvals/{id}/resolve (owner, notified email, or shared execute access).



## OpenAPI

````yaml openapi/superflow.yaml POST /executions/{id}/resume
openapi: 3.0.3
info:
  title: Lyzr SuperFlow API
  version: '1.0'
  description: >-
    SuperFlow orchestration API covering workflow CRUD, the execution lifecycle
    (run, pause, resume, terminate, rerun), scheduling, and human-in-the-loop
    approvals. Chat-completions and agent CRUD endpoints are documented
    separately and are not part of this surface.
servers:
  - url: https://inference.studio.lyzr.ai/api
security:
  - ApiKeyAuth: []
tags:
  - name: workflows
    description: Create, read, update, delete, and share workflow definitions.
  - name: workflow-execution
    description: Run workflows and control the execution lifecycle.
  - name: workflow-schedules
    description: Cron-driven recurring triggers for stored workflows.
  - name: approvals
    description: Human-in-the-loop approval requests raised by running workflows.
paths:
  /executions/{id}/resume:
    post:
      tags:
        - workflow-execution
      summary: Resume a paused execution or HITL approval
      description: >-
        Resumes an execution in one of two modes selected by the request body.
        If awakeable_id is set, the call resolves a human-in-the-loop approval
        and syncs the approvals row. Otherwise it clears an operator-requested
        pause. For approval resume, routing follows data.approved: the JSON
        boolean true approves, while false, missing, or non-boolean values (such
        as the string "true" or the number 1) reject. Extra data keys are merged
        into the approval node's output. Requires the same access as POST
        /approvals/{id}/resolve (owner, notified email, or shared execute
        access).
      operationId: resumeExecution
      parameters:
        - name: id
          in: path
          required: true
          description: Execution ID
          schema:
            type: string
      requestBody:
        required: true
        description: Resume payload
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResumeRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Execution already terminal
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Workflow engine unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ResumeRequest:
      type: object
      properties:
        awakeable_id:
          type: string
          description: >-
            Selects HITL approval resume. Omit this field to clear an
            operator-requested pause instead.
        data:
          type: object
          description: >-
            Must contain "approved" (JSON boolean) for approval resume; only the
            JSON boolean true approves. Extra keys flow into the approval node's
            output.
          additionalProperties: {}
    MessageResponse:
      type: object
      properties:
        message:
          type: string
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Tenant API key. Required on every endpoint.

````