naftiko: 1.0.0-alpha2 info: label: fal Serverless Platform API — Apps description: 'fal Serverless Platform API — Apps. 4 operations covering listing, inspecting, secret management, and file listing for custom GPU functions deployed with @fal.function / fal.App / BYO container.' tags: - Fal - Serverless - Apps - Platform created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: FAL_KEY: FAL_KEY capability: consumes: - type: http namespace: serverless-apps baseUri: https://rest.alpha.fal.ai description: fal Serverless Platform — Apps business capability. resources: - name: apps path: /serverless/apps operations: - name: listapps method: GET description: List all Serverless apps in the calling organization. outputRawFormat: json outputParameters: - name: result type: array value: $. - name: app path: /serverless/apps/{app_id} operations: - name: getapp method: GET description: Retrieve metadata, endpoint, and scaling parameters for a Serverless app. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: app_id in: path type: string required: true - name: secrets path: /serverless/secrets operations: - name: listsecrets method: GET description: List secret names available to Serverless apps. outputRawFormat: json outputParameters: - name: result type: array value: $. - name: setsecret method: POST description: Create or replace a named Serverless secret. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true authentication: type: apikey key: Authorization value: 'Key {{env.FAL_KEY}}' placement: header exposes: - type: rest namespace: serverless-apps-rest port: 8080 description: REST adapter for fal Serverless Platform — Apps. resources: - path: /v1/serverless/apps name: apps description: REST surface for listing apps. operations: - method: GET name: listapps description: List Serverless apps. call: serverless-apps.listapps outputParameters: - type: array mapping: $. - path: /v1/serverless/apps/{app_id} name: app description: REST surface for a single app. operations: - method: GET name: getapp description: Get Serverless app. call: serverless-apps.getapp with: app_id: rest.path.app_id outputParameters: - type: object mapping: $. - path: /v1/serverless/secrets name: secrets description: REST surface for secrets. operations: - method: GET name: listsecrets description: List Serverless secret names. call: serverless-apps.listsecrets outputParameters: - type: array mapping: $. - method: POST name: setsecret description: Set a Serverless secret. call: serverless-apps.setsecret with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: serverless-apps-mcp port: 9090 transport: http description: MCP adapter for fal Serverless Platform — Apps. tools: - name: fal-list-apps description: List all fal Serverless apps in the calling organization. hints: readOnly: true destructive: false idempotent: true call: serverless-apps.listapps outputParameters: - type: array mapping: $. - name: fal-get-app description: Get a fal Serverless app by id. hints: readOnly: true destructive: false idempotent: true call: serverless-apps.getapp with: app_id: tools.app_id outputParameters: - type: object mapping: $. - name: fal-list-secrets description: List fal Serverless secret names (values are never returned). hints: readOnly: true destructive: false idempotent: true call: serverless-apps.listsecrets outputParameters: - type: array mapping: $. - name: fal-set-secret description: Create or replace a fal Serverless secret. hints: readOnly: false destructive: false idempotent: true call: serverless-apps.setsecret with: body: tools.body outputParameters: - type: object mapping: $.