> ## 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.

# Get Approval

> Returns the full approval record, including input_data and form_schema. Visibility follows the same rules as the list endpoint: owner, notified email, or shared workflow read access.



## OpenAPI

````yaml openapi/superflow.yaml GET /approvals/{id}
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:
  /approvals/{id}:
    get:
      tags:
        - approvals
      summary: Get an approval
      description: >-
        Returns the full approval record, including input_data and form_schema.
        Visibility follows the same rules as the list endpoint: owner, notified
        email, or shared workflow read access.
      operationId: getApproval
      parameters:
        - name: id
          in: path
          required: true
          description: Approval ID
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Approval'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    Approval:
      type: object
      properties:
        id:
          type: string
        execution_id:
          type: string
        workflow_id:
          type: string
          description: Populated from the executions join and used by the access gate.
        workflow_name:
          type: string
          description: Populated from the executions join.
        node_name:
          type: string
        awakeable_id:
          type: string
        status:
          type: string
          description: One of pending, approved, or rejected.
          example: pending
        message:
          type: string
        input_data:
          type: object
          additionalProperties: {}
        form_schema:
          type: array
          items: {}
        notified_emails:
          type: array
          items:
            type: string
        resolve_data:
          type: object
          additionalProperties: {}
        created_at:
          type: string
        resolved_at:
          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.

````