fal · Arazzo Workflow

fal Serverless App Files Inspection

Version 1.0.0

Confirm a Serverless app exists, then list files on its persistent /data volume.

1 workflow 1 source API 1 provider
View Spec View on GitHub AIArtificial IntelligenceGenerative AIGenerative MediaImage GenerationVideo GenerationAudio GenerationInferenceServerlessGPUMCPArazzoWorkflows

Provider

fal-ai

Workflows

serverless-app-files
Verify a Serverless app, then browse its persistent /data files.
Fetches a Serverless app by id to confirm it exists, then lists the files under a subdirectory of its persistent /data volume.
2 steps inputs: appId, path outputs: appId, endpoint, firstFilePath
1
getApp
getApp
Load the Serverless app's metadata to confirm it exists and capture its endpoint before inspecting its files.
2
listFiles
listFiles
List the files on the persistent /data volume under the supplied subdirectory path.

Source API Descriptions

Arazzo Workflow Specification

fal-ai-serverless-app-files-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: fal Serverless App Files Inspection
  summary: Confirm a Serverless app exists, then list files on its persistent /data volume.
  description: >-
    An operations pattern for inspecting persisted artifacts (model weights,
    caches, fine-tune outputs) produced by a fal Serverless app. The workflow
    first loads the app's metadata to confirm it exists and capture its
    endpoint, then lists files on the persistent /data volume under a supplied
    subdirectory. Every step spells out its request inline so the flow can be
    read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: falServerlessPlatformApi
  url: ../openapi/fal-serverless-platform-api-openapi.yml
  type: openapi
workflows:
- workflowId: serverless-app-files
  summary: Verify a Serverless app, then browse its persistent /data files.
  description: >-
    Fetches a Serverless app by id to confirm it exists, then lists the files
    under a subdirectory of its persistent /data volume.
  inputs:
    type: object
    required:
    - appId
    properties:
      appId:
        type: string
        description: Serverless app identifier (e.g. "my-org/my-flux-finetune").
      path:
        type: string
        description: Subdirectory under /data to list (optional).
  steps:
  - stepId: getApp
    description: >-
      Load the Serverless app's metadata to confirm it exists and capture its
      endpoint before inspecting its files.
    operationId: getApp
    parameters:
    - name: app_id
      in: path
      value: $inputs.appId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      appId: $response.body#/id
      endpoint: $response.body#/endpoint
  - stepId: listFiles
    description: >-
      List the files on the persistent /data volume under the supplied
      subdirectory path.
    operationId: listFiles
    parameters:
    - name: path
      in: query
      value: $inputs.path
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstFilePath: $response.body#/0/path
  outputs:
    appId: $steps.getApp.outputs.appId
    endpoint: $steps.getApp.outputs.endpoint
    firstFilePath: $steps.listFiles.outputs.firstFilePath