openapi: 3.1.0 info: description: Workflow management API for B3OS title: B3OS Workflow Action Logic Actions API version: '1.0' tags: - name: Logic Actions paths: /v1/logic-actions: get: description: List all available logic actions responses: '200': content: application/json: schema: $ref: '#/components/schemas/ListLogicActionsSuccessResponse' description: OK tags: - Logic Actions components: schemas: github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.ConnectorOutput: description: Auto-save result as connector properties: fieldMapping: additionalProperties: type: string description: resultField → connectorDataField type: object nameTemplate: description: Display name with {{field}} interpolation (uses result field names, i.e. left side of FieldMapping) type: string type: description: Connector type (e.g., "railgun") type: string type: object github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.ActionDefinition: properties: category: description: Action category (e.g., "Blockchain", "Social") type: string connector: $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.ConnectorRequirement' connectorOutput: $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.ConnectorOutput' createdBy: type: string description: type: string documentationUrl: type: string exampleInput: description: Example input for documentation exampleOutput: {} gasChainId: description: Chain ID where gas is needed type: integer logoUrl: type: string name: type: string payloadSchema: $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.OrderedSchema' prerequisites: description: Opaque pass-through from b3os-actions items: type: integer type: array uniqueItems: false requiredTokens: description: Opaque pass-through from b3os-actions items: type: integer type: array uniqueItems: false requiresGas: description: Whether action requires gas (blockchain transaction fees) type: boolean resultSchema: $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.OrderedSchema' tags: description: Tags for filtering items: type: string type: array uniqueItems: false test: $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.TestConfig' type: type: string type: object github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.OrderedSchema: description: Separate schema for wait-for-trigger config type: object github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.ConnectorRequirement: description: nil means no connector required properties: type: description: Required connector type (e.g., "slack") type: string type: object github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.TestConfig: description: nil means testable (default) properties: disabledReason: type: string enabled: type: boolean type: object ListLogicActionsSuccessResponse: properties: code: example: 0 type: integer data: items: $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.ActionDefinition' type: array uniqueItems: false message: example: successfully type: string requestId: example: abc-123 type: string type: object