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

# Export action (flat interface)



## OpenAPI

````yaml /api-reference/membrane-api.json get /actions/{selector}/export
openapi: 3.0.0
info:
  title: Membrane API
  description: API documentation for Membrane Engine
  version: '1.0'
  contact: {}
servers:
  - url: https://api.getmembrane.com
security:
  - bearer: []
tags: []
paths:
  /actions/{selector}/export:
    get:
      tags:
        - Actions
      summary: Export action (flat interface)
      operationId: exportAction
      parameters:
        - name: selector
          required: true
          in: path
          schema:
            type: string
        - name: layer
          in: query
          required: false
          schema:
            type: string
            enum:
              - universal
              - integration
              - connection
        - name: integrationKey
          in: query
          required: false
          schema:
            type: string
        - name: integrationId
          in: query
          required: false
          schema:
            type: string
        - name: connectionId
          in: query
          required: false
          schema:
            type: string
        - name: connectionKey
          in: query
          required: false
          schema:
            type: string
        - name: instanceKey
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionExportProperties'
components:
  schemas:
    ActionExportProperties:
      type: object
      properties:
        uuid:
          description: >-
            Stable unique identifier (UUID). Can be provided on create;
            otherwise generated. Must be unique across elements of this type.
          type: string
        key:
          description: >-
            Stable key for referencing the element (e.g. in selectors). Unique
            per (parent, integration) scope. Generated from name if not provided
            on create.
          type: string
        name:
          description: >-
            Display name. Optional on create; used to generate key when key is
            omitted.
          type: string
        description:
          description: Optional human-readable description.
          type: string
        meta:
          description: Optional key-value metadata.
          type: object
          additionalProperties:
            type: object
        integrationUuid:
          type: string
        parentUuid:
          type: string
        externalAppUuid:
          type: string
        isCustomized:
          type: boolean
        isUniversal:
          type: boolean
        instanceKey:
          description: >-
            Key for the connection-level instance when multiple exist per
            connection. Same semantics as base integration-level property.
          type: string
        inputSchema:
          $ref: '#/components/schemas/ActionExportProperties__schema0'
          description: >-
            JSON Schema for the action input. Used by the action engine for
            template output schema, run-time variables, and output mapping.
        type:
          description: >-
            Action type (e.g. HttpRequest, RunJavascript). Determines which
            handler runs and which config schema is used for validation.
          type: string
          enum:
            - api-request-to-external-app
            - api-request-to-your-app
            - http-request
            - run-javascript
            - api-request
        config:
          description: >-
            Type-specific configuration object. Validated by the handler's
            config schema; passed to handler setup/run and
            getTemplateOutputSchema.
          type: object
          properties: {}
          additionalProperties:
            type: object
        outputMapping:
          description: >-
            Mapping expression to transform the action's raw output. Evaluated
            with access to input, output, and user; used to compute transformed
            output schema and at run time.
        customOutputSchema:
          $ref: '#/components/schemas/ActionExportProperties__schema0'
          description: >-
            Explicit output schema for the action. Takes precedence over the
            transformed or default output schema when resolving outputSchema.
      required:
        - uuid
        - key
    ActionExportProperties__schema0:
      type: object
      properties:
        $ref: e0afb974-9374-4e7a-8ef9-b034b3adb7ce
        title:
          type: string
        description:
          type: string
        type:
          anyOf:
            - type: string
            - type: array
              items:
                type: string
        format:
          type: string
        properties:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ActionExportProperties__schema0'
        items:
          $ref: '#/components/schemas/ActionExportProperties__schema0'
        additionalProperties:
          anyOf:
            - type: boolean
            - $ref: '#/components/schemas/ActionExportProperties__schema0'
        enum:
          type: array
          items:
            anyOf:
              - type: string
              - type: number
        referenceRecords:
          type: array
          items:
            type: object
        referenceCollection:
          type: object
          properties:
            key:
              type: object
            parameters:
              type: object
              additionalProperties:
                type: object
        referenceDataTable:
          type: object
          properties:
            dataTableId:
              type: string
            value:
              type: string
            label:
              type: string
            filter:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  operator:
                    type: string
                    enum:
                      - is
                      - is_not
                      - is_one_of
                      - is_not_one_of
                      - is_true
                      - is_false
                      - contains
                      - does_not_contain
                      - array_includes
                      - array_does_not_include
                      - less_than
                      - less_than_or_equal
                      - more_than
                      - more_than_or_equal
                      - is_not_empty
                      - is_empty
                  value:
                    type: object
                required:
                  - field
                  - operator
          required:
            - dataTableId
        default:
          type: object
        allowCustom:
          type: boolean
        required:
          type: array
          items:
            type: string
        minLength:
          type: number
        maxLength:
          type: number
        minimum:
          type: number
        maximum:
          type: number
        maxItems:
          type: number
        readOnly:
          type: boolean
        writeOnly:
          type: boolean
        examples:
          type: array
          items:
            type: object
        anyOf:
          type: array
          items:
            $ref: '#/components/schemas/ActionExportProperties__schema0'
        isImplied:
          type: boolean
        isSensitive:
          type: boolean
        referenceCollectionPath:
          type: string
        referenceCollectionUri:
          type: string
      additionalProperties:
        type: object
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````