Skip to main content
GET
/
workflows
/
{name}
Retrieve Workflow
curl --request GET \
  --url https://api.example.com/workflows/{name} \
  --header 'Authorization: Bearer <token>'
{
  "name": "Fix Build",
  "slug": "fix_build",
  "filename": "fix_build.fabro",
  "description": "Automatically diagnoses and fixes CI build failures.",
  "config": {
    "version": 1,
    "graph": "fix_build.fabro",
    "goal": "Diagnose and fix CI build failures",
    "directory": "<string>",
    "llm": {
      "model": "claude-sonnet",
      "provider": "anthropic",
      "fallbacks": {}
    },
    "setup": {
      "commands": [
        "<string>"
      ],
      "timeout_ms": 123
    },
    "sandbox": {
      "provider": "daytona",
      "preserve": true,
      "devcontainer": true,
      "daytona": {
        "auto_stop_interval": 123,
        "labels": {},
        "snapshot": {
          "name": "<string>",
          "cpu": 123,
          "memory": 123,
          "disk": 123,
          "dockerfile": "<string>"
        },
        "network": "block"
      },
      "exe": {
        "image": "<string>"
      },
      "ssh": {
        "destination": "<string>",
        "working_directory": "<string>",
        "config_file": "<string>"
      },
      "local": {
        "worktree_mode": "clean"
      },
      "env": {}
    },
    "vars": {},
    "hooks": [
      {
        "event": "run_start",
        "name": "<string>",
        "command": "<string>",
        "type": "command",
        "url": "<string>",
        "headers": {},
        "allowed_env_vars": [
          "<string>"
        ],
        "tls": "verify",
        "prompt": "<string>",
        "model": "<string>",
        "max_tool_rounds": 123,
        "matcher": "<string>",
        "blocking": true,
        "timeout_ms": 123,
        "sandbox": true
      }
    ]
  },
  "graph": "digraph fix_build { rankdir=LR; start -> diagnose -> fix -> validate }"
}

Authorizations

Authorization
string
header
required

JWT bearer token issued by fabro-web. See the Authentication guide for details.

Path Parameters

name
string
required

URL-safe slug identifying a workflow definition.

Response

Workflow detail

Full detail of a workflow definition including graph and configuration.

name
string
required

Human-readable workflow name.

Example:

"Fix Build"

slug
string
required

URL-safe slug used in API paths.

Example:

"fix_build"

filename
string
required

DOT graph filename.

Example:

"fix_build.fabro"

description
string
required

Prose description of what the workflow does.

Example:

"Automatically diagnoses and fixes CI build failures."

config
object
required

Structured run configuration mirroring WorkflowRunConfig.

graph
string
required

DOT language source defining the workflow graph.

Example:

"digraph fix_build { rankdir=LR; start -> diagnose -> fix -> validate }"