Agents
Create a new agent (deploy a pod).
Call once to provision a pod. The call is synchronous and returns once the pod exists, typically within one to two minutes — the engine inside may need a few more seconds, which GET /agents/{id}/liveness tells you. Follow with PATCH /agents/{id}/llm-key: a fresh pod has no model key and answers nothing until one is set.
post/agents
Request
- Base URL: https://agentspodium.com/api
- URL: https://agentspodium.com/api/agents
- Auth: HTTP bearer
Request body
Example request
{
"app": {
"repo": "https://github.com/owner/project",
"buildCommand": "npm ci && npm run build",
"outputDir": "dist",
"startCommand": "node server.js",
"rootDir": "app"
}
}Response
Created — the pod exists and status is "running" (the engine inside may still be booting).
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.