{
  "opencollection": "1.0.0",
  "info": {
    "name": "Plandex Server Accounts Execution API",
    "version": "2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Execution",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Plan Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/:planId/:branch/status",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get the execution status for the plan branch."
        },
        {
          "info": {
            "name": "Tell Plan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8099/plans/:planId/:branch/tell",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Send a prompt to the plan and stream the model response (streaming endpoint, analogous to `plandex tell`)."
        },
        {
          "info": {
            "name": "Build Plan",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/:branch/build",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Build pending changes from the conversation into file updates (streaming endpoint, analogous to `plandex build`)."
        },
        {
          "info": {
            "name": "Connect To Plan Stream",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/:branch/connect",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Connect (or reconnect) to the live stream of an in-progress plan run."
        },
        {
          "info": {
            "name": "Stop Plan",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:8099/plans/:planId/:branch/stop",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Stop an in-progress plan run."
        },
        {
          "info": {
            "name": "Respond Missing File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8099/plans/:planId/:branch/respond_missing_file",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Reply to a model request for a file the agent could not find."
        },
        {
          "info": {
            "name": "Auto Load Context",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8099/plans/:planId/:branch/auto_load_context",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Have the agent automatically load context based on the project map."
        },
        {
          "info": {
            "name": "Get Build Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/:planId/:branch/build_status",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get build status for the plan branch."
        }
      ]
    }
  ],
  "bundled": true
}