Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Derived read-only graph from validated Draft Plan

GET/v1/ai/agents/{agentID}/playbooks/{playbookID}/plan-graph
Authorization
sessionsessionrequired
Path parameters
agentIDstringrequired
playbookIDstringrequired
Responses
200OK
graphDerivedGraphrequired
Show properties
edgesDerivedEdge[] | nullrequired
Show properties
Array of DerivedEdge
idstringrequired
labelstring
sourcestringrequired
targetstringrequired
nodesDerivedNode[] | nullrequired
Show properties
Array of DerivedNode
dataobject
idstringrequired
kindstringrequired
labelstringrequired
source_node_idstring
identityArtifactIdentityrequired
Show properties
compiler_versionstringrequired
deployment_idstring
plan_hashstringrequired
plan_step_idstring
playbook_idstringrequired
playbook_release_idstring
playbook_version_idstring
source_hashstringrequired
source_node_idstring
planPlanrequired
Show properties
compiler_versionstringrequired
entry_step_idstringrequired
execution_modestringrequired
inputsobject[] | null
resource_grantsResourceGrant[] | nullrequired
Show properties
Array of ResourceGrant
kindstringrequired
labelstring
permissionstringrequired
resource_idstringrequired
schema_versioninteger<int64>required
settingsAuthoringSettingsrequired
Show properties
max_playbook_call_depthinteger<int64>required
max_retries_per_stepinteger<int64>required
max_stepsinteger<int64>required
source_hashstringrequired
stepsPlanStep[] | nullrequired
Show properties
Array of PlanStep
branchesobject
configobject
idstringrequired
kindstringrequired
nextstring
source_node_idstring
terminal_outcomesstring[] | nullrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X GET "/v1/ai/agents/string/playbooks/string/plan-graph"
Response
{
  "graph": {
    "edges": [
      {
        "id": "string",
        "label": "string",
        "source": "string",
        "target": "string"
      }
    ],
    "nodes": [
      {
        "data": {},
        "id": "string",
        "kind": "string",
        "label": "string",
        "source_node_id": "string"
      }
    ]
  },
  "identity": {
    "compiler_version": "string",
    "deployment_id": "string",
    "plan_hash": "string",
    "plan_step_id": "string",
    "playbook_id": "string",
    "playbook_release_id": "string",
    "playbook_version_id": "string",
    "source_hash": "string",
    "source_node_id": "string"
  },
  "plan": {
    "compiler_version": "string",
    "entry_step_id": "string",
    "execution_mode": "string",
    "inputs": [
      {}
    ],
    "resource_grants": [
      {
        "kind": "string",
        "label": "string",
        "permission": "string",
        "resource_id": "string"
      }
    ],
    "schema_version": 0,
    "settings": {
      "max_playbook_call_depth": 0,
      "max_retries_per_step": 0,
      "max_steps": 0
    },
    "source_hash": "string",
    "steps": [
      {
        "branches": {},
        "config": {},
        "id": "string",
        "kind": "string",
        "next": "string",
        "source_node_id": "string"
      }
    ],
    "terminal_outcomes": [
      "string"
    ]
  }
}