Falai/workflows
@webframp/falai/workflowsv2026.09.10.4
01README
fal.ai Workflows — workflow definitions
02Release Notes
2026.09.10.4
Fixed:
- Resource instance names for get/update methods with two or more path
parameters (e.g.
get_app_queue_info(owner, name),get_workflow(username, workflow_name)) were built by joining raw values with"_". Two distinct owner/name pairs that split differently around an underscore (e.g."john"/"doe_app"and"john_doe"/"app") produced the identical instance name and collided. Multi-param instance names are now derived from a hash of the JSON-encoded parameter tuple, which delimits each part unambiguously.
Upgrade note: No schema changes. All fixes are internal to method execution; existing stored resources are unaffected.
03Models
@webframp/falai/workflowsv2026.09.10.4falai/workflows.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiToken? | string | fal.ai API key; overrides the FAL_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
fn list_workflows(limit?: number, cursor?: string, search?: string, used_endpoint_ids?: union)
List user workflows
| Argument | Type | Description |
|---|---|---|
| limit? | number | Maximum number of items to return. Actual maximum depends on query type and expansion parameters. |
| cursor? | string | Pagination cursor from previous response. Encodes the page number. |
| search? | string | Search by workflow name or title |
| used_endpoint_ids? | union | Filter by model endpoint IDs used in the workflow. Can be a single value or comma-separated values. |
fn create_workflow(name: string, title: string, contents: object, is_public?: boolean)
Create a workflow
| Argument | Type | Description |
|---|---|---|
| name | string | Unique workflow name/slug within the user's namespace |
| title | string | Human-readable workflow title |
| contents | object | The workflow definition/configuration object |
| is_public? | boolean | Whether the workflow is publicly visible |
fn get_workflow(username: string, workflow_name: string)
Get workflow details
| Argument | Type | Description |
|---|---|---|
| username | string | The username of the workflow owner |
| workflow_name | string | The workflow name/slug |
Resources
workflows(infinite)— List user workflows
workflow(infinite)— Create a workflow
04Stats
A
100 / 100
Downloads
0
Archive size
15.4 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels