Reference

Step Reference

Quick Answer

Use this reference for a compact cross-step view of Breyta step families and links to each detailed step schema.

Step Families At A Glance

Step typeCore fieldsNotes
:http:connection or :url, :path, :method, :query, :headers, :json, :body, :response-as, :client-opts, :persist, :retryLarge and binary bodies should use :persist.
:llm:connection, :model, :messages or :prompt, :template, :dataUse templates for long prompts.
:db:database, :connection, backend-specific fieldsSQL/BigQuery use :sql/:template + params; Firestore uses :collection/:where.
:wait:key, :notify, :timeoutSupports human/webhook resume patterns.
:function:code or :ref, :inputKeep reusable transforms in top-level :functions.
:notify:channels (:http), optional :template, :dataExternal delivery channels only.
:kv:operation, :key, operation-specific fields (:value, :ttl, :prefix)Useful for state handoff/cache patterns.
:sleepone of :seconds, :millis, or :durationDeterministic delay boundary.
:ssh:connection, :command, :env, :workdir, :timeoutRemote exec over SSH; for agents use :ssh kickoff + :wait callback.
:search:query, optional :targets, optional :limit, optional :hydrateWorkspace search across :resources, :flows, :runs, and :connections, with default resource content hydration for :resources hits.

Common Step Options

OptionMeaningTypical use
:titleReadable step labelImproves timeline readability.
:timeoutStep timeout secondsBound slow external operations.
:retryRetry policyHandle transient external failures.
:on-errorError policy (:fail, :skip, :checkpoint)Control failure handling behavior.
:persistStore outputs as refsKeep large outputs out of inline payloads.
:review / :confirmHuman checkpointsAdd explicit approval/verification points.

Detailed References

DocScope
REFERENCE_STEP_HTTP.mdHTTP request/response and persistence behavior
REFERENCE_STEP_LLM.mdLLM message/prompt and tool usage
REFERENCE_STEP_DB.mdShared DB step concepts and backend split
REFERENCE_STEP_DB_SQL.mdSQL backends (:postgres, :mysql, :clickhouse)
REFERENCE_STEP_DB_BIGQUERY.mdBigQuery-specific DB behavior
REFERENCE_STEP_DB_FIRESTORE.mdFirestore-specific DB behavior
REFERENCE_STEP_WAIT.mdWait/signal/timeout and approval flows
REFERENCE_STEP_FUNCTION.md:function step and deterministic transforms
REFERENCE_STEP_NOTIFY.mdNotification channel delivery
REFERENCE_STEP_KV.mdKV read/write/list operations
REFERENCE_STEP_SLEEP.mdSleep timing semantics
REFERENCE_STEP_SSH.mdRemote exec and agent kickoff patterns
REFERENCE_STEP_SEARCH.mdWorkspace search step behavior and limits
GUIDE_PERSISTED_RESULTS_AND_RESOURCES.mdWorking with persisted refs/resources

Related

As of Mar 6, 2026