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

# List deployed triggers

> Retrieve all deployed triggers for a specific external user



## OpenAPI

````yaml get /v1/connect/{project_id}/deployed-triggers
openapi: 3.0.4
info:
  version: 2.0.0
  title: Pipedream REST API
servers:
  - url: https://api.pipedream.com
security: []
paths:
  /v1/connect/{project_id}/deployed-triggers:
    parameters:
      - name: project_id
        in: path
        required: true
        description: The project ID, which starts with `proj_`.
        schema:
          type: string
          pattern: ^proj_[a-zA-Z0-9]+$
        x-fern-sdk-variable: project_id
    get:
      summary: List deployed triggers
      description: Retrieve all deployed triggers for a specific external user
      operationId: listDeployedTriggers
      parameters:
        - name: x-pd-environment
          in: header
          required: true
          description: The environment in which the server client is running
          schema:
            $ref: '#/components/schemas/ProjectEnvironment'
        - name: after
          in: query
          required: false
          description: The cursor to start from for pagination
          schema:
            type: string
        - name: before
          in: query
          required: false
          description: The cursor to end before for pagination
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: The maximum number of results to return
          schema:
            type: integer
        - name: external_user_id
          in: query
          required: true
          description: Your end user ID, for whom you deployed the trigger
          schema:
            type: string
        - name: emitter_type
          in: query
          required: false
          description: >-
            Filter deployed triggers by emitter type (defaults to 'source' if
            not provided)
          schema:
            $ref: '#/components/schemas/EmitterType'
      responses:
        '200':
          description: deployed triggers listed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTriggersResponse'
        '429':
          description: too many requests
          headers:
            Retry-After:
              description: Number of seconds until the rate limit resets
              schema:
                type: integer
            X-RateLimit-Limit:
              schema:
                type: integer
              description: The rate limit threshold
            X-RateLimit-Remaining:
              schema:
                type: integer
              description: Number of requests remaining (always 0 when throttled)
            X-RateLimit-Reset:
              schema:
                type: integer
              description: Unix timestamp when the rate limit resets
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Throttled
      security:
        - ConnectToken: []
        - OAuth2: []
      x-codeSamples:
        - lang: java
          label: Java SDK
          source: >
            package com.example.usage;


            import com.pipedream.api.BaseClient;

            import
            com.pipedream.api.resources.deployedtriggers.requests.DeployedTriggersListRequest;

            import com.pipedream.api.types.EmitterType;


            public class Example {
              public static void main(String[] args) {
              BaseClient client = BaseClient.withCredentials("<clientId>", "<clientSecret>")
                .projectId("YOUR_PROJECT_ID")
                .build()
              ;

              client.deployedTriggers().list(
                DeployedTriggersListRequest
                .builder()
                .externalUserId("external_user_id")
                .after("after")
                .before("before")
                .limit(1)
                .emitterType(EmitterType.EMAIL)
                .build()
              );
              }
            }
        - lang: python
          label: Python SDK
          source: |
            from pipedream import Pipedream

            client = Pipedream(
              project_id="YOUR_PROJECT_ID",
              client_id="YOUR_CLIENT_ID",
              client_secret="YOUR_CLIENT_SECRET",
            )
            response = client.deployed_triggers.list(
              after="after",
              before="before",
              limit=1,
              external_user_id="external_user_id",
              emitter_type="email",
            )
            for item in response:
              yield item
            # alternatively, you can paginate page-by-page
            for page in response.iter_pages():
              yield page
        - lang: typescript
          label: TypeScript SDK
          source: |
            import { PipedreamClient } from "@pipedream/sdk";

            const client = new PipedreamClient({
              clientId: "YOUR_CLIENT_ID",
              clientSecret: "YOUR_CLIENT_SECRET",
              projectEnvironment: "YOUR_PROJECT_ENVIRONMENT",
              projectId: "YOUR_PROJECT_ID"
            });
            const pageableResponse = await client.deployedTriggers.list({
              after: "after",
              before: "before",
              limit: 1,
              externalUserId: "external_user_id",
              emitterType: "email"
            });
            for await (const item of pageableResponse) {
              console.log(item);
            }

            // Or you can manually iterate page-by-page
            let page = await client.deployedTriggers.list({
              after: "after",
              before: "before",
              limit: 1,
              externalUserId: "external_user_id",
              emitterType: "email"
            });
            while (page.hasNextPage()) {
              page = page.getNextPage();
            }

            // You can also access the underlying response
            const response = page.response;
components:
  schemas:
    ProjectEnvironment:
      type: string
      description: The environment in which the server client is running
      enum:
        - development
        - production
    EmitterType:
      type: string
      description: The type of the event emitting interface
      enum:
        - email
        - http
        - source
        - timer
    GetTriggersResponse:
      type: object
      description: Response received when listing deployed triggers
      required:
        - data
        - page_info
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Emitter'
        page_info:
          $ref: '#/components/schemas/PageInfo'
    Emitter:
      description: A component/interface that emits events
      anyOf:
        - $ref: '#/components/schemas/DeployedComponent'
        - $ref: '#/components/schemas/HttpInterface'
        - $ref: '#/components/schemas/TimerInterface'
      discriminator:
        propertyName: type
        mapping:
          DeployedComponent:
            $ref: '#/components/schemas/DeployedComponent'
          HttpInterface:
            $ref: '#/components/schemas/HttpInterface'
          TimerInterface:
            $ref: '#/components/schemas/TimerInterface'
    PageInfo:
      type: object
      properties:
        count:
          type: integer
          description: Number of items returned
          example: 10
        total_count:
          type: integer
          description: Total number of items
          example: 120
        start_cursor:
          type: string
          description: Used to fetch the previous page of items
          nullable: true
        end_cursor:
          type: string
          description: Used to fetch the next page of items
          nullable: true
    DeployedComponent:
      type: object
      description: A deployed component instance
      required:
        - id
        - created_at
        - updated_at
        - active
        - component_id
        - configurable_props
        - configured_props
        - name
        - name_slug
        - owner_id
        - type
      properties:
        id:
          type: string
          description: The unique ID of the deployed component
          pattern: ^dc_[a-zA-Z0-9]+$
        owner_id:
          type: string
          description: The ID of the owner
        component_id:
          type: string
          description: The ID of the component that was deployed
        component_key:
          type: string
          description: The component key (name) that was deployed
          nullable: true
        configurable_props:
          type: array
          items:
            $ref: '#/components/schemas/ConfigurableProp'
          description: The configurable properties of the component
        configured_props:
          $ref: '#/components/schemas/ConfiguredProps'
        active:
          type: boolean
          description: Whether the deployed component is active
        created_at:
          type: integer
          description: The timestamp when the component was deployed (epoch milliseconds)
        updated_at:
          type: integer
          description: >-
            The timestamp when the component was last updated (epoch
            milliseconds)
        name:
          type: string
          description: The name of the deployed component
        name_slug:
          type: string
          description: The name slug of the deployed component
        callback_observations:
          description: Callback observations for the deployed component
          nullable: true
        emit_on_deploy:
          type: boolean
          description: >-
            Whether the trigger emits events during the deploy hook execution.
            When false, the $emit function is disabled during deploy hook
            execution. Defaults to true.
          nullable: false
        type:
          type: string
          description: The discriminator field
          enum:
            - DeployedComponent
        webhook_signing_key:
          type: string
          description: >-
            The webhook signing key. Only returned for OAuth-authenticated
            requests when `webhook_url` is supplied.
          nullable: true
    HttpInterface:
      type: object
      description: An HTTP interface instance
      required:
        - id
        - created_at
        - updated_at
        - custom_response
        - endpoint_url
        - key
        - type
      properties:
        id:
          type: string
          description: The unique ID of the HTTP interface
          pattern: ^hi_[a-zA-Z0-9]+$
        key:
          type: string
        endpoint_url:
          type: string
        custom_response:
          type: boolean
        created_at:
          type: integer
          description: >-
            The timestamp when the HTTP interface was created (epoch
            milliseconds)
        updated_at:
          type: integer
          description: >-
            The timestamp when the HTTP interface was last updated (epoch
            milliseconds)
        type:
          type: string
          description: The discriminator field
          enum:
            - HttpInterface
    TimerInterface:
      type: object
      description: A timer interface instance
      required:
        - id
        - created_at
        - updated_at
        - schedule_changed_at
        - timezone
        - type
      properties:
        id:
          type: string
          description: The unique ID of the timer interface
          pattern: ^ti_[a-zA-Z0-9]+$
        interval_seconds:
          type: number
        cron:
          type: string
        timezone:
          type: string
        schedule_changed_at:
          type: integer
        created_at:
          type: integer
          description: >-
            The timestamp when the timer interface was created (epoch
            milliseconds)
        updated_at:
          type: integer
          description: >-
            The timestamp when the timer interface was last updated (epoch
            milliseconds)
        type:
          type: string
          description: The discriminator field
          enum:
            - TimerInterface
    ConfigurableProp:
      description: >-
        A configuration or input field for a component. This is a discriminated
        union based on the type field.
      oneOf:
        - $ref: '#/components/schemas/ConfigurablePropAlert'
        - $ref: '#/components/schemas/ConfigurablePropApp'
        - $ref: '#/components/schemas/ConfigurablePropBoolean'
        - $ref: '#/components/schemas/ConfigurablePropDataStore'
        - $ref: '#/components/schemas/ConfigurablePropDir'
        - $ref: '#/components/schemas/ConfigurablePropTimer'
        - $ref: '#/components/schemas/ConfigurablePropApphook'
        - $ref: '#/components/schemas/ConfigurablePropIntegerArray'
        - $ref: '#/components/schemas/ConfigurablePropHttp'
        - $ref: '#/components/schemas/ConfigurablePropHttpRequest'
        - $ref: '#/components/schemas/ConfigurablePropDb'
        - $ref: '#/components/schemas/ConfigurablePropSql'
        - $ref: '#/components/schemas/ConfigurablePropAirtableBaseId'
        - $ref: '#/components/schemas/ConfigurablePropAirtableTableId'
        - $ref: '#/components/schemas/ConfigurablePropAirtableViewId'
        - $ref: '#/components/schemas/ConfigurablePropAirtableFieldId'
        - $ref: '#/components/schemas/ConfigurablePropDiscordChannel'
        - $ref: '#/components/schemas/ConfigurablePropDiscordChannelArray'
        - $ref: '#/components/schemas/ConfigurablePropInteger'
        - $ref: '#/components/schemas/ConfigurablePropString'
        - $ref: '#/components/schemas/ConfigurablePropStringArray'
        - $ref: '#/components/schemas/ConfigurablePropObject'
        - $ref: '#/components/schemas/ConfigurablePropAny'
      discriminator:
        propertyName: type
        mapping:
          alert:
            $ref: '#/components/schemas/ConfigurablePropAlert'
          app:
            $ref: '#/components/schemas/ConfigurablePropApp'
          boolean:
            $ref: '#/components/schemas/ConfigurablePropBoolean'
          data_store:
            $ref: '#/components/schemas/ConfigurablePropDataStore'
          dir:
            $ref: '#/components/schemas/ConfigurablePropDir'
          $.interface.timer:
            $ref: '#/components/schemas/ConfigurablePropTimer'
          $.interface.apphook:
            $ref: '#/components/schemas/ConfigurablePropApphook'
          integer[]:
            $ref: '#/components/schemas/ConfigurablePropIntegerArray'
          $.interface.http:
            $ref: '#/components/schemas/ConfigurablePropHttp'
          http_request:
            $ref: '#/components/schemas/ConfigurablePropHttpRequest'
          $.service.db:
            $ref: '#/components/schemas/ConfigurablePropDb'
          sql:
            $ref: '#/components/schemas/ConfigurablePropSql'
          $.airtable.baseId:
            $ref: '#/components/schemas/ConfigurablePropAirtableBaseId'
          $.airtable.tableId:
            $ref: '#/components/schemas/ConfigurablePropAirtableTableId'
          $.airtable.viewId:
            $ref: '#/components/schemas/ConfigurablePropAirtableViewId'
          $.airtable.fieldId:
            $ref: '#/components/schemas/ConfigurablePropAirtableFieldId'
          $.discord.channel:
            $ref: '#/components/schemas/ConfigurablePropDiscordChannel'
          $.discord.channel[]:
            $ref: '#/components/schemas/ConfigurablePropDiscordChannelArray'
          integer:
            $ref: '#/components/schemas/ConfigurablePropInteger'
          string:
            $ref: '#/components/schemas/ConfigurablePropString'
          string[]:
            $ref: '#/components/schemas/ConfigurablePropStringArray'
          object:
            $ref: '#/components/schemas/ConfigurablePropObject'
          any:
            $ref: '#/components/schemas/ConfigurablePropAny'
    ConfiguredProps:
      type: object
      description: The configured properties of the component
      additionalProperties:
        $ref: '#/components/schemas/ConfiguredPropValue'
    ConfigurablePropAlert:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to configure an alert component
          required:
            - type
            - content
          properties:
            type:
              type: string
              enum:
                - alert
            alertType:
              $ref: '#/components/schemas/ConfigurablePropAlertType'
            content:
              type: string
              description: The content of the alert, which can include HTML or plain text.
    ConfigurablePropApp:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to configure an account for a specific app
          required:
            - type
            - app
          properties:
            type:
              type: string
              enum:
                - app
            app:
              type: string
              description: >-
                The name slug of the app, used to identify the app for which the
                account is being configured.
              example: github
    ConfigurablePropBoolean:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop can accept a boolean value.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - boolean
            default:
              $ref: '#/components/schemas/ConfiguredPropValueBoolean'
            options:
              type: array
              items:
                anyOf:
                  - $ref: '#/components/schemas/PropOption'
                  - $ref: '#/components/schemas/PropOptionNested'
                  - $ref: '#/components/schemas/PropOptionValue'
    ConfigurablePropDataStore:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to configure a data store for key-value storage.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - data_store
    ConfigurablePropDir:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to indicate how a component may access File Stash
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - dir
            accessMode:
              $ref: '#/components/schemas/ConfigurablePropDirAccessMode'
            sync:
              type: boolean
              description: >-
                If true, the component's /tmp directory is synchronized with
                File Stash
    ConfigurablePropTimer:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to configure a timer interface.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - $.interface.timer
            static:
              $ref: '#/components/schemas/ConfigurablePropTimerStatic'
            default:
              $ref: '#/components/schemas/ConfigurablePropTimerDefault'
            options:
              type: array
              nullable: true
              description: Available timer configuration options
              items:
                $ref: '#/components/schemas/ConfigurablePropTimerOption'
    ConfigurablePropApphook:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to configure an app webhook interface.
          required:
            - type
            - appProp
          properties:
            type:
              type: string
              enum:
                - $.interface.apphook
            appProp:
              type: string
              description: The name of the app prop that this apphook depends on
            eventNames:
              type: array
              items:
                type: string
              description: List of event names to listen for
              nullable: true
            remote:
              type: boolean
              description: Whether this apphook is remote
              nullable: true
            static:
              type: array
              items: {}
              description: Static configuration for the apphook
              nullable: true
    ConfigurablePropIntegerArray:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop can accept an array of integers.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - integer[]
            min:
              type: integer
              description: The minimum value for integers in this array
              nullable: true
            max:
              type: integer
              description: The maximum value for integers in this array
              nullable: true
            default:
              type: array
              items:
                $ref: '#/components/schemas/ConfiguredPropValueInteger'
              description: Default array of integers
              nullable: true
            options:
              type: array
              items:
                anyOf:
                  - $ref: '#/components/schemas/PropOption'
                  - $ref: '#/components/schemas/PropOptionNested'
                  - $ref: '#/components/schemas/PropOptionValue'
              description: Available options for the integer array
              nullable: true
    ConfigurablePropHttp:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to configure an HTTP interface.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - $.interface.http
            customResponse:
              type: boolean
              description: Whether this HTTP interface allows custom responses
              nullable: true
    ConfigurablePropHttpRequest:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: >-
            This prop is used to configure an HTTP request with URL, method,
            headers, params, body, and authentication.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - http_request
            default:
              $ref: '#/components/schemas/HttpRequestConfig'
    ConfigurablePropDb:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to configure a database service.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - $.service.db
    ConfigurablePropSql:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to configure SQL queries.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - sql
            auth:
              $ref: '#/components/schemas/ConfigurablePropSqlAuth'
            default:
              $ref: '#/components/schemas/ConfiguredPropValueSql'
            options:
              type: array
              items:
                anyOf:
                  - $ref: '#/components/schemas/PropOption'
                  - $ref: '#/components/schemas/PropOptionNested'
                  - $ref: '#/components/schemas/PropOptionValue'
    ConfigurablePropAirtableBaseId:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to select an Airtable base.
          required:
            - type
            - appProp
          properties:
            type:
              type: string
              enum:
                - $.airtable.baseId
            appProp:
              type: string
              description: The name of the app prop that provides Airtable authentication
    ConfigurablePropAirtableTableId:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to select an Airtable table.
          required:
            - type
            - baseIdProp
          properties:
            type:
              type: string
              enum:
                - $.airtable.tableId
            baseIdProp:
              type: string
              description: The name of the prop that provides the Airtable base ID
    ConfigurablePropAirtableViewId:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to select an Airtable view.
          required:
            - type
            - tableIdProp
          properties:
            type:
              type: string
              enum:
                - $.airtable.viewId
            tableIdProp:
              type: string
              description: The name of the prop that provides the Airtable table ID
    ConfigurablePropAirtableFieldId:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to select an Airtable field.
          required:
            - type
            - tableIdProp
          properties:
            type:
              type: string
              enum:
                - $.airtable.fieldId
            tableIdProp:
              type: string
              description: The name of the prop that provides the Airtable table ID
    ConfigurablePropDiscordChannel:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to select a Discord channel.
          required:
            - type
            - appProp
          properties:
            type:
              type: string
              enum:
                - $.discord.channel
            appProp:
              type: string
              description: The name of the app prop that provides Discord authentication
    ConfigurablePropDiscordChannelArray:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop is used to select multiple Discord channels.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - $.discord.channel[]
            appProp:
              type: string
              description: The name of the app prop that provides Discord authentication
    ConfigurablePropInteger:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop can accept an integer value.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - integer
            min:
              type: integer
              description: The minimum value for this integer prop.
              nullable: true
            max:
              type: integer
              description: The maximum value for this integer prop.
              nullable: true
            default:
              $ref: '#/components/schemas/ConfiguredPropValueInteger'
            options:
              type: array
              items:
                anyOf:
                  - $ref: '#/components/schemas/PropOption'
                  - $ref: '#/components/schemas/PropOptionNested'
                  - $ref: '#/components/schemas/PropOptionValue'
              description: Available integer options
              nullable: true
    ConfigurablePropString:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop can accept a string value.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - string
            secret:
              type: boolean
              description: >-
                If true, this prop is a secret and should not be displayed in
                plain text.
              nullable: true
            format:
              $ref: '#/components/schemas/ConfigurablePropStringFormat'
            default:
              $ref: '#/components/schemas/ConfiguredPropValueString'
            options:
              type: array
              items:
                anyOf:
                  - $ref: '#/components/schemas/PropOption'
                  - $ref: '#/components/schemas/PropOptionNested'
                  - $ref: '#/components/schemas/PropOptionValue'
    ConfigurablePropStringArray:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop can accept an array of strings.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - string[]
            secret:
              type: boolean
              description: >-
                If true, this prop is a secret and should not be displayed in
                plain text.
              nullable: true
            format:
              $ref: '#/components/schemas/ConfigurablePropStringFormat'
            default:
              type: array
              items:
                $ref: '#/components/schemas/ConfiguredPropValueString'
              description: The default value for this prop
              nullable: true
            options:
              type: array
              items:
                anyOf:
                  - $ref: '#/components/schemas/PropOption'
                  - $ref: '#/components/schemas/PropOptionNested'
                  - $ref: '#/components/schemas/PropOptionValue'
    ConfigurablePropObject:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop can accept a set of key-value pairs.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - object
            default:
              $ref: '#/components/schemas/ConfiguredPropValueObject'
            options:
              type: array
              items:
                anyOf:
                  - $ref: '#/components/schemas/PropOption'
                  - $ref: '#/components/schemas/PropOptionNested'
                  - $ref: '#/components/schemas/PropOptionValue'
    ConfigurablePropAny:
      allOf:
        - $ref: '#/components/schemas/ConfigurablePropBase'
        - type: object
          description: This prop can accept any value.
          required:
            - type
          properties:
            type:
              type: string
              enum:
                - any
            default:
              $ref: '#/components/schemas/ConfiguredPropValueAny'
            options:
              type: array
              items:
                anyOf:
                  - $ref: '#/components/schemas/PropOption'
                  - $ref: '#/components/schemas/PropOptionNested'
                  - $ref: '#/components/schemas/PropOptionValue'
    ConfiguredPropValue:
      nullable: false
      oneOf:
        - $ref: '#/components/schemas/ConfiguredPropValueApp'
        - $ref: '#/components/schemas/ConfiguredPropValueBoolean'
        - $ref: '#/components/schemas/ConfiguredPropValueInteger'
        - $ref: '#/components/schemas/ConfiguredPropValueSql'
        - $ref: '#/components/schemas/ConfiguredPropValueString'
        - $ref: '#/components/schemas/ConfiguredPropValueStringArray'
        - $ref: '#/components/schemas/ConfiguredPropValueObject'
        - $ref: '#/components/schemas/ConfiguredPropValueAny'
    ConfigurablePropBase:
      type: object
      description: A configuration or input field for a component.
      required:
        - name
        - type
      properties:
        name:
          type: string
          description: >-
            When building `configuredProps`, make sure to use this field as the
            key when setting the prop value
        type:
          type: string
          enum:
            - $.airtable.baseId
            - $.airtable.fieldId
            - $.airtable.tableId
            - $.airtable.viewId
            - $.discord.channel
            - $.discord.channel[]
            - $.interface.apphook
            - $.interface.http
            - $.interface.timer
            - $.service.db
            - alert
            - any
            - app
            - boolean
            - data_store
            - dir
            - http_request
            - integer
            - integer[]
            - object
            - sql
            - string
            - string[]
          x-fern-enum:
            $.discord.channel[]:
              name: DiscordChannelArray
            integer[]:
              name: IntegerArray
            string[]:
              name: StringArray
        label:
          type: string
          description: >-
            Value to use as an input label. In cases where `type` is "app",
            should load the app via `getApp`, etc. and show `app.name` instead.
          nullable: true
        description:
          type: string
          description: >-
            A description of the prop, shown to the user when configuring the
            component.
          nullable: true
        optional:
          type: boolean
          description: If true, this prop does not need to be specified.
          nullable: true
        disabled:
          type: boolean
          description: If true, this prop will be ignored.
          nullable: true
        readOnly:
          type: boolean
          description: >-
            If true, this prop is read-only — its value is either fixed by the
            component author (`static`) or the prop is purely informational
            (e.g. `alert`, `dir`). Connect clients should render it without
            treating it as a configurable input.
          nullable: true
        hidden:
          type: boolean
          description: If true, should not expose this prop to the user
          nullable: true
        remoteOptions:
          type: boolean
          description: >-
            If true, call `configureComponent` for this prop to load remote
            options. It is safe, and preferred, given a returned list of {
            label: string; value: any } objects to set the prop value to { __lv:
            { label: string; value: any } }. This way, on load, you can access
            label for the value without necessarily reloading these options
          nullable: true
        useQuery:
          type: boolean
          description: >-
            If true, calls to `configureComponent` for this prop support
            receiving a `query` parameter to filter remote options
          nullable: true
        reloadProps:
          type: boolean
          description: >-
            If true, after setting a value for this prop, a call to
            `reloadComponentProps` is required as the component has dynamic
            configurable props dependent on this one
          nullable: true
        withLabel:
          type: boolean
          description: >-
            If true, you must save the configured prop value as a "label-value"
            object which should look like: { __lv: { label: string; value: any }
            } because the execution needs to access the label
          nullable: true
    ConfigurablePropAlertType:
      type: string
      enum:
        - info
        - neutral
        - warning
        - error
      description: The severity level of the alert.
    ConfiguredPropValueBoolean:
      type: boolean
    PropOption:
      type: object
      description: A configuration option for a component's prop
      required:
        - label
        - value
      properties:
        label:
          type: string
          description: The human-readable label for the option
        value:
          $ref: '#/components/schemas/PropOptionValue'
    PropOptionNested:
      type: object
      description: A configuration option for a component's prop (nested under `__lv`)
      required:
        - __lv
      properties:
        __lv:
          $ref: '#/components/schemas/PropOption'
    PropOptionValue:
      description: The value of a prop option
      oneOf:
        - type: string
        - type: integer
        - type: boolean
      nullable: true
    ConfigurablePropDirAccessMode:
      type: string
      enum:
        - read
        - write
        - read-write
      x-fern-enum:
        read-write:
          name: ReadWrite
      description: The mode in which the component may access File Stash
    ConfigurablePropTimerStatic:
      nullable: true
      description: Static timer configuration
      oneOf:
        - $ref: '#/components/schemas/TimerInterval'
        - $ref: '#/components/schemas/TimerCron'
    ConfigurablePropTimerDefault:
      nullable: true
      description: Default timer configuration
      oneOf:
        - $ref: '#/components/schemas/TimerInterval'
        - $ref: '#/components/schemas/TimerCron'
    ConfigurablePropTimerOption:
      nullable: true
      description: Timer configuration options
      oneOf:
        - $ref: '#/components/schemas/TimerInterval'
        - $ref: '#/components/schemas/TimerCron'
    ConfiguredPropValueInteger:
      type: number
    HttpRequestConfig:
      type: object
      description: Configuration for an HTTP request prop
      nullable: true
      properties:
        auth:
          $ref: '#/components/schemas/HttpRequestAuth'
        body:
          $ref: '#/components/schemas/HttpRequestBody'
        headers:
          type: array
          items:
            $ref: '#/components/schemas/HttpRequestField'
          nullable: true
        params:
          type: array
          items:
            $ref: '#/components/schemas/HttpRequestField'
          nullable: true
        tab:
          type: string
          nullable: true
        method:
          type: string
          nullable: true
        url:
          type: string
          nullable: true
    ConfigurablePropSqlAuth:
      type: object
      properties:
        app:
          type: string
          description: The app that provides SQL authentication
      nullable: true
    ConfiguredPropValueSql:
      type: object
      required:
        - value
        - query
        - params
        - usePreparedStatements
      properties:
        value:
          type: string
          description: The raw SQL query, as provided by the user
        query:
          type: string
          description: The SQL query to execute
        params:
          type: array
          description: The list of parameters for the prepared statement
          items:
            type: string
        usePreparedStatements:
          type: boolean
          description: Whether to use prepared statements for the query or not
    ConfigurablePropStringFormat:
      type: string
      enum:
        - file-ref
      x-fern-enum:
        file-ref:
          name: FileRef
      description: >-
        The format of the string value. `file-ref` indicates a URL of a file or
        path to a file in the component's /tmp directory.
      nullable: true
    ConfiguredPropValueString:
      type: string
    ConfiguredPropValueObject:
      type: object
    ConfiguredPropValueAny:
      nullable: false
    ConfiguredPropValueApp:
      type: object
      required:
        - authProvisionId
      properties:
        authProvisionId:
          $ref: '#/components/schemas/AccountId'
    ConfiguredPropValueStringArray:
      type: array
      items:
        type: string
    TimerInterval:
      type: object
      description: Timer configuration using interval in seconds
      required:
        - intervalSeconds
      properties:
        intervalSeconds:
          type: integer
          description: Interval in seconds for timer execution
    TimerCron:
      type: object
      description: Timer configuration using cron expression
      required:
        - cron
      properties:
        cron:
          type: string
          description: Cron expression for timer execution
    HttpRequestAuth:
      type: object
      description: Authentication configuration for HTTP request
      nullable: true
      properties:
        type:
          type: string
          enum:
            - basic
            - bearer
            - none
          description: The authentication type
        username:
          type: string
          nullable: true
        password:
          type: string
          nullable: true
        token:
          type: string
          nullable: true
    HttpRequestBody:
      type: object
      description: Body configuration for HTTP request
      nullable: true
      properties:
        type:
          type: string
          enum:
            - fields
            - raw
          nullable: true
        contentType:
          type: string
          nullable: true
        fields:
          type: array
          items:
            $ref: '#/components/schemas/HttpRequestField'
          nullable: true
        mode:
          type: string
          enum:
            - fields
            - raw
          nullable: true
        raw:
          type: string
          nullable: true
    HttpRequestField:
      type: object
      description: A name-value field for HTTP request configuration
      required:
        - name
        - value
      properties:
        name:
          type: string
          description: The field name
        value:
          type: string
          description: The field value
    AccountId:
      type: string
      description: The unique ID of the account.
      pattern: ^apn_[a-zA-Z0-9]+$
  securitySchemes:
    ConnectToken:
      description: >-
        A short-lived Connect token for client-side requests on behalf of an end
        user. Generate one via the Create Connect token endpoint.
      type: http
      scheme: bearer
      bearerFormat: ^ctok_[0-9a-f]{32}$
    OAuth2:
      description: >-
        A short-lived OAuth access token for server-side requests. Generate one
        via the Generate OAuth Token flow or automatically when initializing the
        SDK client.
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.pipedream.com/v1/oauth/token
          scopes:
            '*': Full access to every OAuth-protected endpoint.
            connect:*: >-
              Full access to all Connect API endpoints (components, projects,
              triggers, accounts, etc.).
            connect:actions:*: Full access to Connect actions.
            connect:triggers:*: Full access to Connect triggers.
            connect:accounts:read: List and fetch Connect accounts for an external user.
            connect:accounts:write: Create or remove Connect accounts.
            connect:deployed_triggers:read: >-
              Read deployed triggers and related data like events, pipelines and
              webhooks.
            connect:deployed_triggers:write: Modify or delete deployed triggers.
            connect:users:read: List and fetch external users
            connect:users:write: Delete external users.
            connect:projects:read: List and fetch projects owned by the workspace.
            connect:projects:write: Create, update, or delete projects owned by the workspace.
            connect:usage:read: List Connect usage records for a time window.
            connect:tokens:create: Create Connect session tokens.
            connect:proxy: Invoke the Connect proxy.
            connect:workflow:invoke: Invoke Connect workflows on behalf of a user.

````