Skip to main content
POST
/
v1
/
trpc
/
v2.workflows.*
tRPC v2 Workflows API
curl --request POST \
  --url 'https://api.glider.fi/v1/trpc/v2.workflows.*' \
  --header 'X-API-KEY: <api-key>'
The v2.workflows.* namespace is the staged workflow authoring surface for agentic workflow drafts.
  • Base endpoint: POST /v1/trpc
  • Namespace: v2.workflows.*
  • Auth: wallet session or API key
  • Rollout: gated behind the agentic_workflows_v1 feature flag

Enabled Procedure Groups

  • v2.workflows.list
  • v2.workflows.get
  • v2.workflows.drafts.*
    • list
    • start
    • startFromWorkflow
    • get
    • answer
    • cancel
  • v2.workflows.authoring.*
    • validate
    • preview

Not Yet Enabled

These procedure paths are mounted for forward compatibility but still return FORBIDDEN until the later activation slice lands:
  • drafts.commit
  • authoring.commit
  • create
  • update
  • pause
  • resume
  • runNow
  • archive
  • monitor.*
  • proposals.*
  • executions.*
  • ask
  • memorySearch

Rollout Notes

  • The route is exposed only when agentic_workflows_v1=true for the caller.
  • authored_agent_sdk still independently gates authored-source validation and preview flows.
  • bounded_multi_asset_buys still independently gates authored preview support for bounded multi-asset buy programs.

Draft Lifecycle

The current public lifecycle is intentionally non-activating:
  1. Start a draft from free text or from an existing workflow.
  2. Answer follow-up questions until the draft is coherent.
  3. Validate or preview authored modules if authored SDK access is enabled.
  4. Stop at ready_to_confirm; activation/commit happens in a later rollout.
This lets clients integrate the workflow authoring UX before commit/run behavior is enabled.