API access: search and call
Covers workflows, runs, the builder, components, branches and pull requests, error codes, vault entry summaries, workspace settings, and more. Browse the full hosted OpenAPI spec.
Find an operation
search finds operations from a task in plain words. Results include each operation’s name, description, arguments, and execution hints.
search
Call an operation
Use the operation name and arguments returned bysearch.
call: list workflows
call: rename a component
workflows.list:
Runs: run and observe
run takes a workflow_id, the workflow’s inputs and a workspace_id. It returns at once:
observe exactly as returned.
- Without
after,observereturns the run’s current state at once. - With
after, the value from the last result, it waits until the run changes, then says what changed. - If nothing changes before the wait ends, call
observeagain with the samehandleandafter. Repeating anobservecall is always safe.
Each
observe call waits at most as long as your client allows a silent tool call: about 50 seconds in Claude Code, 200 seconds in Claude, and 45 seconds in other clients. Pass timeout_seconds to wait less.
Building: build and observe
build sends one message to the Builder Agent, which works in a live browser and edits the workflow.
Starting a conversation opens a browser for the builder, which can take about a minute.
build returns the conversation_id, a handle and an after value. Follow the turn with observe.
A builder turn’s status is one of:
Once the builder has saved the workflow,
observe returns its workflow_id. Use it with run.
Answering questions
Use each field’sname from question.fields as the key in responses. The keys depend on the question; the field’s type determines the value.
For an error-code question with a field named
invoice_not_found, accept the builder’s suggestion:
build: accept a suggested error code
remove_confirmed when the builder asks you to confirm removing an error-code assignment.
For a question with fields named invoice_month and include_paid:
build: answer a question
responses to continue without submitting the form’s answers:
build: continue with a message
message or responses, not both. The builder may ask again if the missing answer is needed to continue.
Stopping and ending
- To stop a running turn,
callthe operationbuilder.interruptwith{ "conversationId": "<conversation_id>" }. The conversation stays open for another message. - When you’re done,
callbuilder.endthe same way. It closes the conversation and its browser. Keep theworkflow_idfirst:observedoes not return it after the conversation ends, and edits the builder has not saved are lost.
observe returns ended with a successor_conversation_id. Send the next message to that conversation.
