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

# Find Input References Endpoint

> Find all input references from a protocol.

This endpoint extracts all input references of the form input["name"]
from the provided protocol. The protocol can be provided as a dictionary
(JSON), YAML string, or Protocol object serialized as dict.

Parameters
----------
body : FindInputReferencesRequest
    Request containing the protocol to analyze

Returns
-------
list[str]
    List of input reference names found in the protocol

Raises
------
BadRequestError
    If protocol parsing fails or input references cannot be extracted



## OpenAPI

````yaml https://api.ionworks.com/openapi.json post /protocols/input_references
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /protocols/input_references:
    post:
      tags:
        - protocols
      summary: Find Input References Endpoint
      description: |-
        Find all input references from a protocol.

        This endpoint extracts all input references of the form input["name"]
        from the provided protocol. The protocol can be provided as a dictionary
        (JSON), YAML string, or Protocol object serialized as dict.

        Parameters
        ----------
        body : FindInputReferencesRequest
            Request containing the protocol to analyze

        Returns
        -------
        list[str]
            List of input reference names found in the protocol

        Raises
        ------
        BadRequestError
            If protocol parsing fails or input references cannot be extracted
      operationId: find_input_references_endpoint_protocols_input_references_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FindInputReferencesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: >-
                  Response Find Input References Endpoint Protocols Input
                  References Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FindInputReferencesRequest:
      properties:
        protocol:
          anyOf:
            - additionalProperties: true
              type: object
            - type: string
            - items: {}
              type: array
          title: Protocol
          description: >-
            Protocol as a dictionary (JSON), list, or string. Can be a protocol
            dict, list of steps, YAML string, or Protocol object serialized.
      type: object
      required:
        - protocol
      title: FindInputReferencesRequest
      description: Request body for finding input references in a protocol.
    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

````