Pi Durable Platformdocs
ReferenceAgents, threads and templates

Stop the agent's runtime now; the next request wakes it

POST
/v1/agents/{agentId}/hibernate

Path Parameters

agentId*string
Formatuuid

Response Body

Hibernated

application/json
  1. response
data*
curl -X POST 'https://agents.example.com/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/hibernate'
{  "data": {    "ok": true  }}