{
  "opencollection": "1.0.0",
  "info": {
    "name": "Plandex Server Accounts Plans API",
    "version": "2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Plans",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Plan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8099/projects/:projectId/plans",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a new plan inside the given project."
        },
        {
          "info": {
            "name": "Delete All Plans In Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:8099/projects/:projectId/plans",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Bulk delete all plans in the project."
        },
        {
          "info": {
            "name": "List Plans",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans"
          },
          "docs": "List active plans for the user."
        },
        {
          "info": {
            "name": "List Archived Plans",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/archive"
          },
          "docs": "List plans the user has archived."
        },
        {
          "info": {
            "name": "List Running Plans",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/ps"
          },
          "docs": "List plans currently executing (analogous to `plandex ps`)."
        },
        {
          "info": {
            "name": "Get Plan",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/:planId",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a single plan."
        },
        {
          "info": {
            "name": "Delete Plan",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:8099/plans/:planId",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a single plan and its history."
        },
        {
          "info": {
            "name": "Get Current Plan At Sha",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/:planId/current_plan/:sha",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "sha",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Snapshot of the current plan state at a specific version SHA."
        },
        {
          "info": {
            "name": "Get Current Plan On Branch",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/:planId/:branch/current_plan",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Snapshot of the current plan state on the specified branch."
        },
        {
          "info": {
            "name": "Archive Plan",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/archive",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Archive a plan."
        },
        {
          "info": {
            "name": "Unarchive Plan",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/unarchive",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Restore an archived plan."
        },
        {
          "info": {
            "name": "Rename Plan",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/rename",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Rename an existing plan."
        }
      ]
    }
  ],
  "bundled": true
}