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

# List actions for a flow

> Return the ordered list of actions attached to a flow, including any nested child actions. Returns 404 if the flow does not exist.



## OpenAPI

````yaml /api-reference/workflows/flows.yaml get /flows/{flowId}/actions
openapi: 3.1.0
info:
  title: Flows
  version: v1
servers:
  - description: Droidrun Cloud API
    url: https://api.mobilerun.ai/v1
security:
  - bearerAuth: []
paths:
  /flows/{flowId}/actions:
    get:
      tags:
        - Flows
      summary: List actions for a flow
      description: >-
        Return the ordered list of actions attached to a flow, including any
        nested child actions. Returns 404 if the flow does not exist.
      operationId: listFlowActions
      parameters:
        - in: path
          name: flowId
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    items:
                      $ref: '#/components/schemas/FlowAction'
                    type: array
                required:
                  - data
                type: object
          description: Flow actions
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowNotFoundError'
          description: Flow not found
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Mobilerun from '@mobilerun/sdk';


            const client = new Mobilerun({
              apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
            });


            const actions = await
            client.workflows.flows.actions.list('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');


            console.log(actions.data);
        - lang: Python
          source: |-
            import os
            from mobilerun_sdk import Mobilerun

            client = Mobilerun(
                api_key=os.environ.get("MOBILERUN_CLOUD_API_KEY"),  # This is the default and can be omitted
            )
            actions = client.workflows.flows.actions.list(
                "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            )
            print(actions.data)
components:
  schemas:
    FlowAction:
      properties:
        actionId:
          format: uuid
          type: string
        continueOnError:
          type: boolean
        createdAt:
          format: date-time
          type:
            - string
            - 'null'
        flowId:
          format: uuid
          type: string
        id:
          format: uuid
          type: string
        key:
          type: string
        nameOverride:
          type:
            - string
            - 'null'
        overrides:
          properties:
            params:
              additionalProperties: {}
              type: object
          type:
            - object
            - 'null'
        parentFlowActionId:
          format: uuid
          type:
            - string
            - 'null'
        position:
          type: integer
        recordingEnabled:
          description: >-
            Selected for per-step recording under the flow's "selected_steps"
            recording policy.
          type: boolean
      required:
        - id
        - flowId
        - actionId
        - parentFlowActionId
        - position
        - continueOnError
        - nameOverride
        - key
        - overrides
        - recordingEnabled
        - createdAt
      type: object
    FlowNotFoundError:
      properties:
        code:
          enum:
            - flow_not_found
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: Opaque
      description: Bearer token via Authorization header
      scheme: bearer
      type: http

````

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