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

# Get workflow block inputs

> Describe a block's configurable inputs — key, required, default, description, value shape, and how to resolve the value. `resolution.tools` lists the public tools/endpoints that can source an input's value; tools with no public equivalent are flagged.

    > **Required scope:** `WORKFLOWS_READ`
    >
    > **Rate limit:** 100 requests per minute



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/workflows/blocks/{blockId}
openapi: 3.1.0
info:
  title: Enginy API
  version: 1.0.0
  description: Public API for Enginy platform
servers:
  - url: https://openapi.enginy.ai
    description: Configured server
security: []
tags:
  - name: AI Variables
    description: >-
      Manage AI variables and discover the entity fields you can reference in
      prompts and entity requests.
  - name: Inbox
    description: >-
      Inbox endpoints for listing contact threads, reading thread messages,
      managing tags, and sending manual replies.
  - name: Workflows
    description: >-
      Build, validate, publish, run, and inspect advanced (graph) workflows,
      plus the block/condition catalog needed to author a workflow plan.
paths:
  /v1/workflows/blocks/{blockId}:
    get:
      tags:
        - Workflows
      summary: Get workflow block inputs
      description: >-
        Describe a block's configurable inputs — key, required, default,
        description, value shape, and how to resolve the value.
        `resolution.tools` lists the public tools/endpoints that can source an
        input's value; tools with no public equivalent are flagged.

            > **Required scope:** `WORKFLOWS_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: string
            description: Block id from get_workflow_blocks.
          required: true
          description: Block id from get_workflow_blocks.
          name: blockId
          in: path
      responses:
        '200':
          description: Block inputs retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      blockId:
                        type: string
                      name:
                        type: string
                      inputs:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                            required:
                              type: boolean
                            hasDefault:
                              type: boolean
                            defaultValue: {}
                            description:
                              type: string
                            valueShape:
                              type: string
                            resolution:
                              type: object
                              properties:
                                kind:
                                  type: string
                                instructions:
                                  type: string
                                options:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      value: {}
                                      label:
                                        type: string
                                    required:
                                      - label
                                tools:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      tool:
                                        type: string
                                      publicEquivalent:
                                        type: boolean
                                      note:
                                        type: string
                                    required:
                                      - tool
                                      - publicEquivalent
                              required:
                                - kind
                                - instructions
                                - tools
                          required:
                            - key
                            - required
                            - hasDefault
                            - description
                            - valueShape
                            - resolution
                    required:
                      - blockId
                      - name
                      - inputs
                required:
                  - status
                  - message
                  - data
        '403':
          description: >-
            Advanced workflows are not enabled for this workspace. Ask your
            workspace admin to enable the feature.
        '404':
          description: Unknown blockId. The response lists the valid block ids.
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````