{
  "info": {
    "_postman_id": "22e42acf-7308-456e-a7a2-2124a8208e1e",
    "name": "Plandex Server Accounts Models API",
    "description": "Management and orchestration REST API exposed by the Plandex server (open-source, Go) used by the Plandex CLI/REPL to drive long-running coding plans across organizations, projects, plans, branches, context, conversation, model packs, and configuration. The same API powered Plandex Cloud (winding down 2025-10-03) and now powers self-hosted / local-mode deployments via Docker. Default local-mode bind is http://localhost:8099.\n\nContact Support:\n Name: Plandex AI",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:37:36.000Z",
    "updatedAt": "2026-07-28T02:37:37.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-22e42acf-7308-456e-a7a2-2124a8208e1e"
  },
  "item": [
    {
      "name": "custom_models",
      "item": [
        {
          "name": "{modelId}",
          "item": [
            {
              "name": "Get Custom Model",
              "id": "d8cc0f6c-d06d-4dda-9aca-0b79daf13697",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/custom_models/:modelId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "custom_models",
                    ":modelId"
                  ],
                  "variable": [
                    {
                      "id": "b4ca5055-5cbb-477a-9101-66ccbc506f0d",
                      "key": "modelId",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Get a single user-defined custom model."
              },
              "response": [
                {
                  "id": "f05290c5-be4e-43aa-b9e9-9423c8207495",
                  "name": "Custom model.",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/custom_models/:modelId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "custom_models",
                        ":modelId"
                      ],
                      "variable": [
                        {
                          "key": "modelId"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:37:37.000Z",
                  "updatedAt": "2026-07-28T02:37:37.000Z",
                  "uid": "35240-f05290c5-be4e-43aa-b9e9-9423c8207495"
                }
              ],
              "createdAt": "2026-07-28T02:37:37.000Z",
              "updatedAt": "2026-07-28T02:37:37.000Z",
              "uid": "35240-d8cc0f6c-d06d-4dda-9aca-0b79daf13697"
            }
          ],
          "id": "1fb0846b-9c31-4a28-81c0-a57335915ada",
          "createdAt": "2026-07-28T02:37:37.000Z",
          "updatedAt": "2026-07-28T02:37:37.000Z",
          "uid": "35240-1fb0846b-9c31-4a28-81c0-a57335915ada"
        },
        {
          "name": "List Custom Models",
          "id": "3beb358e-6f28-4246-b54f-f5ae37395f37",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/custom_models",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "custom_models"
              ]
            },
            "description": "List user-defined custom models."
          },
          "response": [
            {
              "id": "970d5891-7834-4dff-ab52-1f068f68933c",
              "name": "Custom models.",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/custom_models",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "custom_models"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:37:37.000Z",
              "updatedAt": "2026-07-28T02:37:37.000Z",
              "uid": "35240-970d5891-7834-4dff-ab52-1f068f68933c"
            }
          ],
          "createdAt": "2026-07-28T02:37:37.000Z",
          "updatedAt": "2026-07-28T02:37:37.000Z",
          "uid": "35240-3beb358e-6f28-4246-b54f-f5ae37395f37"
        },
        {
          "name": "Upsert Custom Models",
          "id": "13502480-d3c0-404e-b57e-47e164933893",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/custom_models",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "custom_models"
              ]
            },
            "description": "Create or update one or more custom models."
          },
          "response": [
            {
              "id": "85eef72c-588d-4737-a6a4-e8a448b79441",
              "name": "Custom models upserted.",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/custom_models",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "custom_models"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:37:37.000Z",
              "updatedAt": "2026-07-28T02:37:37.000Z",
              "uid": "35240-85eef72c-588d-4737-a6a4-e8a448b79441"
            }
          ],
          "createdAt": "2026-07-28T02:37:37.000Z",
          "updatedAt": "2026-07-28T02:37:37.000Z",
          "uid": "35240-13502480-d3c0-404e-b57e-47e164933893"
        }
      ],
      "id": "94c867f3-f35c-430f-8953-86eea84233a8",
      "createdAt": "2026-07-28T02:37:37.000Z",
      "updatedAt": "2026-07-28T02:37:37.000Z",
      "uid": "35240-94c867f3-f35c-430f-8953-86eea84233a8"
    },
    {
      "name": "custom_providers",
      "item": [
        {
          "name": "{providerId}",
          "item": [
            {
              "name": "Get Custom Provider",
              "id": "103364c3-510a-4aad-9cc9-2e61d617ca03",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/custom_providers/:providerId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "custom_providers",
                    ":providerId"
                  ],
                  "variable": [
                    {
                      "id": "3a945387-0914-4f9a-86a2-d6aff1fecc30",
                      "key": "providerId",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Get a custom provider by ID."
              },
              "response": [
                {
                  "id": "1e2a7c9d-b2d0-435c-89b2-7ac20910ee2c",
                  "name": "Custom provider.",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/custom_providers/:providerId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "custom_providers",
                        ":providerId"
                      ],
                      "variable": [
                        {
                          "key": "providerId"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:37:37.000Z",
                  "updatedAt": "2026-07-28T02:37:37.000Z",
                  "uid": "35240-1e2a7c9d-b2d0-435c-89b2-7ac20910ee2c"
                }
              ],
              "createdAt": "2026-07-28T02:37:37.000Z",
              "updatedAt": "2026-07-28T02:37:37.000Z",
              "uid": "35240-103364c3-510a-4aad-9cc9-2e61d617ca03"
            }
          ],
          "id": "1d552b3d-5dd0-45d3-bdd7-a1d4348be432",
          "createdAt": "2026-07-28T02:37:37.000Z",
          "updatedAt": "2026-07-28T02:37:37.000Z",
          "uid": "35240-1d552b3d-5dd0-45d3-bdd7-a1d4348be432"
        },
        {
          "name": "List Custom Providers",
          "id": "38cba057-47c6-4c2c-ba5d-830e75e7af2e",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/custom_providers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "custom_providers"
              ]
            },
            "description": "List custom (OpenAI-compatible) model providers."
          },
          "response": [
            {
              "id": "e754acc9-c093-4be5-b391-5acd376cce54",
              "name": "Custom providers.",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/custom_providers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "custom_providers"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:37:37.000Z",
              "updatedAt": "2026-07-28T02:37:37.000Z",
              "uid": "35240-e754acc9-c093-4be5-b391-5acd376cce54"
            }
          ],
          "createdAt": "2026-07-28T02:37:37.000Z",
          "updatedAt": "2026-07-28T02:37:37.000Z",
          "uid": "35240-38cba057-47c6-4c2c-ba5d-830e75e7af2e"
        }
      ],
      "id": "c86532f7-9363-4f26-8ac3-0a14bb4ba6c1",
      "createdAt": "2026-07-28T02:37:37.000Z",
      "updatedAt": "2026-07-28T02:37:37.000Z",
      "uid": "35240-c86532f7-9363-4f26-8ac3-0a14bb4ba6c1"
    },
    {
      "name": "model_sets",
      "item": [
        {
          "name": "{setId}",
          "item": [
            {
              "name": "Update Model Pack",
              "id": "94dfeec3-5220-4eb9-b64c-f1abbdac56b6",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/model_sets/:setId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "model_sets",
                    ":setId"
                  ],
                  "variable": [
                    {
                      "id": "178c6be0-fd43-4246-8d1f-37effec1902b",
                      "key": "setId",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Update an existing model pack."
              },
              "response": [
                {
                  "id": "acb37c39-b317-4810-9764-3f1f300a1dcb",
                  "name": "Model pack updated.",
                  "originalRequest": {
                    "method": "PUT",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/model_sets/:setId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "model_sets",
                        ":setId"
                      ],
                      "variable": [
                        {
                          "key": "setId"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:37:37.000Z",
                  "updatedAt": "2026-07-28T02:37:37.000Z",
                  "uid": "35240-acb37c39-b317-4810-9764-3f1f300a1dcb"
                }
              ],
              "createdAt": "2026-07-28T02:37:37.000Z",
              "updatedAt": "2026-07-28T02:37:37.000Z",
              "uid": "35240-94dfeec3-5220-4eb9-b64c-f1abbdac56b6"
            }
          ],
          "id": "188667e7-5db3-4084-9a2f-7ca3b9c07012",
          "createdAt": "2026-07-28T02:37:37.000Z",
          "updatedAt": "2026-07-28T02:37:37.000Z",
          "uid": "35240-188667e7-5db3-4084-9a2f-7ca3b9c07012"
        },
        {
          "name": "List Model Packs",
          "id": "08979fd7-49f4-4b5e-bc1d-13a114d976cc",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/model_sets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "model_sets"
              ]
            },
            "description": "List available model packs (daily, strong, cheap, oss, planner-specific, custom)."
          },
          "response": [
            {
              "id": "78ecfd2e-e241-48e6-89ea-a4bbdf0316fe",
              "name": "Model packs.",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/model_sets",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "model_sets"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:37:37.000Z",
              "updatedAt": "2026-07-28T02:37:37.000Z",
              "uid": "35240-78ecfd2e-e241-48e6-89ea-a4bbdf0316fe"
            }
          ],
          "createdAt": "2026-07-28T02:37:37.000Z",
          "updatedAt": "2026-07-28T02:37:37.000Z",
          "uid": "35240-08979fd7-49f4-4b5e-bc1d-13a114d976cc"
        },
        {
          "name": "Create Model Pack",
          "id": "106aace1-b644-4b60-855d-ff382ca830c8",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/model_sets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "model_sets"
              ]
            },
            "description": "Create a new model pack composition."
          },
          "response": [
            {
              "id": "d04273cc-e3f1-4a7a-aab7-911f009d936b",
              "name": "Model pack created.",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/model_sets",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "model_sets"
                  ]
                }
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:37:37.000Z",
              "updatedAt": "2026-07-28T02:37:37.000Z",
              "uid": "35240-d04273cc-e3f1-4a7a-aab7-911f009d936b"
            }
          ],
          "createdAt": "2026-07-28T02:37:37.000Z",
          "updatedAt": "2026-07-28T02:37:37.000Z",
          "uid": "35240-106aace1-b644-4b60-855d-ff382ca830c8"
        }
      ],
      "id": "e68672ad-fb60-4547-961d-c7c7f9f15b83",
      "createdAt": "2026-07-28T02:37:37.000Z",
      "updatedAt": "2026-07-28T02:37:37.000Z",
      "uid": "35240-e68672ad-fb60-4547-961d-c7c7f9f15b83"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "http://localhost:8099"
    }
  ]
}