Agents

Change an agent's plan.

Call to move the pod to a different tier; it rebuilds with data migrated. Poll GET /agents/{id} until status is "running" afterward.

post/agents/{id}/upgrade

Request

  • Base URL: https://agentspodium.com/api
  • URL: https://agentspodium.com/api/agents/{id}/upgrade
  • Auth: HTTP bearer

Path parameters

idstring required

Agent id (agt_…).

Request body

tier'tiny' | 'small' | 'medium' | 'large' required

Response

Upgraded — status is "provisioning" while the pod rebuilds.

Example response

{
  "agent": {
    "id": "agt_…",
    "app": {
      "repo": "https://github.com/owner/project",
      "buildCommand": "npm ci && npm run build",
      "outputDir": "dist",
      "startCommand": "node server.js",
      "rootDir": "app"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.