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

# List the workspace's options for a step's dropdown

> The values a dropdown the editor fills from the workspace offers (a Teams channel, a Gmail mailbox, an integration, a secret's name, a document tag, a lookup field, a warehouse column), with labels. Pass the settings it depends on in `settings`.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/automations/components/{component}/options/{setting}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/automations/components/{component}/options/{setting}:
    get:
      tags:
        - automations
      summary: List the workspace's options for a step's dropdown
      description: >-
        The values a dropdown the editor fills from the workspace offers (a
        Teams channel, a Gmail mailbox, an integration, a secret's name, a
        document tag, a lookup field, a warehouse column), with labels. Pass the
        settings it depends on in `settings`.
      operationId: automations_list_component_options
      parameters:
        - in: path
          name: component
          required: true
          schema:
            type: string
        - in: path
          name: setting
          required: true
          schema:
            type: string
        - description: >-
            The other settings the options depend on, as a JSON object, e.g.
            {"email_provider": "Gmail"} for a Gmail mailbox, or the source
            entity for a lookup field
          in: query
          name: settings
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
        - description: Only options whose value or label contains this (any case)
          in: query
          name: search
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
        - description: At most this many options
          in: query
          name: limit
          required: false
          schema:
            default: 100
            maximum: 500
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationOptionList'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    AutomationOptionList:
      properties:
        component:
          title: Component
          type: string
        options:
          items:
            $ref: '#/components/schemas/AutomationOption'
          title: Options
          type: array
        setting:
          title: Setting
          type: string
        total:
          description: >-
            How many options matched; more than listed means narrow it with
            `search`
          title: Total
          type: integer
      required:
        - component
        - setting
        - options
        - total
      title: AutomationOptionList
      type: object
    AutomationOption:
      properties:
        label:
          title: Label
          type: string
        value:
          title: Value
          type: string
      required:
        - value
        - label
      title: AutomationOption
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.