Agents

Pause an agent (stop billing its resources).

Call to stop a pod without losing its data; resume later with POST /agents/{id}/resume.

post/agents/{id}/pause

Request

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

Path parameters

idstring required

Agent id (agt_…).

Response

Paused — status is "stopped".

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.