Agents
Rebuild the pod from its last backup.
Call when liveness shows reachable but not serving for more than a few minutes, or after status is "failed". Poll GET /agents/{id} until "running", then liveness.
post/agents/{id}/rebuild
Request
- Base URL: https://agentspodium.com/api
- URL: https://agentspodium.com/api/agents/{id}/rebuild
- Auth: HTTP bearer
Path parameters
idstring required
Agent id (agt_…).
Response
Rebuild started — status is "provisioning".
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.