Agents
Install, change, or clear the agent's model key.
Call right after creating an agent — without a key it accepts messages and answers nothing. Send key: null to clear it. This rebuilds the pod (about a minute); poll liveness again afterward.
patch/agents/{id}/llm-key
Request
- Base URL: https://agentspodium.com/api
- URL: https://agentspodium.com/api/agents/{id}/llm-key
- Auth: HTTP bearer
Path parameters
idstring required
Agent id (agt_…).
Request body
Response
Saved — 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.