latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-136188852.7 MB

9cd7291d4228

assistants

Replace or clear a revision's flow graph

Persist a graph edit, or clear it with compiled_graph: null.

put/v1/assistants/{agent_id}/revisions/{revision_id}/graph

Path parameters

agent_idstring uuid required
revision_idstring uuid required

Request body

compiled_graphobject nullable required
base_versioninteger nullable

Response

Successful Response

updatedboolean required
graph_versioninteger nullable
blocking_error_countinteger
workflow_enabledboolean required