get_flow - kubed-io/selenium-flow GitHub Wiki

flow://flows/{name}

One saved flow, with its steps.

MCP resource flow://flows/{name}
HTTP GET /flows/{name}

Falls back to the shared library when this workspace has no flow of that name.

Parameters

Name Type Required Default
name string yes —

Every call names its workspace: an X-Workspace header, or ?workspace=<name>. Sending both is refused. See Workspaces.

Returns

Field Type Notes
name string
workspace string The library it was read from.
shared boolean True when it came from the shared global library.
description string
parameters object JSON Schema for the values a run accepts.
timeout integer Seconds the whole run may take before no further step starts. Defaults to 120; a step already running is bounded by its own wait_timeout.
steps array

Errors

Status Means
400 The request cannot succeed as sent — an unusable name, a flow that does not exist, a document that would not run, or a write aimed at the read-only shared library. Do not retry it unchanged.
401 Missing or wrong bearer token.
500 Something failed that this server did not expect.

Over MCP the same failures arrive as a tool error.

Example

MCP

read flow://flows/my-flow

read_resource(uri="flow://flows/my-flow")

HTTP

curl -X GET $SELENIUM_FLOW/flows/my-flow \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Workspace: $WORKSPACE"

← All actions · Installing · Deployment

⚠️ **GitHub.com Fallback** ⚠️